public class IFPasswordField extends IFTextField
Constructor and Description |
---|
IFPasswordField(String newLabel,
int newX,
int newY) |
IFPasswordField(String argLabel,
int argX,
int argY,
int argWidth) |
IFPasswordField(String argLabel,
int argX,
int argY,
int argWidth,
String label) |
IFPasswordField(String argLabel,
int argX,
int argY,
int argWidth,
String label,
char c) |
Modifier and Type | Method and Description |
---|---|
void |
addActionListener(Object newListener) |
void |
appendToRightOfCursor(char c)
adds a character to the immediate right of the insertion point or replaces the selected group of characters.
|
void |
appendToRightOfCursor(String s)
adds a string to the immediate right of the insertion point or replaces the selected group of characters.
|
void |
backspaceChar()
deletes either the character directly to the left of the insertion point or the selected group of characters.
|
boolean |
canReceiveFocus() |
void |
fireEventNotification(interfascia.GUIComponent argComponent,
String argMessage) |
int |
getAbsoluteX() |
int |
getAbsoluteY() |
GUIController |
getController() |
int |
getHeight() |
int |
getIndex() |
String |
getLabel() |
IFLookAndFeel |
getLookAndFeel() |
String |
getValue()
returns the string that is displayed in the text area.
|
int |
getWidth() |
int |
getX() |
int |
getY() |
boolean |
isMouseOver(int mouseX,
int mouseY) |
void |
setController(GUIController c) |
void |
setDisplayCharacter(char character) |
void |
setHeight(int newHeight) |
void |
setIndex(int i) |
void |
setLabel(String argLabel) |
void |
setLookAndFeel(IFLookAndFeel lf) |
void |
setPosition(int newX,
int newY) |
void |
setSize(int newWidth,
int newHeight) |
void |
setValue(String value)
sets the contents of the text box and displays the
specified string in the text box widget.
|
void |
setWidth(int newWidth) |
void |
setX(int newX) |
void |
setY(int newY) |
void |
update(int argX,
int argY) |
actionPerformed, draw, getCursorPosition, getEndSelect, getStartSelect, getVisiblePortionEnd, getVisiblePortionStart, initWithParent, keyEvent, mouseEvent, setCursorPosition, setEndSelect, setStartSelect, setVisiblePortionEnd, setVisiblePortionStart, validUnicode
public IFPasswordField(String newLabel, int newX, int newY)
public IFPasswordField(String argLabel, int argX, int argY, int argWidth)
public IFPasswordField(String argLabel, int argX, int argY, int argWidth, String label)
public String getValue()
IFTextField
getValue
in class IFTextField
public void appendToRightOfCursor(char c)
IFTextField
public void MouseEventif a unicode character is entered via the keyboard.
c
- the character to be addedpublic void appendToRightOfCursor(String s)
IFTextField
s
- the string to be addedpublic void backspaceChar()
IFTextField
public void keyEventwhen the delete key is pressed.
public void setValue(String value)
IFTextField
setValue
in class IFTextField
public void setDisplayCharacter(char character)
public void setIndex(int i)
public int getIndex()
public void update(int argX, int argY)
public void setController(GUIController c)
public GUIController getController()
public void setLookAndFeel(IFLookAndFeel lf)
public IFLookAndFeel getLookAndFeel()
public String getLabel()
public void setLabel(String argLabel)
public boolean canReceiveFocus()
public int getWidth()
public void setWidth(int newWidth)
public int getHeight()
public void setHeight(int newHeight)
public void addActionListener(Object newListener)
public void setSize(int newWidth, int newHeight)
public void setPosition(int newX, int newY)
public void setX(int newX)
public int getX()
public int getAbsoluteX()
public void setY(int newY)
public int getY()
public int getAbsoluteY()
public void fireEventNotification(interfascia.GUIComponent argComponent, String argMessage)
public boolean isMouseOver(int mouseX, int mouseY)
Processing Library interfascia by Brendan Berg. (c) 2015