Class SelectValueDialog<V>
java.lang.Object
io.jmix.ui.screen.Screen
io.jmix.ui.app.valuespicker.selectvalue.SelectValueDialog<V>
- All Implemented Interfaces:
SelectValueController<V>
,FrameOwner
@UiController("selectValueDialog")
@UiDescriptor("select-value-dialog.xml")
public class SelectValueDialog<V>
extends Screen
implements SelectValueController<V>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.screen.Screen
Screen.AfterCloseEvent, Screen.AfterDetachEvent, Screen.AfterInitEvent, Screen.AfterShowEvent, Screen.BeforeCloseEvent, Screen.BeforeShowEvent, Screen.InitEvent
Nested classes/interfaces inherited from interface io.jmix.ui.app.valuespicker.selectvalue.SelectValueController
SelectValueController.SelectValueContext<V>
-
Field Summary
Modifier and TypeFieldDescriptionprotected HBoxLayout
protected Action
protected SelectValueController.SelectValueContext<V>
protected CurrentAuthentication
protected DatatypeRegistry
protected Messages
protected MetadataTools
protected UiScreenProperties
protected UiComponents
protected ScrollBoxLayout
Fields inherited from interface io.jmix.ui.screen.FrameOwner
NO_OPTIONS, WINDOW_CLOSE_ACTION, WINDOW_COMMIT_AND_CLOSE_ACTION, WINDOW_DISCARD_AND_CLOSE_ACTION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
addValueToLayout
(V value) void
commit
(Action.ActionPerformedEvent actionPerformedEvent) createDatatypeField
(Class<?> type) createDateField
(Datatype<V> datatype) protected Field
createEntityComboBox
(MetaClass metaClass) protected Field
createEntityField
(String entityName) protected Field
createEntityPicker
(MetaClass metaClass) createEnumField
(Class<? extends Enum> enumClass) createTextField
(Datatype<V> datatype) createTimeField
(Datatype<V> datatype) createUuidField
(Datatype<V> datatype) getValue()
protected String
getValueCaption
(V value) protected void
protected void
protected void
protected boolean
protected void
lookupActionPerformed
(Action.ActionPerformedEvent actionPerformedEvent) void
onInit
(Screen.InitEvent event) void
protected boolean
valueExists
(V value) Methods inherited from class io.jmix.ui.screen.Screen
addAfterCloseListener, addAfterDetachListener, addAfterInitListener, addAfterShowListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addUrlParamsChangeListener, close, close, closeWithDefaultAction, fireEvent, getApplicationContext, getEventHub, getExtensions, getId, getScreenData, getUiEventListeners, getWindow, isMultipleOpen, isSameScreen, setApplicationContext, setExtensions, setId, setScreenData, setUiEventListeners, setWindow, show
-
Field Details
-
addItemLayout
-
valuesLayout
-
messages
-
uiComponents
-
metadataTools
-
datatypeRegistry
-
currentAuthentication
-
screenProperties
-
context
-
values
-
commitAction
-
-
Constructor Details
-
SelectValueDialog
public SelectValueDialog()
-
-
Method Details
-
onInit
-
setSelectValueContext
- Specified by:
setSelectValueContext
in interfaceSelectValueController<V>
-
getValue
- Specified by:
getValue
in interfaceSelectValueController<V>
-
initActions
protected void initActions() -
initAddComponentLayout
protected void initAddComponentLayout() -
createField
-
_addValue
-
isValid
-
valueExists
-
createDatatypeField
-
createTextField
-
createUuidField
-
createDateField
-
createTimeField
-
createEntityField
-
createEntityPicker
-
createEntityComboBox
-
lookupActionPerformed
-
createComboBox
-
createEnumField
-
initValues
protected void initValues() -
addValueToLayout
-
getValueCaption
-
commit
-