Package org.jppf.ui.options
Class ToolbarOption
java.lang.Object
org.jppf.ui.options.AbstractOptionProperties
org.jppf.ui.options.AbstractOptionElement
org.jppf.ui.options.AbstractOptionContainer
org.jppf.ui.options.ToolbarOption
- All Implemented Interfaces:
Serializable,OptionContainer,OptionElement,OptionProperties
This option class encapsulates a JToolBar.
- Author:
- Laurent Cohen
- See Also:
-
Field Summary
Fields inherited from class org.jppf.ui.options.AbstractOptionContainer
childrenFields inherited from class org.jppf.ui.options.AbstractOptionElement
parent, rootFields inherited from class org.jppf.ui.options.AbstractOptionProperties
bordered, componentConstraints, detachable, eventsEnabled, finalizer, horizontalScrollbar, iconPath, initializer, label, layoutConstraints, mouseListener, name, scripts, scrollable, toolTipText, UIComponent, verticalScrollbar -
Constructor Summary
ConstructorsConstructorDescriptionInitialize the split pane with 2 fillers as left (or top) and right (or bottom) components. -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(OptionElement element) Add an element to this options page.voidcreateUI()Create the UI components for this option.voidremove(OptionElement element) Remove an element from this options page.Methods inherited from class org.jppf.ui.options.AbstractOptionContainer
add, getChildren, setEnabled, setEventsEnabledMethods inherited from class org.jppf.ui.options.AbstractOptionElement
findAll, findAllWithName, findElement, findFirstWithName, findLastWithName, getChildForName, getParent, getPath, getRoot, getStringPath, setParent, toStringMethods inherited from class org.jppf.ui.options.AbstractOptionProperties
createScrollPane, getComponentConstraints, getFinalizer, getIconPath, getInitializer, getLabel, getLayoutConstraints, getMouseListener, getName, getScripts, getToolTipText, getUIComponent, isBordered, isDetachable, isEventsEnabled, isHorizontalScrollbar, isScrollable, isVerticalScrollbar, setBordered, setComponentConstraints, setDetachable, setEditable, setFinalizer, setHorizontalScrollbar, setIconPath, setInitializer, setLabel, setLayoutConstraints, setMouseListener, setName, setScrollable, setToolTipText, setUIComponent, setVerticalScrollbarMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jppf.ui.options.OptionElement
findAllWithName, findElement, findFirstWithName, findLastWithName, getParent, getPath, getRoot, getStringPathMethods inherited from interface org.jppf.ui.options.OptionProperties
getComponentConstraints, getFinalizer, getIconPath, getInitializer, getLabel, getLayoutConstraints, getMouseListener, getName, getScripts, getToolTipText, getUIComponent, isBordered, isDetachable, isEventsEnabled, isScrollable, setComponentConstraints, setEditable, setLayoutConstraints, setMouseListener
-
Constructor Details
-
ToolbarOption
public ToolbarOption()Initialize the split pane with 2 fillers as left (or top) and right (or bottom) components.
-
-
Method Details
-
createUI
public void createUI()Description copied from class:AbstractOptionPropertiesCreate the UI components for this option.- Specified by:
createUIin classAbstractOptionProperties
-
add
Description copied from interface:OptionContainerAdd an element to this options page.- Specified by:
addin interfaceOptionContainer- Overrides:
addin classAbstractOptionContainer- Parameters:
element- the element to add.
-
remove
Description copied from interface:OptionContainerRemove an element from this options page.- Specified by:
removein interfaceOptionContainer- Overrides:
removein classAbstractOptionContainer- Parameters:
element- the element to remove.
-