primary
protected boolean primary
Action, Action.HasPrimaryStateAbstractPresentationAction, AbstractPrintFormAction, BaseAction, InputDialogAction, PropertyFilterImpl.OperationChangeActionAction.ActionPerformedEvent, Action.AdjustWhenScreenReadOnly, Action.ExecutableAction, Action.HasPrimaryState, Action.HasSecurityConstraint, Action.HasTarget, Action.MainTabSheetAction, Action.ScreenOpeningAction, Action.SecuredAction, Action.Statusprotected Stringprotected Stringprotected booleanprotected EventHubprotected Stringprotected Stringprotected List<ActionOwner>protected booleanprotected KeyCombinationprotected booleanPROP_CAPTION, PROP_DESCRIPTION, PROP_ENABLED, PROP_ICON, PROP_SHORTCUT, PROP_VISIBLEprotected protected AbstractAction(String id) protected AbstractAction(String id,
Action.Status status) protected AbstractAction(String id,
String shortcut) voidaddOwner(ActionOwner actionOwner) voidaddPropertyChangeListener(Consumer<PropertyChangeEvent> listener) protected voidfirePropertyChange(String propertyName,
Object oldValue,
Object newValue) protected EventHubgetIcon()getId()getOwner()protected booleanhasSubscriptions(Class<?> eventClass) booleanbooleanbooleanvoidvoidremoveOwner(ActionOwner actionOwner) voidvoidsetCaption(String caption) voidsetDescription(String description) voidsetEnabled(boolean enabled) voidvoidsetPrimary(boolean primary) voidsetShortcut(String shortcut) voidsetShortcutCombination(KeyCombination shortcut) voidsetVisible(boolean visible) clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitactionPerformgetCaption in interface ActionsetCaption in interface ActiongetDescription in interface ActionsetDescription in interface ActiongetShortcutCombination in interface ActionsetShortcutCombination in interface ActionActionsetShortcut in interface Actionshortcut - string of type "Modifiers-Key", e.g. "Alt-N". Case-insensitive.setEnabled in interface ActionsetVisible in interface ActionActionActionremoveOwner in interface ActionactionOwner - owner componentActionaddPropertyChangeListener in interface Actionlistener - a listener objectActionremovePropertyChangeListener in interface Actionlistener - a listener objectActionFor example, this method is called by visual components holding actions when they are bound to data. At this moment the action can find out what entity it is connected to and change its state according to the user permissions.
refreshState in interface ActionisPrimary in interface Action.HasPrimaryStateAction.HasPrimaryStatesetPrimary in interface Action.HasPrimaryStateprimary - primary