public final class PlasticTextFieldUI
extends javax.swing.plaf.metal.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.Constructor | Description |
---|---|
PlasticTextFieldUI() |
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 JTextField.
|
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, modelToView2D, paint, paintBackground, paintSafely, 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 text fieldprotected javax.swing.text.Caret createCaret()
createCaret
in class javax.swing.plaf.basic.BasicTextUI
Copyright © 2001-2009 JGoodies Karsten Lentzsch. All Rights Reserved.