|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractList
|
+--java.util.Vector
|
+--y.option.OptionSection
This class represents a section within an OptionHandler.
It bundles a set of OptionItem objects.
An OptionSection is represented by a JTabbedPane within an OptionHandler editor.
| Field Summary |
| Fields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData |
| Fields inherited from class java.util.AbstractList |
modCount |
| Constructor Summary | |
OptionSection(String name)
Creates a new instance of OptionSection. |
|
| Method Summary | |
JComponent |
getEditor(int editorWidth)
Returns the editor component that provides editability of all option items within this section. |
JComponent |
getEditor(int editorWidth,
GuiFactory factory,
String handlerName)
Returns the editor component that provides editability of all option items within this section using the provided factory and handlername to construct internationalized panels |
String |
getName()
Returns the name of the section |
OptionItem |
item(int index)
Returns the OptionItem at position index within this section. |
int |
itemCount()
Returns the number of items within this section. |
| Methods inherited from class java.util.Vector |
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
| Methods inherited from class java.util.AbstractList |
iterator, listIterator, listIterator |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
iterator, listIterator, listIterator |
| Constructor Detail |
public OptionSection(String name)
name - te name of the section.| Method Detail |
public String getName()
public JComponent getEditor(int editorWidth)
public JComponent getEditor(int editorWidth,
GuiFactory factory,
String handlerName)
public int itemCount()
public OptionItem item(int index)
index within this section.
|
© Copyright 2000-2003, yWorks GmbH. All rights reserved. 2003 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||