|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jppf.ui.options.AbstractOptionProperties
org.jppf.ui.options.AbstractOptionElement
org.jppf.ui.options.AbstractOption
org.jppf.ui.options.JavaOption
public class JavaOption
An option that displays a UI component created through a Java class.
| Nested Class Summary | |
|---|---|
static class |
JavaOption.JavaOptionMouseListener
Abstract superclass for mouse listeners set on this type of option. |
| Field Summary | |
|---|---|
protected String |
className
The fully qualified class name of the UI component to instantiate. |
protected String |
mouseListenerClassName
Name of the mouseListener to set on this element. |
| Fields inherited from class org.jppf.ui.options.AbstractOption |
|---|
listeners, persistent, value |
| Fields inherited from class org.jppf.ui.options.AbstractOptionElement |
|---|
parent, root |
| Fields inherited from class org.jppf.ui.options.AbstractOptionProperties |
|---|
bordered, componentConstraints, eventsEnabled, finalizer, iconPath, initializer, label, layoutConstraints, name, scripts, scrollable, toolTipText, UIComponent |
| Constructor Summary | |
|---|---|
JavaOption()
Constructor provided as a convenience to facilitate the creation of option elements through reflexion. |
|
| Method Summary | |
|---|---|
void |
createUI()
Create the UI components for this option. |
String |
getClassName()
Get the fully qualified class name of the UI component to instantiate. |
String |
getMouseListenerClassName()
Get the class name of the mouseListener to set on this element. |
void |
setClassName(String className)
Set the fully qualified class name of the UI component to instantiate. |
void |
setEnabled(boolean enabled)
Enable or disable this option. |
void |
setMouseListenerClassName(String mouseListenerClassName)
Set the class name of the mouseListener to set on this element. |
protected void |
setupValueChangeNotifications()
Propagate the state changes of the underlying component to the listeners to this component. |
| Methods inherited from class org.jppf.ui.options.AbstractOption |
|---|
addValueChangeListener, fireValueChanged, getValue, isPersistent, layoutComponents, layoutComponents, removeValueChangeListener, setPersistent, setValue |
| 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 class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jppf.ui.options.OptionElement |
|---|
findAllWithName, findElement, findFirstWithName, findLastWithName, getParent, getPath, getRoot, getStringPath |
| 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 |
| Field Detail |
|---|
protected String className
protected String mouseListenerClassName
| Constructor Detail |
|---|
public JavaOption()
| Method Detail |
|---|
public void createUI()
createUI in class AbstractOptionPropertiesprotected void setupValueChangeNotifications()
setupValueChangeNotifications in class AbstractOptionAbstractOption.setupValueChangeNotifications()public void setEnabled(boolean enabled)
enabled - true to enable this option, false to disable it.OptionProperties.setEnabled(boolean)public String getClassName()
public void setClassName(String className)
className - the clas name as a string.public String getMouseListenerClassName()
public void setMouseListenerClassName(String mouseListenerClassName)
mouseListenerClassName - the class name as a string.
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||