Package org.kopi.vkopi.lib.ui.swing.plaf
Class KopiTextAreaUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.TextUI
-
- javax.swing.plaf.basic.BasicTextUI
-
- javax.swing.plaf.basic.BasicTextAreaUI
-
- org.kopi.vkopi.lib.ui.swing.plaf.KopiTextAreaUI
-
- All Implemented Interfaces:
javax.swing.text.ViewFactory
public class KopiTextAreaUI extends javax.swing.plaf.basic.BasicTextAreaUI
-
-
Constructor Summary
Constructors Constructor Description KopiTextAreaUI()
-
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.BasicTextAreaUI
create, getBaseline, getBaselineResizeBehavior, getMinimumSize, getPreferredSize, getPropertyPrefix, installDefaults, propertyChange
-
Methods inherited from class javax.swing.plaf.basic.BasicTextUI
create, createCaret, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getEditorKit, getKeymapName, getMaximumSize, getNextVisualPositionFrom, getRootView, getToolTipText, getVisibleEditorRect, installKeyboardActions, installListeners, modelChanged, modelToView, modelToView, modelToView2D, paint, paintSafely, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, 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.BasicTextUI
-
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
-
-