public final class PlasticFormattedTextFieldUI extends 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.BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighter
Constructor and Description |
---|
PlasticFormattedTextFieldUI() |
Modifier and Type | Method and Description |
---|---|
protected Caret |
createCaret()
Creates the caret for a field.
|
static ComponentUI |
createUI(JComponent c)
Creates a UI for a JFormattedTextField.
|
getPropertyPrefix
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
contains, getAccessibleChild, getAccessibleChildrenCount
public static ComponentUI createUI(JComponent c)
c
- the formatted text fieldprotected Caret createCaret()
createCaret
in class BasicTextUI
Copyright © 2014 JGoodies Software GmbH. All Rights Reserved.