org.jppf.ui.options
Class FillerOption
java.lang.Object
org.jppf.ui.options.AbstractOptionProperties
org.jppf.ui.options.AbstractOptionElement
org.jppf.ui.options.AbstractOption
org.jppf.ui.options.FillerOption
- All Implemented Interfaces:
- Serializable, Option, OptionElement, OptionProperties
public class FillerOption
- extends AbstractOption
An option for boolean values, represented as a checkbox.
- Author:
- Laurent Cohen
- See Also:
- Serialized Form
| Fields inherited from class org.jppf.ui.options.AbstractOptionProperties |
bordered, componentConstraints, eventsEnabled, finalizer, iconPath, initializer, label, layoutConstraints, name, scripts, scrollable, toolTipText, UIComponent |
|
Constructor Summary |
FillerOption()
Constructor provided as a convenience to facilitate the creation of
option elements through reflexion. |
FillerOption(int width,
int height)
Initialize this boolean option with the specified parameters. |
|
Method Summary |
void |
createUI()
Create the UI components for this option. |
Object |
getValue()
Get the current value for this option. |
boolean |
isPersistent()
This method always returns false, since buttons have no value to persist. |
void |
setEnabled(boolean enabled)
Enable or disable this option. |
protected void |
setupValueChangeNotifications()
Propagate the state changes of the underlying checkbox to the listeners to this option. |
| Methods inherited from class org.jppf.ui.options.AbstractOptionElement |
findAll, findAllWithName, findElement, findFirstWithName, findLastWithName, getChildForName, getParent, getPath, getRoot, getStringPath, setParent, toString |
| Methods inherited from class org.jppf.ui.options.AbstractOptionProperties |
getComponentConstraints, getFinalizer, getIconPath, getInitializer, getLabel, getLayoutConstraints, getName, getScripts, getToolTipText, getUIComponent, isBordered, isEventsEnabled, isScrollable, setBordered, setComponentConstraints, setEditable, setEventsEnabled, setFinalizer, setIconPath, setInitializer, setLabel, setLayoutConstraints, setName, setScrollable, setToolTipText, setUIComponent |
| Methods inherited from interface org.jppf.ui.options.OptionProperties |
getComponentConstraints, getFinalizer, getIconPath, getInitializer, getLabel, getLayoutConstraints, getName, getScripts, getToolTipText, getUIComponent, isBordered, isEventsEnabled, isScrollable, setComponentConstraints, setEditable, setEventsEnabled, setLayoutConstraints |
FillerOption
public FillerOption()
- Constructor provided as a convenience to facilitate the creation of
option elements through reflexion.
FillerOption
public FillerOption(int width,
int height)
- Initialize this boolean option with the specified parameters.
- Parameters:
width - the filler's widthheight - the filler's height.
createUI
public void createUI()
- Create the UI components for this option.
- Specified by:
createUI in class AbstractOptionProperties
getValue
public Object getValue()
- Get the current value for this option.
- Specified by:
getValue in interface Option- Overrides:
getValue in class AbstractOption
- Returns:
- null.
- See Also:
AbstractOption.getValue()
setupValueChangeNotifications
protected void setupValueChangeNotifications()
- Propagate the state changes of the underlying checkbox to the listeners to this option.
- Specified by:
setupValueChangeNotifications in class AbstractOption
- See Also:
AbstractOption.setupValueChangeNotifications()
setEnabled
public void setEnabled(boolean enabled)
- Enable or disable this option.
- Parameters:
enabled - true to enable this option, false to disable it.- See Also:
OptionProperties.setEnabled(boolean)
isPersistent
public boolean isPersistent()
- This method always returns false, since buttons have no value to persist.
- Specified by:
isPersistent in interface Option- Overrides:
isPersistent in class AbstractOption
- Returns:
- false.
- See Also:
AbstractOption.isPersistent()
Copyright © 2005-2010 JPPF Team.