|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TextField
| Method Summary | |
|---|---|
void |
disablePasswordChar()
Disable the password character which displays the text again, |
void |
enablePasswordChar(char passwordChar)
Enable a password character that is displayed instead of the actual text. |
String |
getText()
Get the current TextField text. |
boolean |
isPasswordCharEnabled()
Checks if a password character is currently enabled. |
void |
setCursorPosition(int position)
Set the cursorposition to the given index. |
void |
setMaxLength(int maxLength)
Change the max. input length to a new length. |
void |
setText(String text)
Set the Text of the TextField. |
| Methods inherited from interface de.lessvoid.nifty.controls.NiftyControl |
|---|
disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidth |
| Method Detail |
|---|
String getText()
void setText(String text)
text - new textvoid setMaxLength(int maxLength)
maxLength - max lengthvoid setCursorPosition(int position)
position - new cursor positionvoid enablePasswordChar(char passwordChar)
passwordChar - charcter to use, like '*'void disablePasswordChar()
boolean isPasswordCharEnabled()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||