Home » openjdk-7 » javax » swing » plaf » basic » [javadoc | source]
javax.swing.plaf.basic
public class: BasicTextFieldUI [javadoc | source]
java.lang.Object
   javax.swing.plaf.ComponentUI
      javax.swing.plaf.TextUI
         javax.swing.plaf.basic.BasicTextUI
            javax.swing.plaf.basic.BasicTextFieldUI

All Implemented Interfaces:
    ViewFactory

Direct Known Subclasses:
    SynthTextFieldUI, BasicPasswordFieldUI, SynthFormattedTextFieldUI, BasicFormattedTextFieldUI, MetalTextFieldUI, SynthPasswordFieldUI

Basis of a look and feel for a JTextField.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeansTM has been added to the java.beans package. Please see java.beans.XMLEncoder .

Nested Class Summary:
static class  BasicTextFieldUI.I18nFieldView  A field view that support bidirectional text via the support provided by ParagraphView. 
Fields inherited from javax.swing.plaf.basic.BasicTextUI:
editor,  painted,  rootView,  updateHandler
Constructor:
 public BasicTextFieldUI() 
Method from javax.swing.plaf.basic.BasicTextFieldUI Summary:
create,   createUI,   getBaseline,   getBaselineResizeBehavior,   getPropertyPrefix
Methods from javax.swing.plaf.basic.BasicTextUI:
create,   create,   createActionMap,   createCaret,   createHighlighter,   createKeymap,   damageRange,   damageRange,   getActionMap,   getComponent,   getEditorKit,   getInputMap,   getKeymapName,   getMaximumSize,   getMinimumSize,   getNextVisualPositionFrom,   getPreferredSize,   getPropertyPrefix,   getRootView,   getToolTipText,   getTransferHandler,   getVisibleEditorRect,   installDefaults,   installKeyboardActions,   installListeners,   installUI,   modelChanged,   modelToView,   modelToView,   paint,   paintBackground,   paintSafely,   propertyChange,   setView,   uninstallDefaults,   uninstallKeyboardActions,   uninstallListeners,   uninstallUI,   update,   updateFocusAcceleratorBinding,   updateFocusTraversalKeys,   viewToModel,   viewToModel
Methods from javax.swing.plaf.TextUI:
damageRange,   damageRange,   getEditorKit,   getNextVisualPositionFrom,   getRootView,   getToolTipText,   modelToView,   modelToView,   viewToModel,   viewToModel
Methods from javax.swing.plaf.ComponentUI:
contains,   createUI,   getAccessibleChild,   getAccessibleChildrenCount,   getBaseline,   getBaselineResizeBehavior,   getMaximumSize,   getMinimumSize,   getPreferredSize,   installUI,   paint,   uninstallUI,   update
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.plaf.basic.BasicTextFieldUI Detail:
 public View create(Element elem) 
    Creates a view (FieldView) based on an element.
 public static ComponentUI createUI(JComponent c) 
    Creates a UI for a JTextField.
 public int getBaseline(JComponent c,
    int width,
    int height) 
    Returns the baseline.
 public BaselineResizeBehavior getBaselineResizeBehavior(JComponent c) 
    Returns an enum indicating how the baseline of the component changes as the size changes.
 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.