org.tentackle.plaf.tplastic
Class TPlasticTextFieldUI

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 com.incors.plaf.kunststoff.KunststoffTextFieldUI
                      extended by org.tentackle.plaf.tplastic.TPlasticTextFieldUI
All Implemented Interfaces:
ViewFactory

public class TPlasticTextFieldUI
extends com.incors.plaf.kunststoff.KunststoffTextFieldUI

UI for JTextField/FormField. Adds vertical alignment (i.e. in FormTables with autoRowHeight).

Author:
harald

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicTextUI
BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighter
 
Field Summary
 
Fields inherited from class com.incors.plaf.kunststoff.KunststoffTextFieldUI
myComponent
 
Constructor Summary
TPlasticTextFieldUI()
          Creates a new BasicTextFieldUI.
TPlasticTextFieldUI(JComponent c)
          Creates a new BasicTextFieldUI.
 
Method Summary
 View create(Element elem)
          Creates a view (FieldView) based on an element.
static ComponentUI createUI(JComponent c)
           
 
Methods inherited from class com.incors.plaf.kunststoff.KunststoffTextFieldUI
paintBackground
 
Methods inherited from class javax.swing.plaf.basic.BasicTextFieldUI
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, paintSafely, 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
 

Constructor Detail

TPlasticTextFieldUI

public TPlasticTextFieldUI(JComponent c)
Creates a new BasicTextFieldUI.


TPlasticTextFieldUI

public TPlasticTextFieldUI()
Creates a new BasicTextFieldUI.

Method Detail

createUI

public static ComponentUI createUI(JComponent c)

create

public View create(Element elem)
Creates a view (FieldView) based on an element.

Specified by:
create in interface ViewFactory
Overrides:
create in class BasicTextFieldUI
Parameters:
elem - the element
Returns:
the view
See Also:
View


Copyright © 2001-2008 Harald Krake, Bergstr. 48, 78098 Triberg, Germany, harald@krake.de