Home » openjdk-7 » javax » swing » plaf » basic » [javadoc | source]
public class: BasicEditorPaneUI [javadoc | source]

All Implemented Interfaces:

Direct Known Subclasses:
    SynthEditorPaneUI, SynthTextPaneUI, BasicTextPaneUI

Provides the look and feel for a JEditorPane.

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  BasicEditorPaneUI.StyleSheetUIResource   
Fields inherited from javax.swing.plaf.basic.BasicTextUI:
editor,  painted,  rootView,  updateHandler
 public BasicEditorPaneUI() 
Method from javax.swing.plaf.basic.BasicEditorPaneUI Summary:
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.BasicEditorPaneUI Detail:
  void addActions(ActionMap map,
    Action[] actions) 
  void cleanDisplayProperties() 
 public static ComponentUI createUI(JComponent c) 
    Creates a UI for the JTextPane.
 ActionMap getActionMap() 
    Fetch an action map to use. The map for a JEditorPane is not shared because it changes with the EditorKit.
 public EditorKit getEditorKit(JTextComponent tc) 
    Fetches the EditorKit for the UI. This is whatever is currently set in the associated JEditorPane.
 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. This is implemented to rebuild the ActionMap based upon an EditorKit change.
  void removeActions(ActionMap map,
    Action[] actions) 
 public  void uninstallUI(JComponent c) 
  void updateDisplayProperties(Font font,
    Color fg)