All Packages Class Hierarchy This Package Previous Next Index
Class java.awt.swing.motif.MotifTextPaneUI
java.lang.Object
|
+----java.awt.swing.plaf.ComponentUI
|
+----java.awt.swing.plaf.TextUI
|
+----java.awt.swing.text.DefaultTextUI
|
+----java.awt.swing.motif.MotifTextUI
|
+----java.awt.swing.motif.MotifTextAreaUI
|
+----java.awt.swing.motif.MotifTextPaneUI
- public class MotifTextPaneUI
- extends MotifTextAreaUI
Provides the look and feel for a styled text editor.
MotifTextPaneUI()
-
createUI(JComponent)
- Creates a UI for the JTextPane.
getEditorKit()
- Fetches the EditorKit for the UI.
getPropertyPrefix()
- Name used as a key to lookup properties through the
UIManager.
MotifTextPaneUI
public MotifTextPaneUI()
createUI
public static ComponentUI createUI(JComponent c)
- Creates a UI for the JTextPane.
- Parameters:
- c - the JTextPane object
- Returns:
- the UI
getPropertyPrefix
protected String getPropertyPrefix()
- Name used as a key to lookup properties through the
UIManager. This is used as a prefix to all the standard
text properties.
- Overrides:
- getPropertyPrefix in class MotifTextAreaUI
getEditorKit
public EditorKit getEditorKit()
- Fetches the EditorKit for the UI. This is implemented
to return a shared StyledEditorKit.
- Returns:
- the editor capabilities
- Overrides:
- getEditorKit in class DefaultTextUI
- See Also:
- getEditorKit, StyledEditorKit
All Packages Class Hierarchy This Package Previous Next Index
Submit a bug or feature