Class SimpleValueFragment
java.lang.Object
io.jmix.ui.screen.ScreenFragment
io.jmix.dashboardsui.screen.parameter.fragment.SimpleValueFragment
- All Implemented Interfaces:
ValueFragment
,FrameOwner
@UiController("dshbrd_SimpleValue.fragment")
@UiDescriptor("simple-value-fragment.xml")
public class SimpleValueFragment
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
Modifier and TypeFieldDescriptionprotected CheckBox
protected DatatypeRegistry
protected TextField<BigDecimal>
protected HBoxLayout
protected ParameterType
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
initDateField
(String format) void
onInit
(ScreenFragment.InitEvent event) protected void
setBoolean
(BooleanParameterValue value) protected void
setDate
(DateParameterValue value) protected void
protected void
setDecimal
(DecimalParameterValue value) protected void
setInteger
(IntegerParameterValue value) protected void
setLong
(LongParameterValue value) protected void
setString
(StringParameterValue value) protected void
setTime
(TimeParameterValue value) protected void
setUUID
(UuidParameterValue value) protected void
showField
(ParameterValue parameterValue) 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
-
intField
-
decimalField
-
longField
-
uuidField
-
textField
-
dateField
-
timeField
-
checkBox
-
hBox
-
datatypeRegistry
-
type
-
-
Constructor Details
-
SimpleValueFragment
public SimpleValueFragment()
-
-
Method Details
-
onInit
-
getValue
- Specified by:
getValue
in interfaceValueFragment
-
showField
-
setDateTime
-
setDate
-
initDateField
-
setTime
-
setDecimal
-
setInteger
-
setLong
-
setString
-
setUUID
-
setBoolean
-