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 | Description |
---|---|
PlasticFormattedTextFieldUI() |
Modifier and Type | Method | 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, modelToView2D, paint, paintBackground, paintSafely, propertyChange, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update, viewToModel, viewToModel, viewToModel2D
contains, getAccessibleChild, getAccessibleChildrenCount
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.