java.lang.Object
javax.swing.AbstractAction
org.autogui.swing.GuiSwingTaskRunner.ContextAction
org.autogui.swing.GuiSwingJsonTransfer.JsonCopyAction
org.autogui.swing.GuiSwingJsonTransfer.JsonSaveAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action,TableTargetColumnAction,PopupCategorized.CategorizedMenuItem,PopupCategorized.CategorizedMenuItemAction,PopupCategorized.CategorizedMenuItemComponent
- Direct Known Subclasses:
GuiSwingViewLabel.LabelJsonSaveAction
- Enclosing class:
GuiSwingJsonTransfer
public static class GuiSwingJsonTransfer.JsonSaveAction
extends GuiSwingJsonTransfer.JsonCopyAction
implements PopupCategorized.CategorizedMenuItemAction
an action for saving a JSON value to a file of the target component
- See Also:
-
Field Summary
Fields inherited from class org.autogui.swing.GuiSwingJsonTransfer.JsonCopyAction
componentFields inherited from class org.autogui.swing.GuiSwingTaskRunner.ContextAction
taskRunnerFields 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
ConstructorsConstructorDescriptionJsonSaveAction(GuiSwingView.ValuePane<?> component, GuiMappingContext context) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidMethods inherited from class org.autogui.swing.GuiSwingJsonTransfer.JsonCopyAction
toCopiedJsonMethods inherited from class org.autogui.swing.GuiSwingTaskRunner.ContextAction
executeContextTask, executeContextTask, getContextMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledMethods 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, isEnabled, putValue, removePropertyChangeListener, setEnabledMethods inherited from interface org.autogui.swing.util.PopupCategorized.CategorizedMenuItem
getKeyStrokeMethods inherited from interface org.autogui.swing.util.PopupCategorized.CategorizedMenuItemAction
getMenuItem, getMenuItemWithAction, remapMethods inherited from interface org.autogui.swing.util.PopupCategorized.CategorizedMenuItemComponent
getIcon, getNameMethods inherited from interface org.autogui.swing.table.TableTargetColumnAction
isEnabled
-
Constructor Details
-
JsonSaveAction
-
-
Method Details
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener- Overrides:
actionPerformedin classGuiSwingJsonTransfer.JsonCopyAction
-
actionPerformedOnTableColumn
public void actionPerformedOnTableColumn(ActionEvent e, GuiReprCollectionTable.TableTargetColumn target) - Specified by:
actionPerformedOnTableColumnin interfaceTableTargetColumnAction- Overrides:
actionPerformedOnTableColumnin classGuiSwingJsonTransfer.JsonCopyAction
-
getCategory
- Specified by:
getCategoryin interfacePopupCategorized.CategorizedMenuItem- Specified by:
getCategoryin interfacePopupCategorized.CategorizedMenuItemComponent- Overrides:
getCategoryin classGuiSwingJsonTransfer.JsonCopyAction- Returns:
- a category name, typically PopupExtension.MENU_CATEGORY_... or PopupCategorized.CATEGORY_...
-
getSubCategory
- Specified by:
getSubCategoryin interfacePopupCategorized.CategorizedMenuItem- Overrides:
getSubCategoryin classGuiSwingJsonTransfer.JsonCopyAction- Returns:
- a sub-category name, typically PopupExtension.MENU_SUB_CATEGORY_... PopupCategorized.SUB_CATEGORY_...
-