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

All Implemented Interfaces:
    ViewFactory

Provides the look and feel for a styled text editor.

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 .

Fields inherited from javax.swing.plaf.basic.BasicTextUI:
editor,  painted,  rootView,  updateHandler
Constructor:
 public BasicTextPaneUI() 
Method from javax.swing.plaf.basic.BasicTextPaneUI Summary:
createUI,   getPropertyPrefix,   installUI,   propertyChange
Methods from javax.swing.plaf.basic.BasicEditorPaneUI:
addActions,   cleanDisplayProperties,   createUI,   getActionMap,   getEditorKit,   getPropertyPrefix,   installUI,   propertyChange,   removeActions,   uninstallUI,   updateDisplayProperties
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.BasicTextPaneUI Detail:
 public static ComponentUI createUI(JComponent c) 
    Creates a UI for the JTextPane.
 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.
 public  void installUI(JComponent c) 
 protected  void propertyChange(PropertyChangeEvent evt) 
    This method gets called when a bound property is changed on the associated JTextComponent. This is a hook which UI implementations may change to reflect how the UI displays bound properties of JTextComponent subclasses. If the font, foreground or document has changed, the the appropriate property is set in the default style of the document.