public interface PickerField extends Field, Component.ActionsHolder, Component.Buffered, LookupComponent, Component.Focusable
Modifier and Type | Interface and Description |
---|---|
static class |
PickerField.ActionType
Enumerates standard picker action types.
|
static interface |
PickerField.AfterLookupCloseHandler |
static interface |
PickerField.AfterLookupSelectionHandler |
static class |
PickerField.ClearAction
Action to clear the PickerField content.
|
static interface |
PickerField.FieldListener |
static class |
PickerField.LookupAction
Action to select an entity instance through the entity lookup screen.
|
static class |
PickerField.OpenAction
Action to open an edit screen for entity instance which is currently set in the PickerField.
|
static class |
PickerField.StandardAction |
Field.Validator
Component.ActionOwner, Component.ActionsHolder, Component.Alignment, Component.BelongToFrame, Component.Buffered, Component.ChildEditableController, Component.Collapsable, Component.Container, Component.ContextHelpIconClickEvent, Component.Disposable, Component.Editable, Component.EditableChangeEvent, Component.EditableChangeListener, Component.EditableChangeNotifier, Component.ExpandedStateChangeEvent, Component.ExpandedStateChangeListener, Component.Focusable, Component.HasBorder, Component.HasButtonsPanel, Component.HasCaption, Component.HasContextHelp, Component.HasFormatter, Component.HasIcon, Component.HasInputPrompt, Component.HasNamedComponents, Component.HasOptionsStyleProvider, Component.HasPresentations, Component.HasRowsCount, Component.HasSettings, Component.HasValue, Component.HasXmlDescriptor, Component.LayoutClickEvent, Component.LayoutClickListener, Component.LayoutClickNotifier, Component.Margin, Component.MouseEventDetails, Component.OptionsStyleProvider, Component.OrderedContainer, Component.OuterMargin, Component.SecuredActionsHolder, Component.ShortcutAction, Component.ShortcutNotifier, Component.ShortcutTriggeredEvent, Component.Spacing, Component.UiPermissionAware, Component.Validatable, Component.ValueChangeEvent, Component.ValueChangeListener, Component.Wrapper
LookupComponent.LookupSelectionChangeEvent, LookupComponent.LookupSelectionChangeListener, LookupComponent.LookupSelectionChangeNotifier
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
AUTO_SIZE, AUTO_SIZE_PX, UNITS_PERCENTAGE, UNITS_PIXELS
Modifier and Type | Method and Description |
---|---|
PickerField.ClearAction |
addClearAction()
Adds ClearAction to the component.
|
void |
addFieldListener(PickerField.FieldListener listener) |
PickerField.LookupAction |
addLookupAction()
Adds LookupAction to the component.
|
PickerField.OpenAction |
addOpenAction()
Adds OpenAction to the component.
|
CaptionMode |
getCaptionMode() |
java.lang.String |
getCaptionProperty() |
default PickerField.ClearAction |
getClearAction() |
default PickerField.LookupAction |
getLookupAction() |
MetaClass |
getMetaClass() |
default PickerField.OpenAction |
getOpenAction() |
void |
setCaptionMode(CaptionMode captionMode) |
void |
setCaptionProperty(java.lang.String captionProperty) |
void |
setFieldEditable(boolean editable) |
void |
setMetaClass(MetaClass metaClass) |
addValidator, getRequiredMessage, getValidators, isRequired, removeValidator, setRequired, setRequiredMessage
getDatasource, getMetaProperty, getMetaPropertyPath, setDatasource
addListener, addValueChangeListener, getValue, removeListener, removeValueChangeListener, setValue
isEditable, isEditableWithParent, setEditable
getFrame, setFrame
addStyleName, getAlignment, getDebugId, getHeight, getHeightUnits, getId, getParent, getStyleName, getWidth, getWidthUnits, isEnabled, isEnabledItself, isResponsive, isVisible, isVisibleItself, removeStyleName, requestFocus, setAlignment, setDebugId, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition
getCaption, getDescription, setCaption, setDescription
isValid, isValidateOnCommit, validate
getIcon, setIcon, setIconFromSet
getContextHelpIconClickHandler, getContextHelpText, isContextHelpTextHtmlEnabled, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabled
addAction, addAction, getAction, getActionNN, getActions, removeAction, removeAction, removeAllActions
commit, discard, isBuffered, isModified, setBuffered
getLookupSelectedItems, setLookupSelectHandler
getTabIndex, isFocusable, setFocusable, setTabIndex
static final java.lang.String NAME
CaptionMode getCaptionMode()
void setCaptionMode(CaptionMode captionMode)
java.lang.String getCaptionProperty()
void setCaptionProperty(java.lang.String captionProperty)
MetaClass getMetaClass()
void setMetaClass(MetaClass metaClass)
PickerField.LookupAction addLookupAction()
default PickerField.LookupAction getLookupAction()
java.lang.IllegalArgumentException
- if the LookupAction does not exist in the componentPickerField.ClearAction addClearAction()
default PickerField.ClearAction getClearAction()
java.lang.IllegalArgumentException
- if the ClearAction does not exist in the componentPickerField.OpenAction addOpenAction()
default PickerField.OpenAction getOpenAction()
java.lang.IllegalArgumentException
- if the OpenAction does not exist in the componentvoid addFieldListener(PickerField.FieldListener listener)
void setFieldEditable(boolean editable)