Package net.moewes.cloudui.ui5
Class Ui5Input
- java.lang.Object
-
- net.moewes.cloudui.UiComponent
-
- net.moewes.cloudui.ui5.Ui5InputBase
-
- net.moewes.cloudui.ui5.Ui5InputFieldBase
-
- net.moewes.cloudui.ui5.Ui5Input
-
public class Ui5Input extends Ui5InputFieldBase
Java wrapper for UI5 web component ui5-inputsuggestions and form support are not supported
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Ui5Input.InputType
possible values for attribute type of ui5-input-
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 Ui5Input()
default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addIcon(Ui5Icon icon)
adds an icon to the input fieldvoid
setMaxLength(int maxLength)
set maxlength attribute of ui5-inputvoid
setType(Ui5Input.InputType inputType)
sets type attribute of ui5-input-
Methods inherited from class net.moewes.cloudui.ui5.Ui5InputFieldBase
addValueStateMessage, addValueStateMessage, render, setPlaceholder, setRequired
-
Methods inherited from class net.moewes.cloudui.ui5.Ui5InputBase
setDisabled, setReadOnly, setValueState
-
-
-
-
Method Detail
-
setMaxLength
public void setMaxLength(int maxLength)
set maxlength attribute of ui5-input- Parameters:
maxLength
- positive number
-
setType
public void setType(Ui5Input.InputType inputType)
sets type attribute of ui5-input- Parameters:
inputType
- input type
-
addIcon
public void addIcon(Ui5Icon icon)
adds an icon to the input field- Parameters:
icon
- icon to add
-
-