public class PaletteFormattedTextFieldUI
extends javax.swing.plaf.basic.BasicFormattedTextFieldUI
Constructor and Description |
---|
PaletteFormattedTextFieldUI() |
Modifier and Type | Method and Description |
---|---|
javax.swing.text.View |
create(javax.swing.text.Element elem)
Creates a view (FieldView) based on an element.
|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
Creates a UI for a JTextField.
|
protected void |
installDefaults()
Initializes component properties, e.g.
|
void |
paintBackground(java.awt.Graphics g) |
protected void |
paintSafely(java.awt.Graphics gr) |
getBaseline, getBaselineResizeBehavior
create, createCaret, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getEditorKit, getKeymapName, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getToolTipText, getVisibleEditorRect, installKeyboardActions, installListeners, installUI, modelChanged, modelToView, modelToView, paint, propertyChange, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update, viewToModel, viewToModel
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
c
- the text fieldpublic javax.swing.text.View create(javax.swing.text.Element elem)
create
in interface javax.swing.text.ViewFactory
create
in class javax.swing.plaf.basic.BasicTextFieldUI
elem
- the elementprotected void installDefaults()
installDefaults
in class javax.swing.plaf.basic.BasicTextUI
BasicTextUI.uninstallDefaults()
,
BasicTextUI.installUI(javax.swing.JComponent)
protected void paintSafely(java.awt.Graphics gr)
paintSafely
in class javax.swing.plaf.basic.BasicTextUI
public void paintBackground(java.awt.Graphics g)
paintBackground
in class javax.swing.plaf.basic.BasicTextUI