public class CapsTextField extends JTextField
_actionListeners, _columns, _offset, _padding_bold, _caretPosition, _document, _editable_border_alignmentX, _alignmentY, _background, _cursesColor, _enabled, _focusListeners, _foreground, _keyListeners, _origin, _parent, _visible, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT| Constructor and Description |
|---|
CapsTextField(int length_)
Use this constructor when you want to leave the text field empty
but set its length.
|
CapsTextField(java.lang.String text_)
Use this constructor when you want to initialize the value.
|
CapsTextField(java.lang.String text_,
int length_)
Use this constructor when you want to set both the initial value and the
length.
|
| Modifier and Type | Method and Description |
|---|---|
void |
processKeyEvent(KeyEvent ke_)
Convert keystrokes to uppercase before calling the JTextField's
processKeyEvent() method.
|
addActionListener, debug, draw, getActionCommand, getColumns, getHeight, getSize, getWidth, isEditable, minimumSize, postActionEvent, processEvent, processMouseEvent, requestFocus, setActionCommand, setBounds, setBounds, setBounds, setColumns, setEditable, setText, toStringgetCaretPosition, getDocument, getText, setCaretPosition, setDocument, setFontgetBorder, getInsets, setBorderaddFocusListener, addKeyListener, contains, contains, getAlignmentX, getAlignmentY, getAncestorWindow, getBackground, getBounds, getCursesColor, getForeground, getLocation, getLocationOnScreen, getName, getParent, hasFocus, hide, invalidate, isDisplayed, isEnabled, isFocusTraversable, isRecursivelyVisible, isTotallyObscured, isValid, isVisible, processFocusEvent, repaint, requestSync, setBackground, setEnabled, setForeground, setLocation, setLocation, setName, setParent, setVisible, show, validate, validateCursesColorpublic CapsTextField(java.lang.String text_)
public CapsTextField(int length_)
public CapsTextField(java.lang.String text_,
int length_)
public void processKeyEvent(KeyEvent ke_)
processKeyEvent in class JTextField