Package net.moewes.cloudui.ui5
Class Ui5DurationPicker
- java.lang.Object
-
- net.moewes.cloudui.UiComponent
-
- net.moewes.cloudui.ui5.Ui5InputBase
-
- net.moewes.cloudui.ui5.Ui5InputFieldBase
-
- net.moewes.cloudui.ui5.Ui5DurationPicker
-
public class Ui5DurationPicker extends Ui5InputFieldBase
Java wrapper fpr UI5 web component ui5-duration-picker
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.moewes.cloudui.ui5.Ui5InputBase
Ui5InputBase.ValueState
-
-
Field Summary
-
Fields inherited from class net.moewes.cloudui.ui5.Ui5InputFieldBase
required
-
Fields inherited from class net.moewes.cloudui.ui5.Ui5InputBase
disabled, readOnly
-
-
Constructor Summary
Constructors Constructor Description Ui5DurationPicker()
default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
hideHours(boolean hideHours)
Defines whether a slider for hours will be availablevoid
hideMinutes(boolean hideMinutes)
Defines whether a slider for minutes will be availablevoid
hideSeconds(boolean hideSeconds)
Defines whether a slider for seconds will be availablenet.moewes.cloudui.UiElement
render()
void
setMaxValue(String maxValue)
void
setMinutesStep(int step)
Defines the selection step for the minutesvoid
setSecondsStep(int step)
Defines the selection step for the seconds-
Methods inherited from class net.moewes.cloudui.ui5.Ui5InputFieldBase
addValueStateMessage, addValueStateMessage, setPlaceholder, setRequired
-
Methods inherited from class net.moewes.cloudui.ui5.Ui5InputBase
setDisabled, setReadOnly, setValueState
-
-
-
-
Method Detail
-
hideSeconds
public void hideSeconds(boolean hideSeconds)
Defines whether a slider for seconds will be available- Parameters:
hideSeconds
- if true its hidden
-
hideMinutes
public void hideMinutes(boolean hideMinutes)
Defines whether a slider for minutes will be available- Parameters:
hideMinutes
- if true its hidden
-
hideHours
public void hideHours(boolean hideHours)
Defines whether a slider for hours will be available- Parameters:
hideHours
- if true its hidden
-
setMaxValue
public void setMaxValue(String maxValue)
-
setMinutesStep
public void setMinutesStep(int step)
Defines the selection step for the minutes- Parameters:
step
- the step wide
-
setSecondsStep
public void setSecondsStep(int step)
Defines the selection step for the seconds- Parameters:
step
- the step wide
-
render
public net.moewes.cloudui.UiElement render()
- Overrides:
render
in classUi5InputFieldBase
-
-