public interface GXITextFieldTag extends GXITag
An onNewTextField
event is thrown when a new text field is created by the Renderer.
The method {#getContent()}
returns the text of the text field (value attribute in HTML).
To create a new text field use GXHtmlTagFactory.intance().newTextField(...)
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getText()
Returns the tag's text, value attribute in HTML.
|
boolean |
isPassword()
Returns if the text field is a password field.
|
void |
setPassword(boolean isPassword)
Set if the text field is a password field.
|
void |
setText(java.lang.String text)
Sets the tag's text, value attribute in HTML.
|
copyFrom, getAttribute, getBottomMargin, getBottomPadding, getChildren, getContent, getHostField, getId, getLength, getOffsetHeight, getOffsetLeft, getOffsetRight, getOffsetTop, getParent, getPosition, getTagName, getTopMargin, getTopPadding, hasChildren, isVisible, removeAttribute, setAttribute, setBottomMargin, setBottomPadding, setId, setLength, setOffsetHeight, setOffsetLeft, setOffsetRight, setOffsetTop, setPosition, setPosition, setTopMargin, setTopPadding, setVisible, setVisible
boolean isPassword()
void setPassword(boolean isPassword)
isPassword
- If the text field is a password fieldjava.lang.String getText()
void setText(java.lang.String text)
text
- the tag's textCopyright 2018 Software AG. All rights reserved. Use is subject to license terms.