Class PlasticTextFieldUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.TextUI
javax.swing.plaf.basic.BasicTextUI
javax.swing.plaf.basic.BasicTextFieldUI
javax.swing.plaf.metal.MetalTextFieldUI
com.jgoodies.looks.plastic.PlasticTextFieldUI
- All Implemented Interfaces:
ViewFactory
The JGoodies Plastic L&F implementation of
TextFieldUI.
In addition to its superclass MetalTextFieldUI, it can use a caret
that selects all text when the field gains focus via the keyboard.- Version:
- $Revision: 1.9 $
-
Nested Class Summary
Nested classes/interfaces inherited from class BasicTextUI
BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CaretCreates the caret for a field.static ComponentUICreates a UI for a JTextField.Methods inherited from class MetalTextFieldUI
propertyChangeMethods inherited from class BasicTextFieldUI
create, getBaseline, getBaselineResizeBehavior, getPropertyPrefixMethods inherited from class BasicTextUI
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, viewToModel2DMethods inherited from class TextUI
getToolTipText2DMethods inherited from class ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount
-
Constructor Details
-
PlasticTextFieldUI
public PlasticTextFieldUI()
-
-
Method Details
-
createUI
Creates a UI for a JTextField.- Parameters:
c- the text field- Returns:
- the UI
-
createCaret
Creates the caret for a field.- Overrides:
createCaretin classBasicTextUI- Returns:
- the caret
-