BasicFormattedTextFieldUI (Java 2 Platform SE 5.0) (original) (raw)


javax.swing.plaf.basic

Class BasicFormattedTextFieldUI

java.lang.Object extended by javax.swing.plaf.ComponentUI extended by javax.swing.plaf.TextUI extended by javax.swing.plaf.basic.BasicTextUI extended by javax.swing.plaf.basic.BasicTextFieldUI extended by javax.swing.plaf.basic.BasicFormattedTextFieldUI

All Implemented Interfaces:

ViewFactory


public class BasicFormattedTextFieldUI

extends BasicTextFieldUI

Provides the look and feel implementation forJFormattedTextField.

Since:

1.4


Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicTextUI
BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighter
Constructor Summary
BasicFormattedTextFieldUI()
Method Summary
static ComponentUI createUI(JComponent c) Creates a UI for a JFormattedTextField.
protected String getPropertyPrefix() Fetches the name used as a key to lookup properties through the UIManager.
Methods inherited from class javax.swing.plaf.basic.BasicTextFieldUI
create, installUI, propertyChange
Methods inherited from class javax.swing.plaf.basic.BasicTextUI
[create](../../../../javax/swing/plaf/basic/BasicTextUI.html#create%28javax.swing.text.Element, int, int%29), createCaret, createHighlighter, createKeymap, [damageRange](../../../../javax/swing/plaf/basic/BasicTextUI.html#damageRange%28javax.swing.text.JTextComponent, int, int%29), [damageRange](../../../../javax/swing/plaf/basic/BasicTextUI.html#damageRange%28javax.swing.text.JTextComponent, int, int, javax.swing.text.Position.Bias, javax.swing.text.Position.Bias%29), getComponent, getEditorKit, getKeymapName, getMaximumSize, getMinimumSize, [getNextVisualPositionFrom](../../../../javax/swing/plaf/basic/BasicTextUI.html#getNextVisualPositionFrom%28javax.swing.text.JTextComponent, int, javax.swing.text.Position.Bias, int, javax.swing.text.Position.Bias[]%29), getPreferredSize, getRootView, [getToolTipText](../../../../javax/swing/plaf/basic/BasicTextUI.html#getToolTipText%28javax.swing.text.JTextComponent, java.awt.Point%29), getVisibleEditorRect, installDefaults, installKeyboardActions, installListeners, modelChanged, [modelToView](../../../../javax/swing/plaf/basic/BasicTextUI.html#modelToView%28javax.swing.text.JTextComponent, int%29), [modelToView](../../../../javax/swing/plaf/basic/BasicTextUI.html#modelToView%28javax.swing.text.JTextComponent, int, javax.swing.text.Position.Bias%29), [paint](../../../../javax/swing/plaf/basic/BasicTextUI.html#paint%28java.awt.Graphics, javax.swing.JComponent%29), paintBackground, paintSafely, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, [update](../../../../javax/swing/plaf/basic/BasicTextUI.html#update%28java.awt.Graphics, javax.swing.JComponent%29), [viewToModel](../../../../javax/swing/plaf/basic/BasicTextUI.html#viewToModel%28javax.swing.text.JTextComponent, java.awt.Point%29), [viewToModel](../../../../javax/swing/plaf/basic/BasicTextUI.html#viewToModel%28javax.swing.text.JTextComponent, java.awt.Point, javax.swing.text.Position.Bias[]%29)
Methods inherited from class javax.swing.plaf.ComponentUI
[contains](../../../../javax/swing/plaf/ComponentUI.html#contains%28javax.swing.JComponent, int, int%29), [getAccessibleChild](../../../../javax/swing/plaf/ComponentUI.html#getAccessibleChild%28javax.swing.JComponent, int%29), getAccessibleChildrenCount
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, [wait](../../../../java/lang/Object.html#wait%28long, int%29)
Constructor Detail

BasicFormattedTextFieldUI

public BasicFormattedTextFieldUI()

Method Detail

createUI

public static ComponentUI createUI(JComponent c)

Creates a UI for a JFormattedTextField.

Parameters:

c - the formatted text field

Returns:

the UI


getPropertyPrefix

protected String getPropertyPrefix()

Fetches the name used as a key to lookup properties through the UIManager. This is used as a prefix to all the standard text properties.

Overrides:

[getPropertyPrefix](../../../../javax/swing/plaf/basic/BasicTextFieldUI.html#getPropertyPrefix%28%29) in class [BasicTextFieldUI](../../../../javax/swing/plaf/basic/BasicTextFieldUI.html "class in javax.swing.plaf.basic")

Returns:

the name "FormattedTextField"



Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 2004, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.