public interface IFormItem
Modifier and Type | Method and Description |
---|---|
String |
getId()
Returns the internal ID of this field.
|
String |
getLabel()
Returns the label of the field.
|
String |
getValue()
Returns the current value.
|
boolean |
isFixed()
Returns
true if this IFormItem is fixed. |
boolean |
isLabel()
Returns
true if this form item is a label. |
boolean |
isList()
Returns
true if this form item is a list. |
boolean |
isNewLine()
Returns
true if this IFormItem is full sized. |
boolean |
isNumber()
Returns
true if this form item is a number field. |
boolean |
isRequired()
Returns
true if an input is required. |
boolean |
isText()
Returns
true if this form item is a text input field. |
boolean |
isUppercase()
Returns
true if this IFormItem is uppercase. |
boolean |
isValid()
Tests if the current value a valid input for this field.
|
void |
setValue(String value)
Sets a new value for this field.
|
boolean isLabel()
true
if this form item is a label.boolean isText()
true
if this form item is a text input field.
A cast to FormItemText
can be done if this method returns true
.boolean isNumber()
true
if this form item is a number field.
A cast to FormItemNumber
can be done if this method returns true
.boolean isList()
true
if this form item is a list.
A cast to FormItemList
can be done if this method returns true
.String getLabel()
void setValue(String value)
value
- New valueString getValue()
boolean isRequired()
true
if an input is required. In this case the value cannot be an empty String
.String getId()
boolean isValid()
IFormItem
is valid.boolean isFixed()
true
if this IFormItem
is fixed.
E.g. parameter "F" is set in UC-Script.IFormItem
is fixed.boolean isUppercase()
true
if this IFormItem
is uppercase.IFormItem
is uppercase.Copyright © 2021. All rights reserved.