|
|
||||||||||
| 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.treetable.AbstractTreeTableOption
public abstract class AbstractTreeTableOption
Abstract implementation of a tree table-based option.
| Field Summary | |
|---|---|
protected JTreeTableActionHandler |
actionHandler
Handles all actions in toolbars or popup menus. |
protected String |
BASE
Base name for localization bundle lookups. |
protected AbstractJPPFTreeTableModel |
model
The tree table model associated with the tree table. |
protected JPPFTreeTable |
treeTable
A tree table component displaying the driver and nodes information. |
protected DefaultMutableTreeNode |
treeTableRoot
The root of the tree model. |
| 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 | |
|---|---|
AbstractTreeTableOption()
|
|
| Method Summary | |
|---|---|
JTreeTableActionHandler |
getActionHandler()
Get the object that handles all actions in toolbars or popup menus. |
AbstractJPPFTreeTableModel |
getModel()
get the tree table model associated with the tree table. |
JPPFTreeTable |
getTreeTable()
Get the tree table component displaying the driver and nodes information. |
DefaultMutableTreeNode |
getTreeTableRoot()
Get the root of the tree model. |
protected String |
localize(String message)
Get a localized message given its unique name and the current locale. |
void |
saveTableColumnsWidth()
Set the columns width based on values stored as preferences. |
void |
setEnabled(boolean enabled)
Not implemented. |
void |
setEventsEnabled(boolean enabled)
Not implemented. |
void |
setupTableColumns()
Set the columns width based on values stored as preferences. |
protected void |
setupValueChangeNotifications()
Not implemented. |
| 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 |
|---|
createUI, getComponentConstraints, getFinalizer, getIconPath, getInitializer, getLabel, getLayoutConstraints, getName, getScripts, getToolTipText, getUIComponent, isBordered, isEventsEnabled, isScrollable, setBordered, setComponentConstraints, setEditable, 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, setLayoutConstraints |
| Field Detail |
|---|
protected String BASE
protected transient AbstractJPPFTreeTableModel model
protected DefaultMutableTreeNode treeTableRoot
protected JPPFTreeTable treeTable
protected JTreeTableActionHandler actionHandler
| Constructor Detail |
|---|
public AbstractTreeTableOption()
| Method Detail |
|---|
public JTreeTableActionHandler getActionHandler()
JTreeTableActionHandler instance.public JPPFTreeTable getTreeTable()
JPPFTreeTable instance.public void setEnabled(boolean enabled)
enabled - not used.OptionProperties.setEnabled(boolean)public void setEventsEnabled(boolean enabled)
setEventsEnabled in interface OptionPropertiessetEventsEnabled in class AbstractOptionPropertiesenabled - not used.OptionProperties.setEventsEnabled(boolean)protected void setupValueChangeNotifications()
setupValueChangeNotifications in class AbstractOptionAbstractOption.setupValueChangeNotifications()protected String localize(String message)
message - - the unique name of the localized message.
public void setupTableColumns()
public void saveTableColumnsWidth()
public DefaultMutableTreeNode getTreeTableRoot()
DefaultMutableTreeNode instance.public AbstractJPPFTreeTableModel getModel()
AbstractJPPFTreeTableModel instance.
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||