Package net.sf.freecol.client.gui.plaf
Class FreeColTextFieldUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.TextUI
-
- javax.swing.plaf.basic.BasicTextUI
-
- javax.swing.plaf.basic.BasicTextFieldUI
-
- net.sf.freecol.client.gui.plaf.FreeColTextFieldUI
-
- All Implemented Interfaces:
javax.swing.text.ViewFactory
- Direct Known Subclasses:
FreeColFormattedTextFieldUI
public class FreeColTextFieldUI extends javax.swing.plaf.basic.BasicTextFieldUIProvides a tiled background image "image.background.FreeColTextField" to text fields.
-
-
Field Summary
Fields Modifier and Type Field Description private javax.swing.JComponentc
-
Constructor Summary
Constructors Modifier Constructor Description protectedFreeColTextFieldUI(javax.swing.JComponent c)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent c)voidpaintBackground(java.awt.Graphics g)voidpaintSafely(java.awt.Graphics g)-
Methods inherited from class javax.swing.plaf.basic.BasicTextFieldUI
create, getBaseline, getBaselineResizeBehavior, getPropertyPrefix
-
Methods inherited from class javax.swing.plaf.basic.BasicTextUI
create, createCaret, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getEditorKit, getKeymapName, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getToolTipText, getVisibleEditorRect, installDefaults, installKeyboardActions, installListeners, installUI, modelChanged, modelToView, modelToView, modelToView2D, paint, propertyChange, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update, viewToModel, viewToModel, viewToModel2D
-
-
-
-
Method Detail
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
-
paintSafely
public void paintSafely(java.awt.Graphics g)
- Overrides:
paintSafelyin classjavax.swing.plaf.basic.BasicTextUI
-
paintBackground
public void paintBackground(java.awt.Graphics g)
- Overrides:
paintBackgroundin classjavax.swing.plaf.basic.BasicTextUI
-
-