Class ValueFormatEditor
java.lang.Object
io.jmix.ui.screen.Screen
io.jmix.ui.screen.StandardEditor<ReportValueFormat>
io.jmix.reportsui.screen.valueformat.edit.ValueFormatEditor
- All Implemented Interfaces:
ChangeTracker
,EditorScreen<ReportValueFormat>
,FrameOwner
,ReadOnlyAwareScreen
@UiController("report_ReportValueFormat.edit")
@UiDescriptor("value-format-edit.xml")
public class ValueFormatEditor
extends StandardEditor<ReportValueFormat>
-
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 String[]
protected Dialogs
protected Form
protected SourceCodeEditor
protected CheckBox
protected LinkButton
protected SourceCodeEditor.Mode
protected VBoxLayout
protected Messages
protected Metadata
protected MetadataTools
protected Notifications
protected PolicyStore
static final String
protected ScreenBuilders
protected SecureOperations
protected UiComponents
protected InstanceContainer<ReportValueFormat>
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 void
addFormatItem
(String caption) protected void
groovyCheckBoxContextHelpIconClickHandler
(HasContextHelp.ContextHelpIconClickEvent contextHelpIconClickEvent) protected void
protected boolean
isClickTrueGroovyScript
(Boolean visible, Boolean prevVisible, Boolean userOriginated) protected void
onAfterInit
(Screen.AfterInitEvent event) protected void
protected void
protected void
onInit
(Screen.InitEvent event) 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, 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
-
RETURN_VALUE
- See Also:
-
defaultFormats
-
formatField
-
formatForm
-
groovyField
-
groovyFullScreenLinkButton
-
groovyVBox
-
groovyCodeEditor
-
valuesFormatsDc
-
metadata
-
secureOperations
-
policyStore
-
notifications
-
dialogs
-
messages
-
metadataTools
-
screenBuilders
-
uiComponents
-
groovyScriptFieldMode
-
-
Constructor Details
-
ValueFormatEditor
public ValueFormatEditor()
-
-
Method Details
-
onInit
-
groovyCheckBoxContextHelpIconClickHandler
@Install(to="groovyField", subject="contextHelpIconClickHandler") protected void groovyCheckBoxContextHelpIconClickHandler(HasContextHelp.ContextHelpIconClickEvent contextHelpIconClickEvent) -
onGroovyCheckBoxValueChange
@Subscribe("groovyField") protected void onGroovyCheckBoxValueChange(HasValue.ValueChangeEvent<Boolean> event) -
initFormatComboBox
protected void initFormatComboBox() -
isClickTrueGroovyScript
-
addFormatItem
-
onAfterInit
-
onBeforeCommitChanges
-
showGroovyEditorDialog
@Subscribe("groovyFullScreenLinkButton") protected void showGroovyEditorDialog(Button.ClickEvent event)
-