net.sf.freecol.client.gui.plaf
Class FreeColTextFieldUI

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 net.sf.freecol.client.gui.plaf.FreeColTextFieldUI
All Implemented Interfaces:
javax.swing.text.ViewFactory

public class FreeColTextFieldUI
extends javax.swing.plaf.basic.BasicTextFieldUI

Provides a tiled background image "background.FreeColTextField" to text fields.


Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicTextUI
javax.swing.plaf.basic.BasicTextUI.BasicCaret, javax.swing.plaf.basic.BasicTextUI.BasicHighlighter
 
Field Summary
private  javax.swing.JComponent c
           
 
Constructor Summary
FreeColTextFieldUI(javax.swing.JComponent c)
           
 
Method Summary
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
           
 void paintBackground(java.awt.Graphics g)
           
 void paintSafely(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, paint, propertyChange, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update, viewToModel, viewToModel
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

c

private javax.swing.JComponent c
Constructor Detail

FreeColTextFieldUI

public FreeColTextFieldUI(javax.swing.JComponent c)
Method Detail

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)

paintSafely

public void paintSafely(java.awt.Graphics g)
Overrides:
paintSafely in class javax.swing.plaf.basic.BasicTextUI

paintBackground

public void paintBackground(java.awt.Graphics g)
Overrides:
paintBackground in class javax.swing.plaf.basic.BasicTextUI