backgroundChar, enterAction, fixed, insertMode, mouse, position, screenPosition, text, updateAction, windowStart
Constructor and Description |
---|
TPasswordField(TWidget parent,
int x,
int y,
int width,
boolean fixed)
Public constructor.
|
TPasswordField(TWidget parent,
int x,
int y,
int width,
boolean fixed,
java.lang.String text)
Public constructor.
|
TPasswordField(TWidget parent,
int x,
int y,
int width,
boolean fixed,
java.lang.String text,
TAction enterAction,
TAction updateAction)
Public constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
draw()
Draw the text field.
|
appendChar, dispatch, end, getBackgroundChar, getText, home, insertChar, mouseOnField, normalizeWindowStart, onKeypress, onMouseDown, screenToTextPosition, setActiveColorKey, setBackgroundChar, setEnterAction, setHeight, setInactiveColorKey, setPosition, setText, setUpdateAction, updateCursor
activate, activate, activate, activateAll, addButton, addCalendar, addCheckBox, addComboBox, addDirectoryList, addDirectoryList, addDirectoryList, addDirectoryList, addEditor, addField, addField, addField, addImage, addImage, addLabel, addLabel, addLabel, addLabel, addLabel, addLabel, addList, addList, addList, addList, addPanel, addPasswordField, addPasswordField, addPasswordField, addProgressBar, addRadioGroup, addSpinner, addSplitPane, addTable, addTable, addText, addText, addTreeViewWidget, addTreeViewWidget, close, compareTo, doRepaint, drawBox, drawBox, drawBoxShadow, fileOpenBox, fileOpenBox, fileOpenBox, fileOpenBox, fileSaveBox, getAbsoluteX, getAbsoluteY, getActiveChild, getApplication, getAttrXY, getChildren, getCursorAbsoluteX, getCursorAbsoluteY, getCursorX, getCursorY, getHeight, getLayoutManager, getParent, getScreen, getTheme, getWidth, getWindow, getX, getY, handleEvent, hLineXY, inputBox, inputBox, inputBox, isAbsoluteActive, isActive, isCursorVisible, isDrawable, isEnabled, isVisible, messageBox, messageBox, mouseWouldHit, onCommand, onIdle, onMenu, onMouseDoubleClick, onMouseMotion, onMouseUp, onResize, putAll, putAttrXY, putAttrXY, putCharXY, putCharXY, putCharXY, putStringXY, putStringXY, remove, remove, remove, remove, removeAll, resetTabOrder, setActive, setCursorVisible, setCursorX, setCursorY, setDimensions, setEnabled, setLayoutManager, setParent, setupForTWindow, setVisible, setWidth, setWindow, setX, setY, splitHorizontal, splitVertical, switchWidget, toPrettyString, toPrettyString, toString, vLineXY
public TPasswordField(TWidget parent, int x, int y, int width, boolean fixed)
parent
- parent widgetx
- column relative to parenty
- row relative to parentwidth
- visible text widthfixed
- if true, the text cannot exceed the display widthpublic TPasswordField(TWidget parent, int x, int y, int width, boolean fixed, java.lang.String text)
parent
- parent widgetx
- column relative to parenty
- row relative to parentwidth
- visible text widthfixed
- if true, the text cannot exceed the display widthtext
- initial text, default is empty stringpublic TPasswordField(TWidget parent, int x, int y, int width, boolean fixed, java.lang.String text, TAction enterAction, TAction updateAction)
parent
- parent widgetx
- column relative to parenty
- row relative to parentwidth
- visible text widthfixed
- if true, the text cannot exceed the display widthtext
- initial text, default is empty stringenterAction
- function to call when enter key is pressedupdateAction
- function to call when the text is updatedCopyright © 2019 Kevin Lamonte. Licensed MIT.