Save This Page
Home » openjdk-7 » javax » swing » plaf » synth » [javadoc | source]
javax.swing.plaf.synth
class: SynthTextPaneUI [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.synth.SynthEditorPaneUI
                  javax.swing.plaf.synth.SynthTextPaneUI

All Implemented Interfaces:
    SynthUI, ViewFactory

Provides the look and feel for a styled text editor in the Synth look and feel.

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
Method from javax.swing.plaf.synth.SynthTextPaneUI Summary:
createUI,   getPropertyPrefix,   installUI,   paintBackground,   paintBorder,   propertyChange
Methods from javax.swing.plaf.synth.SynthEditorPaneUI:
createUI,   getContext,   installDefaults,   paint,   paintBackground,   paintBackground,   paintBorder,   propertyChange,   uninstallDefaults,   update
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.synth.SynthTextPaneUI 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) 
  void paintBackground(SynthContext context,
    Graphics g,
    JComponent c) 
 public  void paintBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
 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.