Module org.autogui
Package org.autogui.swing.table
Class ObjectTableColumnValue.TableTargetExecutionAction
java.lang.Object
javax.swing.AbstractAction
org.autogui.swing.table.ObjectTableColumnValue.ActionDelegate<TableTargetColumnAction>
org.autogui.swing.table.ObjectTableColumnValue.TableTargetExecutionAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action,PopupCategorized.CategorizedMenuItem,PopupCategorized.CategorizedMenuItemAction,PopupCategorized.CategorizedMenuItemComponent
- Enclosing class:
ObjectTableColumnValue
public static class ObjectTableColumnValue.TableTargetExecutionAction
extends ObjectTableColumnValue.ActionDelegate<TableTargetColumnAction>
implements PopupCategorized.CategorizedMenuItemAction
a wrapper class for
TableTargetColumnAction- See Also:
-
Field Summary
FieldsFields inherited from class org.autogui.swing.table.ObjectTableColumnValue.ActionDelegate
action, NULL, valuesFields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON -
Constructor Summary
ConstructorsConstructorDescriptionTableTargetExecutionAction(TableTargetColumnAction action, GuiReprCollectionTable.TableTargetColumn target) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanMethods inherited from class org.autogui.swing.table.ObjectTableColumnValue.ActionDelegate
getAction, getValue, putValue, setEnabledMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, removePropertyChangeListenerMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.swing.Action
accept, addPropertyChangeListener, getValue, putValue, removePropertyChangeListener, setEnabledMethods inherited from interface org.autogui.swing.util.PopupCategorized.CategorizedMenuItem
getKeyStrokeMethods inherited from interface org.autogui.swing.util.PopupCategorized.CategorizedMenuItemAction
getMenuItemWithAction, remapMethods inherited from interface org.autogui.swing.util.PopupCategorized.CategorizedMenuItemComponent
getIcon, getName
-
Field Details
-
target
-
-
Constructor Details
-
TableTargetExecutionAction
public TableTargetExecutionAction(TableTargetColumnAction action, GuiReprCollectionTable.TableTargetColumn target)
-
-
Method Details
-
getMenuItem
- Specified by:
getMenuItemin interfacePopupCategorized.CategorizedMenuItemAction- Specified by:
getMenuItemin interfacePopupCategorized.CategorizedMenuItemComponent
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceAction- Overrides:
isEnabledin classObjectTableColumnValue.ActionDelegate<TableTargetColumnAction>
-
getTarget
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener- Overrides:
actionPerformedin classObjectTableColumnValue.ActionDelegate<TableTargetColumnAction>
-
getCategory
- Specified by:
getCategoryin interfacePopupCategorized.CategorizedMenuItem- Specified by:
getCategoryin interfacePopupCategorized.CategorizedMenuItemComponent- Returns:
- a category name, typically PopupExtension.MENU_CATEGORY_... or PopupCategorized.CATEGORY_...
-
getSubCategory
- Specified by:
getSubCategoryin interfacePopupCategorized.CategorizedMenuItem- Returns:
- a sub-category name, typically PopupExtension.MENU_SUB_CATEGORY_... PopupCategorized.SUB_CATEGORY_...
-