Class EnumValueFragment
java.lang.Object
io.jmix.ui.screen.ScreenFragment
io.jmix.dashboardsui.screen.parameter.fragment.EnumValueFragment
- All Implemented Interfaces:
ValueFragment
,FrameOwner
@UiController("dshbrd_EnumValue.fragment")
@UiDescriptor("enum-value-fragment.xml")
public class EnumValueFragment
extends ScreenFragment
implements ValueFragment
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.screen.ScreenFragment
ScreenFragment.AfterInitEvent, ScreenFragment.AttachEvent, ScreenFragment.DetachEvent, ScreenFragment.InitEvent
-
Field Summary
Fields inherited from interface io.jmix.ui.screen.FrameOwner
NO_OPTIONS, WINDOW_CLOSE_ACTION, WINDOW_COMMIT_AND_CLOSE_ACTION, WINDOW_DISCARD_AND_CLOSE_ACTION
Fields inherited from interface io.jmix.dashboardsui.screen.parameter.fragment.ValueFragment
VALUE, VALUE_TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetValue()
protected void
void
onInit
(ScreenFragment.InitEvent event) protected void
selectIfExist
(EnumParameterValue enumValue) Methods inherited from class io.jmix.ui.screen.ScreenFragment
addAfterInitListener, addAttachEventListener, addDetachEventListener, addInitListener, fireEvent, getApplicationContext, getEventHub, getExtensions, getFragment, getHostController, getHostScreen, getId, getScreenData, getUiEventListeners, init, setApplicationContext, setExtensions, setFragment, setHostController, setId, setScreenData, setUiEventListeners
-
Field Details
-
enumClassComboBox
-
-
Constructor Details
-
EnumValueFragment
public EnumValueFragment()
-
-
Method Details
-
onInit
-
getValue
- Specified by:
getValue
in interfaceValueFragment
-
loadEnumClasses
protected void loadEnumClasses() -
selectIfExist
-