|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.lessvoid.nifty.controls.AbstractController
de.lessvoid.nifty.controls.textfield.TextFieldControl
TextField when accessing NiftyControls.
@Deprecated public class TextFieldControl
A TextFieldControl.
| Constructor Summary | |
|---|---|
TextFieldControl()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
bind(Nifty niftyParam,
Screen screenParam,
Element newElement,
Properties properties,
Attributes controlDefinitionAttributes)
Deprecated. |
void |
disablePasswordChar()
Deprecated. Disable the password character which displays the text again, |
void |
enablePasswordChar(char passwordChar)
Deprecated. Enable a password character that is displayed instead of the actual text. |
String |
getText()
Deprecated. Get the current TextField text. |
void |
init(Properties parameter,
Attributes controlDefinitionAttributes)
Deprecated. |
boolean |
inputEvent(NiftyInputEvent inputEvent)
Deprecated. |
boolean |
isPasswordCharEnabled()
Deprecated. Checks if a password character is currently enabled. |
void |
layoutCallback()
Deprecated. |
void |
onClick(int mouseX,
int mouseY)
Deprecated. |
void |
onClickMouseMove(int mouseX,
int mouseY)
Deprecated. |
void |
onFocus(boolean getFocus)
Deprecated. |
void |
onStartScreen()
Deprecated. |
void |
setCursorPosition(int position)
Deprecated. Set the cursorposition to the given index. |
void |
setMaxLength(int maxLength)
Deprecated. Change the max. input length to a new length. |
void |
setText(String newText)
Deprecated. Set the Text of the TextField. |
void |
textChangeEvent(String newText)
Deprecated. |
| Methods inherited from class de.lessvoid.nifty.controls.AbstractController |
|---|
bind, disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidth |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.lessvoid.nifty.controls.NiftyControl |
|---|
disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidth |
| Constructor Detail |
|---|
public TextFieldControl()
| Method Detail |
|---|
public void bind(Nifty niftyParam,
Screen screenParam,
Element newElement,
Properties properties,
Attributes controlDefinitionAttributes)
bind in interface Controller
public void init(Properties parameter,
Attributes controlDefinitionAttributes)
init in interface Controllerinit in class AbstractControllerpublic void onStartScreen()
onStartScreen in interface Controllerpublic void layoutCallback()
layoutCallback in interface NiftyControllayoutCallback in class AbstractController
public void onClick(int mouseX,
int mouseY)
public void onClickMouseMove(int mouseX,
int mouseY)
public boolean inputEvent(NiftyInputEvent inputEvent)
inputEvent in interface Controllerpublic void onFocus(boolean getFocus)
onFocus in interface ControlleronFocus in class AbstractControllerpublic String getText()
TextField
getText in interface TextFieldpublic void setText(String newText)
TextField
setText in interface TextFieldnewText - new textpublic void setMaxLength(int maxLength)
TextField
setMaxLength in interface TextFieldmaxLength - max lengthpublic void setCursorPosition(int position)
TextField
setCursorPosition in interface TextFieldposition - new cursor positionpublic void textChangeEvent(String newText)
textChangeEvent in interface TextFieldViewpublic void enablePasswordChar(char passwordChar)
TextField
enablePasswordChar in interface TextFieldpasswordChar - charcter to use, like '*'public void disablePasswordChar()
TextField
disablePasswordChar in interface TextFieldpublic boolean isPasswordCharEnabled()
TextField
isPasswordCharEnabled in interface TextField
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||