Package org.kopi.vkopi.lib.ui.swing.plaf
Class KopiTextPaneUI
- 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
-
- org.kopi.vkopi.lib.ui.swing.plaf.KopiTextPaneUI
-
- All Implemented Interfaces:
javax.swing.text.ViewFactory
public class KopiTextPaneUI extends javax.swing.plaf.basic.BasicTextPaneUI
-
-
Constructor Summary
Constructors Constructor Description KopiTextPaneUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent c)voidinstallUI(javax.swing.JComponent c)protected voidpaintBackground(java.awt.Graphics g)Paints a background for the view.-
Methods inherited from class javax.swing.plaf.basic.BasicTextPaneUI
getPropertyPrefix, propertyChange
-
Methods inherited from class javax.swing.plaf.basic.BasicTextUI
create, create, createCaret, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getKeymapName, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getToolTipText, getVisibleEditorRect, installDefaults, installKeyboardActions, installListeners, modelChanged, modelToView, modelToView, modelToView2D, paint, paintSafely, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, update, viewToModel, viewToModel, viewToModel2D
-
-
-
-
Method Detail
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
-
installUI
public void installUI(javax.swing.JComponent c)
- Overrides:
installUIin classjavax.swing.plaf.basic.BasicTextPaneUI
-
paintBackground
protected void paintBackground(java.awt.Graphics g)
Paints a background for the view. This will only be called if isOpaque() on the associated component is true. The default is to paint the background color of the component.- Overrides:
paintBackgroundin classjavax.swing.plaf.basic.BasicTextUI- Parameters:
g- the graphics context
-
-