Class QueryParameterEditor
java.lang.Object
io.jmix.ui.screen.Screen
io.jmix.ui.screen.StandardEditor<QueryParameter>
io.jmix.reportsui.screen.report.wizard.query.QueryParameterEditor
- All Implemented Interfaces:
ChangeTracker
,EditorScreen<QueryParameter>
,FrameOwner
,ReadOnlyAwareScreen
@UiController("report_QueryParameter.edit")
@UiDescriptor("query-parameter-edit.xml")
public class QueryParameterEditor
extends StandardEditor<QueryParameter>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.screen.StandardEditor
StandardEditor.AfterCommitChangesEvent, StandardEditor.BeforeCommitChangesEvent, StandardEditor.InitEntityEvent<E>, StandardEditor.ValidationEvent
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
-
Field Summary
Modifier and TypeFieldDescriptionprotected Actions
protected DatatypeRegistry
protected HBoxLayout
protected Label
protected Label
protected Label
protected Messages
protected MessageTools
protected Metadata
protected MetadataTools
protected com.haulmont.yarg.util.converter.ObjectToStringConverter
protected UiComponents
Fields inherited from class io.jmix.ui.screen.StandardEditor
commitActionPerformed, showEnableEditingBtn, showSaveNotification
Fields inherited from interface io.jmix.ui.screen.EditorScreen
ENABLE_EDITING, WINDOW_CLOSE, WINDOW_COMMIT, WINDOW_COMMIT_AND_CLOSE
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 DateField
createDateField
(DateField.Resolution resolution) protected Field
protected EntityPicker
protected ComboBox
protected TextField
createTextField
(Datatype datatype) protected void
protected void
protected void
protected void
void
void
void
void
void
onQueryParameterDcItemPropertyChange
(InstanceContainer.ItemPropertyChangeEvent<QueryParameter> event) protected Class
protected void
Methods inherited from class io.jmix.ui.screen.StandardEditor
addAfterCommitChangesListener, addBeforeCommitChangesListener, addDefaultCloseAction, addDefaultCommitAction, addDefaultCommitAndCloseAction, addDefaultEnableEditingAction, addInitEntityListener, addValidationEventListener, cancel, closeWithCommit, closeWithDiscard, commit, commitAndClose, commitChanges, disableCommitActions, doNotReloadEditedEntity, enableEditing, getEditedEntity, getEditedEntityContainer, getEditedEntityLoader, getSaveNotificationCaption, getWindowActionOptional, hasUnsavedChanges, initActions, isCrossFieldValidate, isEntityModifiedInParentContext, isEntityModifiedRecursive, isLocked, isModifiedAfterOpen, isReadOnly, isReadOnlyDueToLock, isShowSaveNotification, isUiListComponentsValidationEnabled, onChangeEvent, onPostCommitEvent, preventUnsavedChanges, releaseLock, setCrossFieldValidate, setEntityToEdit, setModifiedAfterOpen, setReadOnly, setShowSaveNotification, setupEntityToEdit, setupLock, setupModifiedTracking, showSaveNotification, validateAdditionalRules, validateScreen, validateUiComponents
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
-
uiComponents
-
defaultValueBox
-
entityMetaClassLabel
-
entityMetaClassField
-
enumerationLabel
-
metadataTools
-
enumerationField
-
messageTools
-
metadata
-
messages
-
objectToStringConverter
@Autowired protected com.haulmont.yarg.util.converter.ObjectToStringConverter objectToStringConverter -
datatypeRegistry
-
defaultValueLabel
-
actions
-
-
Constructor Details
-
QueryParameterEditor
public QueryParameterEditor()
-
-
Method Details
-
onBeforeShow
-
onQueryParameterDcItemPropertyChange
@Subscribe(id="queryParameterDc", target=DATA_CONTAINER) public void onQueryParameterDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<QueryParameter> event) -
onParameterTypeFieldValueChange
@Subscribe("parameterTypeField") public void onParameterTypeFieldValueChange(HasValue.ValueChangeEvent<ParameterType> event) -
updateJavaClass
protected void updateJavaClass() -
onMetaClassFieldValueChange
@Subscribe("entityMetaClassField") public void onMetaClassFieldValueChange(HasValue.ValueChangeEvent<MetaClass> event) -
onEnumerationFieldValueChange
@Subscribe("enumerationField") public void onEnumerationFieldValueChange(HasValue.ValueChangeEvent<Class> event) -
initEnumsComboBox
protected void initEnumsComboBox() -
initEntityComboBox
protected void initEntityComboBox() -
initDefaultValueField
protected void initDefaultValueField() -
createDefaultValueField
-
createEnumComboBox
-
createEntityPicker
-
createDateField
-
createTextField
-
enableControlsByParamType
protected void enableControlsByParamType() -
resolveClass
-