@ActionType(value="picker_clear") public class ClearAction extends BaseAction implements PickerField.PickerFieldAction, org.springframework.beans.factory.InitializingBean
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 Configuration |
configuration |
protected boolean |
editable |
protected Icons |
icons |
static java.lang.String |
ID |
protected Messages |
messages |
protected PickerField |
pickerField |
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 |
---|
ClearAction() |
ClearAction(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerform(Component component)
Invoked by owning component when an action occurs.
|
void |
afterPropertiesSet() |
void |
editableChanged(PickerField pickerField,
boolean editable) |
boolean |
isEditable() |
protected void |
setConfiguration(Configuration configuration) |
protected void |
setEditable(boolean editable) |
protected void |
setIcons(Icons icons) |
protected void |
setMessages(Messages messages) |
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
protected Icons icons
protected Messages messages
protected Configuration configuration
protected boolean editable
public ClearAction()
public ClearAction(java.lang.String id)
@Inject protected void setConfiguration(Configuration configuration)
@Inject protected void setMessages(Messages messages)
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
public void setPickerField(@Nullable 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)
public void actionPerform(Component component)
Action
actionPerform
in interface Action
actionPerform
in class BaseAction
component
- invoking component