public final class WindowsFormattedTextFieldUI
extends javax.swing.plaf.basic.BasicFormattedTextFieldUI
FormattedTextFieldUI
.
It uses a caret that selects all text if the field gains focus
after a keyboard focus traversal.Constructor and Description |
---|
WindowsFormattedTextFieldUI() |
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.