com.jgoodies.looks.windows
Class WindowsFormattedTextFieldUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.TextUI
javax.swing.plaf.basic.BasicTextUI
javax.swing.plaf.basic.BasicTextFieldUI
javax.swing.plaf.basic.BasicFormattedTextFieldUI
com.jgoodies.looks.windows.WindowsFormattedTextFieldUI
- All Implemented Interfaces:
- ViewFactory
public final class WindowsFormattedTextFieldUI
- extends BasicFormattedTextFieldUI
The JGoodies Windows L&F implementation of FormattedTextFieldUI
.
It uses a caret that selects all text if the field gains focus
after a keyboard focus traversal.
- Version:
- $Revision: 1.2 $
- Author:
- Karsten Lentzsch
Methods inherited from class javax.swing.plaf.basic.BasicTextUI |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WindowsFormattedTextFieldUI
public WindowsFormattedTextFieldUI()
createUI
public static ComponentUI createUI(JComponent c)
- Creates a UI for a JFormattedTextField.
- Parameters:
c
- the formatted text field
- Returns:
- the UI
createCaret
protected Caret createCaret()
- Creates the caret for a field.
- Overrides:
createCaret
in class BasicTextUI
- Returns:
- the caret
Copyright © 2001-2007 JGoodies Karsten Lentzsch. All Rights Reserved.