Package net.moewes.cloudui.ui5
Class Ui5InputFieldBase
- java.lang.Object
-
- net.moewes.cloudui.UiComponent
-
- net.moewes.cloudui.ui5.Ui5InputBase
-
- net.moewes.cloudui.ui5.Ui5InputFieldBase
-
- Direct Known Subclasses:
Ui5ComboBox
,Ui5DateInputFieldBase
,Ui5DurationPicker
,Ui5Input
,Ui5TextArea
,Ui5TimePicker
public abstract class Ui5InputFieldBase extends Ui5InputBase
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.moewes.cloudui.ui5.Ui5InputBase
Ui5InputBase.ValueState
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
required
-
Fields inherited from class net.moewes.cloudui.ui5.Ui5InputBase
disabled, readOnly
-
-
Constructor Summary
Constructors Constructor Description Ui5InputFieldBase(String tag)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addValueStateMessage(String message)
add a value sate message to the input fieldvoid
addValueStateMessage(String message, Ui5InputBase.ValueState valueState)
sets value state and messagenet.moewes.cloudui.UiElement
render()
void
setPlaceholder(String placeholder)
sets the placeholder attribute of ui5 input fieldvoid
setRequired(boolean required)
sets required attribute of ui5 input field-
Methods inherited from class net.moewes.cloudui.ui5.Ui5InputBase
setDisabled, setReadOnly, setValueState
-
-
-
-
Constructor Detail
-
Ui5InputFieldBase
public Ui5InputFieldBase(String tag)
-
-
Method Detail
-
setRequired
public void setRequired(boolean required)
sets required attribute of ui5 input field- Parameters:
required
- flag
-
setPlaceholder
public void setPlaceholder(String placeholder)
sets the placeholder attribute of ui5 input field- Parameters:
placeholder
- placeholder string
-
addValueStateMessage
public void addValueStateMessage(String message)
add a value sate message to the input field- Parameters:
message
- text to show
-
addValueStateMessage
public void addValueStateMessage(String message, Ui5InputBase.ValueState valueState)
sets value state and message- Parameters:
message
- text to showvalueState
- value state
-
render
public net.moewes.cloudui.UiElement render()
- Overrides:
render
in classUi5InputBase
-
-