Uses of Class
ca.corbett.extras.EnhancedAction
Packages that use EnhancedAction
Package
Description
Contains the ActionPanel component and supporting classes.
This package contains action classes related to swing-forms.
This package contains demo panels that showcase some of the features
of swing-forms and gives some examples of how to do stuff with it.
-
Uses of EnhancedAction in ca.corbett.extras
Methods in ca.corbett.extras that return EnhancedActionModifier and TypeMethodDescriptionEnhancedAction.setAcceleratorKey(KeyStroke key) Sets a new accelerator key for this action.EnhancedAction.setDescription(String description) Sets a new short description for this action.Sets a new icon for this action.Sets a new name for this action.EnhancedAction.setTooltip(String tooltip) Synonym for setDescription, for improved readability when setting tooltips. -
Uses of EnhancedAction in ca.corbett.extras.actionpanel
Subclasses of EnhancedAction in ca.corbett.extras.actionpanelModifier and TypeClassDescriptionclassAn action that flips to a specific card in a CardLayout when triggered.classAn abstract base class for actions that are intended to be added to a ToolBar.Methods in ca.corbett.extras.actionpanel that return EnhancedActionModifier and TypeMethodDescriptionToolBarNewItemSupplier.get(ActionPanel actionPanel, String groupName) Invoked when "add item" is clicked in an ActionPanel's ToolBar.Methods in ca.corbett.extras.actionpanel that return types with arguments of type EnhancedActionModifier and TypeMethodDescriptionActionPanel.getActionComparator()Returns the Comparator that is used to auto-sort the list of actions within each action group.ActionPanel.getActionsForGroup(String groupName) Returns all actions that belong to the specified group.Methods in ca.corbett.extras.actionpanel with parameters of type EnhancedActionModifier and TypeMethodDescriptionActionPanel.add(String groupName, EnhancedAction action) Adds a single action to the specified group.booleanActionPanel.hasAction(EnhancedAction action) Returns true if any action group contains the specified action.booleanActionPanel.hasAction(String groupName, EnhancedAction action) Returns true if the specified group contains the specified action.booleanActionPanel.isHighlightedAction(EnhancedAction action) Returns true if the given action is currently highlighted.ActionPanel.removeAction(EnhancedAction action) Removes all instances of the specified action from all action groups.ActionPanel.removeAction(String groupName, EnhancedAction action) Removes the specified action from the named action group.ActionPanel.setHighlightedAction(EnhancedAction action) Sets the specified action as the currently highlighted action.Method parameters in ca.corbett.extras.actionpanel with type arguments of type EnhancedActionModifier and TypeMethodDescriptionActionPanel.addAll(String groupName, List<EnhancedAction> actions) Adds multiple actions to the specified group.ActionPanel.setActionComparator(Comparator<EnhancedAction> comparator) Sets the comparator for sorting actions within action groups. -
Uses of EnhancedAction in ca.corbett.forms.actions
Subclasses of EnhancedAction in ca.corbett.forms.actionsModifier and TypeClassDescriptionclassAn EnhancedAction that can be used with any ListField to clear all items from the list.classAn EnhancedAction that can be used with any ListField to move the selected items up or down in the list.classAn EnhancedAction that can be used with any ListField to remove the selected items from the list.classAn EnhancedAction that can be used with any ListField to select all items in the list. -
Uses of EnhancedAction in ca.corbett.forms.demo
Subclasses of EnhancedAction in ca.corbett.forms.demoModifier and TypeClassDescriptionstatic classAdding a list item is one of the actions that we can't supply out-of-the-box, because we don't know what type of data the list holds or what the list represents.static classShows a quick help popup for the list item action buttons, which may not be self-explanatory to new users.