Package de.esoco.process.ui
Klasse UiTextInputField<T extends UiTextInputField<T>>
java.lang.Object
org.obrel.core.RelatedObject
- Alle implementierten Schnittstellen:
de.esoco.lib.property.TextAttribute
,UiHasActionEvents<String,
,T> UiHasFocusEvents<String,
,T> UiHasUpdateEvents<String,
,T> org.obrel.core.Relatable
- Bekannte direkte Unterklassen:
UiComboBox
,UiPasswordField
,UiPhoneNumberField
,UiSearchField
,UiTextArea
,UiTextField
public abstract class UiTextInputField<T extends UiTextInputField<T>>
extends UiInputField<String,T>
implements de.esoco.lib.property.TextAttribute
A text input field.
-
Konstruktorübersicht
KonstruktorBeschreibungUiTextInputField
(UiContainer<?> parent, String text) Creates a new instance. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetText()
Returns the element's text.void
setEditable
(boolean editable) Sets the editable state of this text field.void
setFormattedText
(String template, String... formatArguments) Sets a text that will be formatted by inserting values into a template, similar toString.format(String, Object...)
.void
Sets the element's text.Fluent method to set the text of this field.Von Klasse geerbte Methoden de.esoco.process.ui.UiInputField
onAction, onEnter, onInput, onUpdate, placeholder
Von Klasse geerbte Methoden de.esoco.process.ui.UiControl
onFocusLost, validateFinally, validateInteractive, validateNow
Von Klasse geerbte Methoden de.esoco.process.ui.UiComponent
applyProperties, attachTo, cell, cell, getComponentStyleName, getImage, getParent, getRootView, getValueImpl, getView, height, icon, image, label, placeBefore, resid, setValueImpl, size, style, style, styleName, tooltip, toString, update, visibleOn, width
Von Klasse geerbte Methoden de.esoco.process.param.ParameterWrapper
clear, disable, enable, fragment, get, getParam, has, hide, id, initiateDownload, isEnabled, isVisible, remove, set, set, set, setEnabled, setFragment, setParam, setParameterEventHandler, setParameterType, setVisible, show, type
Von Klasse geerbte Methoden org.obrel.core.RelatedObject
deleteRelation, get, getRelation, getRelations, notifyRelationListeners, readRelations, relationsEqual, relationsHashCode, relationsString, set, set, transform, writeRelations
Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden org.obrel.core.Relatable
deleteRelation, deleteRelations, getAll, getOption, getRelationCount, getRelations, hasFlag, hasRelation, hasRelations, init, set, set, set, setOption, streamRelations
-
Konstruktordetails
-
UiTextInputField
Creates a new instance.- Parameter:
parent
- container The parent containertext
- The initial text
-
-
Methodendetails
-
getText
Returns the element's text.- Angegeben von:
getText
in Schnittstellede.esoco.lib.property.TextAttribute
- Gibt zurück:
- The text
-
setEditable
public void setEditable(boolean editable) Sets the editable state of this text field. If set to FALSE no input will be possible but the field will not be rendered as disabled.- Parameter:
editable
- The new editable
-
setFormattedText
Sets a text that will be formatted by inserting values into a template, similar toString.format(String, Object...)
. Depending on the underlying client UI implementation the formatting options may be limited. Therefore the format arguments must already be in string format and advanced features like argument reordering may not be available.- Parameter:
template
- The format templateformatArguments
- The format arguments
-
setText
Sets the element's text.- Angegeben von:
setText
in Schnittstellede.esoco.lib.property.TextAttribute
- Parameter:
text
- The new text
-
text
Fluent method to set the text of this field.- Parameter:
text
- The new text- Gibt zurück:
- This instance
-