java.lang.Object
javax.swing.AbstractAction
org.autogui.swing.util.SearchTextFieldFilePath.FileListAction
org.autogui.swing.util.SearchTextFieldFilePath.DesktopRevealAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action,PopupCategorized.CategorizedMenuItem,PopupCategorized.CategorizedMenuItemAction,PopupCategorized.CategorizedMenuItemComponent
- Direct Known Subclasses:
GuiSwingTableColumnFilePath.ColumnDesktopRevealAction
- Enclosing class:
SearchTextFieldFilePath
public static class SearchTextFieldFilePath.DesktopRevealAction
extends SearchTextFieldFilePath.FileListAction
implements PopupCategorized.CategorizedMenuItemAction
the action for showing files in Finder or Explorer
- See Also:
-
Field Summary
FieldsFields inherited from class org.autogui.swing.util.SearchTextFieldFilePath.FileListAction
componentFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocessCommand(Function<Path, List<String>> commandGenerator) voidMethods inherited from class org.autogui.swing.util.SearchTextFieldFilePath.FileListAction
actionPerformed, isEnabledMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, 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
getKeyStroke, getSubCategoryMethods 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
-
command
-
-
Constructor Details
-
DesktopRevealAction
-
-
Method Details
-
initCommand
public void initCommand() -
processCommand
-
run
- Specified by:
runin classSearchTextFieldFilePath.FileListAction
-
getCategory
- Specified by:
getCategoryin interfacePopupCategorized.CategorizedMenuItem- Specified by:
getCategoryin interfacePopupCategorized.CategorizedMenuItemComponent- Returns:
- a category name, typically PopupExtension.MENU_CATEGORY_... or PopupCategorized.CATEGORY_...
-