java.lang.Object
javax.swing.AbstractAction
org.autogui.swing.GuiSwingTaskRunner.ContextAction
org.autogui.swing.GuiSwingJsonTransfer.JsonPasteCellsAction
org.autogui.swing.GuiSwingJsonTransfer.JsonLoadCellsAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action,TableTargetCellAction,PopupCategorized.CategorizedMenuItem,PopupCategorized.CategorizedMenuItemAction,PopupCategorized.CategorizedMenuItemComponent
- Enclosing class:
GuiSwingJsonTransfer
public static class GuiSwingJsonTransfer.JsonLoadCellsAction
extends GuiSwingJsonTransfer.JsonPasteCellsAction
an action for loading JSON values from a file for target table-rows or cells
- See Also:
-
Field Summary
FieldsFields inherited from class org.autogui.swing.GuiSwingJsonTransfer.JsonPasteCellsAction
activeComposite, rowsFields 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_ICONFields inherited from interface org.autogui.swing.table.TableTargetCellAction
MENU_CATEGORY_CELL, MENU_CATEGORY_ROW -
Constructor Summary
ConstructorsConstructorDescriptionJsonLoadCellsAction(GuiMappingContext contextOptional, List<GuiSwingJsonTransfer.TableMenuCompositeJsonPaste> activeComposite, boolean allCells, JComponent table) -
Method Summary
Methods inherited from class org.autogui.swing.GuiSwingJsonTransfer.JsonPasteCellsAction
actionPerformedOnTableCell, find, getCategory, getCellsForRowMethods inherited from class org.autogui.swing.GuiSwingTaskRunner.ContextAction
actionPerformed, 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 java.awt.event.ActionListener
actionPerformedMethods 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, getName
-
Field Details
-
table
-
-
Constructor Details
-
JsonLoadCellsAction
public JsonLoadCellsAction(GuiMappingContext contextOptional, List<GuiSwingJsonTransfer.TableMenuCompositeJsonPaste> activeComposite, boolean allCells, JComponent table)
-
-
Method Details
-
getJson
- Overrides:
getJsonin classGuiSwingJsonTransfer.JsonPasteCellsAction
-
getSubCategory
- Specified by:
getSubCategoryin interfacePopupCategorized.CategorizedMenuItem- Overrides:
getSubCategoryin classGuiSwingJsonTransfer.JsonPasteCellsAction- Returns:
- a sub-category name, typically PopupExtension.MENU_SUB_CATEGORY_... PopupCategorized.SUB_CATEGORY_...
-