Package org.jppf.ui.actions
Class JTreeTableActionHandler
java.lang.Object
org.jppf.ui.actions.AbstractActionHandler
org.jppf.ui.actions.JTreeTableActionHandler
- All Implemented Interfaces:
ActionHandler
Abstract implementation of the
ActionManager interface for JTreeTable components.- Author:
- Laurent Cohen
-
Field Summary
FieldsFields inherited from class org.jppf.ui.actions.AbstractActionHandler
actionMap, selectedElements -
Constructor Summary
ConstructorsConstructorDescriptionJTreeTableActionHandler(JTreeTable treeTable) Initialize this action manager with the specified JTreeTable component.JTreeTableActionHandler(JTreeTable treeTable, boolean useListener) Initialize this action manager with the specified JTreeTable component. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidCompute the list of elements selected in the component.Methods inherited from class org.jppf.ui.actions.AbstractActionHandler
getAction, getSelectedElements, putAction, updateActions
-
Field Details
-
treeTable
The JTreeTable whose actions are managed.
-
-
Constructor Details
-
JTreeTableActionHandler
Initialize this action manager with the specified JTreeTable component.- Parameters:
treeTable- the JTreeTable whose actions are managed.
-
JTreeTableActionHandler
Initialize this action manager with the specified JTreeTable component.- Parameters:
treeTable- the JTreeTable whose actions are managed.useListener- iftruethen register a selection listener on the tree table to handle action states updates.
-
-
Method Details
-
computeSelectedElements
protected void computeSelectedElements()Compute the list of elements selected in the component.
-