|
||||||||||
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 Controller
init
in class AbstractController
public void onStartScreen()
onStartScreen
in interface Controller
public void layoutCallback()
layoutCallback
in interface NiftyControl
layoutCallback
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 Controller
public void onFocus(boolean getFocus)
onFocus
in interface Controller
onFocus
in class AbstractController
public String getText()
TextField
getText
in interface TextField
public void setText(String newText)
TextField
setText
in interface TextField
newText
- new textpublic void setMaxLength(int maxLength)
TextField
setMaxLength
in interface TextField
maxLength
- max lengthpublic void setCursorPosition(int position)
TextField
setCursorPosition
in interface TextField
position
- new cursor positionpublic void textChangeEvent(String newText)
textChangeEvent
in interface TextFieldView
public void enablePasswordChar(char passwordChar)
TextField
enablePasswordChar
in interface TextField
passwordChar
- charcter to use, like '*'public void disablePasswordChar()
TextField
disablePasswordChar
in interface TextField
public boolean isPasswordCharEnabled()
TextField
isPasswordCharEnabled
in interface TextField
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |