public final class PlasticTextFieldUI extends MetalTextFieldUI
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 |
---|
PlasticTextFieldUI() |
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 JTextField.
|
propertyChange
create, getBaseline, getBaselineResizeBehavior, getPropertyPrefix
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, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update, viewToModel, viewToModel
contains, getAccessibleChild, getAccessibleChildrenCount
public static ComponentUI createUI(JComponent c)
c
- the text fieldprotected Caret createCaret()
createCaret
in class BasicTextUI
Copyright © 2019 JGoodies Software GmbH. All rights reserved.