Package org.compiere.plaf
Class CompiereTextAreaUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.TextUI
-
- javax.swing.plaf.basic.BasicTextUI
-
- javax.swing.plaf.basic.BasicTextAreaUI
-
- org.compiere.plaf.CompiereTextAreaUI
-
- All Implemented Interfaces:
ViewFactory
public class CompiereTextAreaUI extends BasicTextAreaUI
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicTextUI
BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighter
-
-
Constructor Summary
Constructors Constructor Description CompiereTextAreaUI(JComponent ta)
Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Keymap
createKeymap()
Create Keymapstatic ComponentUI
createUI(JComponent ta)
Creates a UI for a JTextArea.protected void
propertyChange(PropertyChangeEvent evt)
Property Change-
Methods inherited from class javax.swing.plaf.basic.BasicTextAreaUI
create, getBaseline, getBaselineResizeBehavior, getMinimumSize, getPreferredSize, getPropertyPrefix, installDefaults
-
Methods inherited from class javax.swing.plaf.basic.BasicTextUI
create, createCaret, createHighlighter, damageRange, damageRange, getComponent, getEditorKit, getKeymapName, getMaximumSize, getNextVisualPositionFrom, getRootView, getToolTipText, getVisibleEditorRect, installKeyboardActions, installListeners, installUI, modelChanged, modelToView, modelToView, modelToView2D, paint, paintBackground, paintSafely, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update, viewToModel, viewToModel, viewToModel2D
-
Methods inherited from class javax.swing.plaf.TextUI
getToolTipText2D
-
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount
-
-
-
-
Constructor Detail
-
CompiereTextAreaUI
public CompiereTextAreaUI(JComponent ta)
Constructor- Parameters:
ta
- text area
-
-
Method Detail
-
createUI
public static ComponentUI createUI(JComponent ta)
Creates a UI for a JTextArea. Tab is the normal focus traversal key - to enter Tab enter Ctrl-Tab- Parameters:
ta
- a text area- Returns:
- the UI
-
createKeymap
protected Keymap createKeymap()
Create Keymap- Overrides:
createKeymap
in classBasicTextUI
- Returns:
- key Map
-
propertyChange
protected void propertyChange(PropertyChangeEvent evt)
Property Change- Overrides:
propertyChange
in classBasicTextAreaUI
- Parameters:
evt
- event
-
-