public class PasswordBox extends TextBox
Interactable.FocusChangeDirection, Interactable.Result
Component.Alignment
Constructor and Description |
---|
PasswordBox()
Creates a password masked text box component, where the user can enter
text by typing on the keyboard and the characters will be represented by
the * character.
|
PasswordBox(String initialContent,
int width)
Creates a password masked text box component, where the user can enter
text by typing on the keyboard and the characters will be represented by
the * character.
|
Modifier and Type | Method and Description |
---|---|
protected String |
prerenderTransformation(String textboxString) |
calculatePreferredSize, getEditPosition, getFillCharacter, getText, keyboardInteraction, repaint, setEditPosition, setFillCharacter, setText
afterEnteredFocus, afterLeftFocus, getHotspot, hasFocus, onEnterFocus, onLeaveFocus, setHotspot
addBorder, addComponentListener, getAlignment, getComponentListeners, getGUIScreen, getMinimumSize, getParent, getPreferredSize, getWindow, invalidate, isScrollable, isVisible, removeComponentListener, setAlignment, setParent, setPreferredSize, setVisible, transformAccordingToAlignment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addBorder, addComponentListener, getAlignment, getMinimumSize, getParent, getPreferredSize, getWindow, isScrollable, isVisible, removeComponentListener, setAlignment, setPreferredSize, setVisible
public PasswordBox()
public PasswordBox(String initialContent, int width)
initialContent
- Initial text contentwidth
- Width of the password boxprotected String prerenderTransformation(String textboxString)
prerenderTransformation
in class TextBox
Copyright © 2015. All Rights Reserved.