public final class WindowsFormattedTextFieldUI extends BasicFormattedTextFieldUI
FormattedTextFieldUI
.
It uses a caret that selects all text if the field gains focus
after a keyboard focus traversal.BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighter
Constructor and Description |
---|
WindowsFormattedTextFieldUI() |
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 © 2020 JGoodies Software GmbH. All rights reserved.