|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface OptionElement
Base interface for all UI components dynamically created from XML descriptors.
| Method Summary | |
|---|---|
List<OptionElement> |
findAllWithName(String name)
Find all the elements with the specified name in the subtree of which this element is the root. |
OptionElement |
findElement(String path)
Find the element with the specified path in the options tree. |
OptionElement |
findFirstWithName(String name)
Find the first element with the specified name in the subtree of which this element is the root. |
OptionElement |
findLastWithName(String name)
Find the last element with the specified name in the subtree of which this element is the root. |
OptionElement |
getParent()
Get the parent page for this options page. |
TreePath |
getPath()
Get the path of this element in the option tree. |
OptionElement |
getRoot()
Get the root of the option tree this option belongs to. |
String |
getStringPath()
Get the path of this element in the option tree, represented as a string. |
| Methods inherited from interface org.jppf.ui.options.OptionProperties |
|---|
getComponentConstraints, getFinalizer, getIconPath, getInitializer, getLabel, getLayoutConstraints, getName, getScripts, getToolTipText, getUIComponent, isBordered, isEventsEnabled, isScrollable, setComponentConstraints, setEditable, setEnabled, setEventsEnabled, setLayoutConstraints |
| Method Detail |
|---|
OptionElement getParent()
OptionsPage instance.OptionElement getRoot()
getRoot in interface OptionPropertiesOptionElement instance.TreePath getPath()
TreePath whose components are OptionElement instances.String getStringPath()
TreePath whose components are OptionElement instances.OptionElement findFirstWithName(String name)
name - the name of the element to find.
OptionElement instance, or null if no element
could be found with the specfied name.OptionElement findLastWithName(String name)
name - the name of the element to find.
OptionElement instance, or null if no element
could be found with the specfied name.List<OptionElement> findAllWithName(String name)
name - the name of the elements to find.
OptionElement instances, or null if no element
could be found with the specfied name.OptionElement findElement(String path)
path - the path of the element to find.
OptionElement instance, or null if no element could be found with
the specified path.
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||