Package org.jppf.ui.options
Class TabbedPaneOption
java.lang.Object
org.jppf.ui.options.AbstractOptionProperties
org.jppf.ui.options.AbstractOptionElement
org.jppf.ui.options.AbstractOptionContainer
org.jppf.ui.options.TabbedPaneOption
- All Implemented Interfaces:
Serializable,OptionContainer,OptionElement,OptionProperties
This option class encapsulates a tabbed pane, as the one present in the Swing api.
- 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(OptionElement element) Add an element to this options page.voidadd(OptionElement element, int index) Add the specified component at the specified index.voidadd(OptionElement element, int index, Component tabComponent) Add the specified component at the specified index.voidadd(OptionElement element, Component tabComponent) Add the specified component at the specified index.voidcreateUI()Create the UI components for this option.getTabComponent(OptionElement element) Get the tab component for the specified option.voidremove(OptionElement element) Remove an element from this options page.Methods inherited from class org.jppf.ui.options.AbstractOptionContainer
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
-
TabbedPaneOption
public TabbedPaneOption()
-
-
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.
-
add
Add the specified component at the specified index.- Parameters:
element- the component to add.tabComponent- the component (normally label with icon + text) displayed in the tab list.
-
add
Add the specified component at the specified index.- Overrides:
addin classAbstractOptionContainer- Parameters:
element- the component to add.index- the index at which to add the component.
-
add
Add the specified component at the specified index.- Parameters:
element- the component to add.index- the index at which to add the component.tabComponent- the component (normally label with icon + text) displayed in the tab list.
-
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.
-
getTabComponent
Get the tab component for the specified option.- Parameters:
element- the option for which to get the tab component.- Returns:
- the tab component as a
Component.
-