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:
ViewFactory
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicTextUI
BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUIvoidprotected voidPaints a background for the view.Methods inherited from class javax.swing.plaf.basic.BasicTextPaneUI
getPropertyPrefix, propertyChangeMethods inherited from class javax.swing.plaf.basic.BasicEditorPaneUI
getEditorKit, uninstallUIMethods 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, viewToModel2DMethods inherited from class javax.swing.plaf.TextUI
getToolTipText2DMethods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior
-
Constructor Details
-
KopiTextPaneUI
public KopiTextPaneUI()
-
-
Method Details
-
createUI
-
installUI
- Overrides:
installUIin classBasicTextPaneUI
-
paintBackground
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 classBasicTextUI- Parameters:
g- the graphics context
-