@ActionType(value="picker_lookup") public class LookupAction extends BaseAction implements PickerField.PickerFieldAction
BaseAction.EnabledRuleAction.ActionPerformedEvent, Action.BeforeActionPerformedHandler, Action.HasBeforeActionPerformedHandler, Action.HasOpenType, Action.HasSecurityConstraint, Action.HasTarget, Action.SecuredAction, Action.Status| Modifier and Type | Field and Description |
|---|---|
protected boolean |
editable |
protected Icons |
icons |
static java.lang.String |
ID |
protected PickerField |
pickerField |
protected ScreenBuilders |
screenBuilders |
caption, description, enabled, eventHub, icon, id, owners, primary, shortcut, visiblePROP_EDITABLEPROP_CAPTION, PROP_DESCRIPTION, PROP_ENABLED, PROP_ICON, PROP_SHORTCUT, PROP_VISIBLE| Constructor and Description |
|---|
LookupAction() |
LookupAction(java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerform(Component component)
Invoked by owning component when an action occurs.
|
void |
editableChanged(PickerField pickerField,
boolean editable) |
boolean |
isEditable() |
protected void |
setConfiguration(Configuration configuration) |
protected void |
setEditable(boolean editable) |
protected void |
setIcons(Icons icons) |
void |
setPickerField(PickerField pickerField) |
addActionPerformedListener, addEnabledRule, isApplicable, isEnabledByRule, isEnabledByUiPermissions, isPermitted, isVisibleByUiPermissions, refreshState, removeEnabledRule, setEnabled, setEnabledByUiPermissions, setEnabledInternal, setVisible, setVisibleByUiPermissions, setVisibleInternal, withCaption, withDescription, withHandler, withIcon, withPrimary, withShortcutaddOwner, addPropertyChangeListener, firePropertyChange, getCaption, getDefaultCaption, getDescription, getEventHub, getIcon, getId, getOwner, getOwners, getShortcutCombination, hasSubscriptions, isEnabled, isPrimary, isVisible, removeOwner, removePropertyChangeListener, setCaption, setDescription, setIcon, setIconFromSet, setPrimary, setShortcut, setShortcutCombinationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddOwner, addPropertyChangeListener, getCaption, getDescription, getIcon, getId, getOwner, getOwners, getShortcutCombination, isEnabled, isVisible, removeOwner, removePropertyChangeListener, setCaption, setDescription, setIcon, setIconFromSet, setShortcut, setShortcutCombinationpublic static final java.lang.String ID
protected PickerField pickerField
@Inject protected ScreenBuilders screenBuilders
protected Icons icons
protected boolean editable
public LookupAction()
public LookupAction(java.lang.String id)
public void setPickerField(PickerField pickerField)
setPickerField in interface PickerField.PickerFieldActionpublic void editableChanged(PickerField pickerField, boolean editable)
editableChanged in interface PickerField.PickerFieldActionpublic boolean isEditable()
isEditable in interface PickerField.PickerFieldActionprotected void setEditable(boolean editable)
@Inject protected void setIcons(Icons icons)
@Inject protected void setConfiguration(Configuration configuration)
public void actionPerform(Component component)
ActionactionPerform in interface ActionactionPerform in class BaseActioncomponent - invoking component