java.lang.Object
javax.swing.AbstractAction
org.autogui.swing.util.PopupExtensionText.TextLoadAction
org.autogui.swing.util.PopupExtensionText.TextSaveAction
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
,PopupCategorized.CategorizedMenuItem
,PopupCategorized.CategorizedMenuItemAction
,PopupCategorized.CategorizedMenuItemComponent
- Direct Known Subclasses:
GuiSwingTableColumnString.ColumnLabelTextSaveAction
,GuiSwingViewBooleanCheckBox.BooleanTextSaveAction
,GuiSwingViewLabel.LabelTextSaveAction
- Enclosing class:
PopupExtensionText
public static class PopupExtensionText.TextSaveAction
extends PopupExtensionText.TextLoadAction
implements PopupCategorized.CategorizedMenuItemAction
a file saving action
- See Also:
-
Field Summary
Fields inherited from class org.autogui.swing.util.PopupExtensionText.TextLoadAction
field
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
Fields 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
Constructors -
Method Summary
Methods inherited from class org.autogui.swing.util.PopupExtensionText.TextLoadAction
getCategory, getComponent, isEnabled, load
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabled
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.swing.Action
accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
Methods inherited from interface org.autogui.swing.util.PopupCategorized.CategorizedMenuItem
getKeyStroke
Methods inherited from interface org.autogui.swing.util.PopupCategorized.CategorizedMenuItemAction
getMenuItem, getMenuItemWithAction, remap
Methods inherited from interface org.autogui.swing.util.PopupCategorized.CategorizedMenuItemComponent
getCategory, getIcon, getName
-
Constructor Details
-
TextSaveAction
-
-
Method Details
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
- Overrides:
actionPerformed
in classPopupExtensionText.TextLoadAction
-
getPath
-
save
-
saveLines
-
getSubCategory
- Specified by:
getSubCategory
in interfacePopupCategorized.CategorizedMenuItem
- Overrides:
getSubCategory
in classPopupExtensionText.TextLoadAction
- Returns:
- a sub-category name, typically PopupExtension.MENU_SUB_CATEGORY_... PopupCategorized.SUB_CATEGORY_...
-