|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.opengl.gui.Component
com.threerings.opengl.gui.TextComponent
com.threerings.opengl.gui.EditableTextComponent
com.threerings.opengl.gui.TextField
com.threerings.opengl.gui.PasswordField
public class PasswordField
A derivation of TextField that does not display the actual
text, but asterisks instead.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.threerings.opengl.gui.EditableTextComponent |
|---|
EditableTextComponent.CompoundType |
| Field Summary | |
|---|---|
protected String |
_stars
|
| Fields inherited from class com.threerings.opengl.gui.TextField |
|---|
_cursx, _glyphs, _selx, _txoff |
| Fields inherited from class com.threerings.opengl.gui.EditableTextComponent |
|---|
_cursp, _keymap, _lastCompoundType, _lastUndoId, _placeholder, _prefWidth, _selectionBackgrounds, _selp, _showCursor, _srect, _text, _undomgr |
| Fields inherited from class com.threerings.opengl.gui.TextComponent |
|---|
_effcols, _effsizes, _haligns, _lineSpacings, _teffects, _textfacts, _valigns |
| Fields inherited from class com.threerings.opengl.gui.Component |
|---|
_alpha, _backgrounds, _borders, _colors, _ctx, _cursor, _enabled, _height, _hover, _hoverable, _insets, _listeners, _parent, _preferredSize, _properties, _rect, _styleConfigs, _tipmouse, _tiptext, _tooltipStyle, _transferHandler, _valid, _visible, _width, _x, _y, DEFAULT, DISABLED, HOVER, STATE_COUNT, STATE_PCLASSES |
| Fields inherited from interface com.threerings.opengl.gui.text.EditCommands |
|---|
ACTION, BACKSPACE, CLEAR, COPY, CURSOR_DOWN, CURSOR_LEFT, CURSOR_RIGHT, CURSOR_UP, CUT, DELETE, END_OF_LINE, PASTE, REDO, RELEASE_FOCUS, START_OF_LINE, UNDO, WORD_LEFT, WORD_RIGHT |
| Constructor Summary | |
|---|---|
PasswordField(GlContext ctx)
|
|
PasswordField(GlContext ctx,
int maxLength)
|
|
PasswordField(GlContext ctx,
String text)
|
|
PasswordField(GlContext ctx,
String text,
int maxLength)
|
|
| Method Summary | |
|---|---|
protected String |
getDisplayText()
This method allows a derived class (specifically PasswordField) to display something other than the actual
contents of the text field. |
| Methods inherited from class com.threerings.opengl.gui.TextField |
|---|
clearGlyphs, computePreferredSize, createGlyphs, getDefaultStyleConfig, getPosition, hasGlyphs, processCommand, renderComponent, selectionWasSet, validatePaste |
| Methods inherited from class com.threerings.opengl.gui.EditableTextComponent |
|---|
acceptsFocus, deleteSelectedText, dispatchEvent, gainedFocus, getDocument, getSelectedText, getSelectionBackground, getText, insertChar, layout, lostFocus, nextUndoId, recreateGlyphs, renderCursor, replaceSelectedText, selectionContains, selectionIsEmpty, setCursorPos, setDocument, setMaxLength, setPlaceholder, setPreferredWidth, setSelection, setText, showCursor, stateDidChange, textInserted, textRemoved, updateFromStyleConfig, usePlaceholder, wasAdded, wasRemoved |
| Methods inherited from class com.threerings.opengl.gui.TextComponent |
|---|
getEffectColor, getEffectSize, getHorizontalAlignment, getLabelRendererConfig, getLineSpacing, getTextEffect, getTextFactory, getTextFactory, getVerticalAlignment |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String _stars
| Constructor Detail |
|---|
public PasswordField(GlContext ctx)
public PasswordField(GlContext ctx,
int maxLength)
public PasswordField(GlContext ctx,
String text)
public PasswordField(GlContext ctx,
String text,
int maxLength)
| Method Detail |
|---|
protected String getDisplayText()
EditableTextComponentPasswordField) to display something other than the actual
contents of the text field.
getDisplayText in class EditableTextComponent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||