@ActionType(value="picker_lookup") public class LookupAction extends BaseAction implements PickerField.PickerFieldAction
BaseAction.EnabledRule
Action.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, visible
PROP_EDITABLE
PROP_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, withShortcut
addOwner, addPropertyChangeListener, firePropertyChange, getCaption, getDefaultCaption, getDescription, getEventHub, getIcon, getId, getOwner, getOwners, getShortcutCombination, hasSubscriptions, isEnabled, isPrimary, isVisible, removeOwner, removePropertyChangeListener, setCaption, setDescription, setIcon, setIconFromSet, setPrimary, setShortcut, setShortcutCombination
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addOwner, addPropertyChangeListener, getCaption, getDescription, getIcon, getId, getOwner, getOwners, getShortcutCombination, isEnabled, isVisible, removeOwner, removePropertyChangeListener, setCaption, setDescription, setIcon, setIconFromSet, setShortcut, setShortcutCombination
public 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.PickerFieldAction
public void editableChanged(PickerField pickerField, boolean editable)
editableChanged
in interface PickerField.PickerFieldAction
public boolean isEditable()
isEditable
in interface PickerField.PickerFieldAction
protected void setEditable(boolean editable)
@Inject protected void setIcons(Icons icons)
@Inject protected void setConfiguration(Configuration configuration)
public void actionPerform(Component component)
Action
actionPerform
in interface Action
actionPerform
in class BaseAction
component
- invoking component