javax.swing.plaf.basic
Class BasicEditorPaneUI

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.BasicEditorPaneUI
All Implemented Interfaces:
ViewFactory
Direct Known Subclasses:
BasicTextPaneUI

public class BasicEditorPaneUI
extends BasicTextUI

The UI class for JEditorPanes.


Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicTextUI
BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighter
 
Constructor Summary
BasicEditorPaneUI()
          Creates a new BasicEditorPaneUI
 
Method Summary
static ComponentUI createUI(JComponent comp)
          Creates an instance of BasicEditorPaneUI for the text component comp.
 EditorKit getEditorKit(JTextComponent textComponent)
          Gets the EditorKit for the text component.
protected  String getPropertyPrefix()
          Returns the property prefix to be used by this UI class.
 
Methods inherited from class javax.swing.plaf.basic.BasicTextUI
create, create, createCaret, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getKeymapName, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getVisibleEditorRect, installDefaults, installKeyboardActions, installListeners, installUI, modelChanged, modelToView, modelToView, paint, paintBackground, paintSafely, propertyChange, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update, viewToModel, viewToModel
 
Methods inherited from class javax.swing.plaf.TextUI
getToolTipText
 
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

BasicEditorPaneUI

public BasicEditorPaneUI()
Creates a new BasicEditorPaneUI

Method Detail

createUI

public static ComponentUI createUI(JComponent comp)
Creates an instance of BasicEditorPaneUI for the text component comp.

Parameters:
comp - the component for which to create an UI
Returns:
the UI for comp

getPropertyPrefix

protected String getPropertyPrefix()
Returns the property prefix to be used by this UI class. This is EditorPane in this case.

Specified by:
getPropertyPrefix in class BasicTextUI
Returns:
EditorPane

getEditorKit

public EditorKit getEditorKit(JTextComponent textComponent)
Gets the EditorKit for the text component.

Overrides:
getEditorKit in class BasicTextUI
Parameters:
textComponent - the text component for which to fetch the editor kit
Returns:
the EditorKit used for the text component that is managed by this UI