public final class PlasticFormattedTextFieldUI
extends javax.swing.plaf.basic.BasicFormattedTextFieldUI
TextFieldUI
.
In addition to its superclass MetalTextFieldUI, it can use a caret
that selects all text when the field gains focus via the keyboard.Constructor and Description |
---|
PlasticFormattedTextFieldUI() |
Modifier and Type | Method and Description |
---|---|
protected javax.swing.text.Caret |
createCaret()
Creates the caret for a field.
|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
Creates a UI for a JFormattedTextField.
|
create, getBaseline, getBaselineResizeBehavior
create, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getEditorKit, getKeymapName, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getToolTipText, getVisibleEditorRect, installDefaults, installKeyboardActions, installListeners, installUI, modelChanged, modelToView, modelToView, paint, paintBackground, paintSafely, propertyChange, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update, viewToModel, viewToModel
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
c
- the formatted text fieldprotected javax.swing.text.Caret createCaret()
createCaret
in class javax.swing.plaf.basic.BasicTextUI
Copyright © 2001-2009 JGoodies Karsten Lentzsch. All Rights Reserved.