Class EntityValueScreen
java.lang.Object
io.jmix.ui.screen.Screen
io.jmix.dashboardsui.screen.parameter.fragment.EntityValueScreen
- All Implemented Interfaces:
ValueFragment,Window.Committable,FrameOwner
@UiController("dshbrd_EntityValue.screen")
@UiDescriptor("entity-value-screen.xml")
public class EntityValueScreen
extends Screen
implements ValueFragment, Window.Committable
-
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 -
Field Summary
FieldsFields inherited from interface io.jmix.ui.screen.FrameOwner
NO_OPTIONS, WINDOW_CLOSE_ACTION, WINDOW_COMMIT_AND_CLOSE_ACTION, WINDOW_DISCARD_AND_CLOSE_ACTIONFields inherited from interface io.jmix.dashboardsui.screen.parameter.fragment.ValueFragment
VALUE, VALUE_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancelAndClose(Button.ClickEvent event) voidCommit changes and close the window.voidcommitAndClose(Button.ClickEvent event) getValue()booleanvoidonInit(Screen.InitEvent event) 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
-
entityValueFragment
-
prevValue
-
-
Constructor Details
-
EntityValueScreen
public EntityValueScreen()
-
-
Method Details
-
onInit
-
getValue
- Specified by:
getValuein interfaceValueFragment
-
commitAndClose
-
cancelAndClose
-
isModified
public boolean isModified()- Specified by:
isModifiedin interfaceWindow.Committable- Returns:
- whether the window contains uncommitted changes
-
commitAndClose
public void commitAndClose()Description copied from interface:Window.CommittableCommit changes and close the window.- Specified by:
commitAndClosein interfaceWindow.Committable
-