java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.TextUI
javax.swing.plaf.basic.BasicTextUI
javax.swing.plaf.basic.BasicTextAreaUI
org.gtk.java.swing.plaf.gtk.GtkTextAreaUI
- All Implemented Interfaces:
- javax.swing.text.ViewFactory
- public class GtkTextAreaUI
- extends javax.swing.plaf.basic.BasicTextAreaUI
Provides the look and feel for a plain text editor. In this
implementation the default UI is extended to act as a simple
view factory.
Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is appropriate
for short term storage or RMI between applications running the same
version of Swing. A future release of Swing will provide support for
long term persistence.
- Version:
- 1.17 08/28/98
| Nested classes inherited from class javax.swing.plaf.basic.BasicTextUI |
javax.swing.plaf.basic.BasicTextUI.BasicCaret, javax.swing.plaf.basic.BasicTextUI.BasicHighlighter |
| Fields inherited from class javax.swing.plaf.basic.BasicTextUI |
|
| Methods inherited from class javax.swing.plaf.basic.BasicTextUI |
create, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getEditorKit, getKeymapName, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getVisibleEditorRect, installDefaults, installKeyboardActions, installListeners, installUI, modelChanged, modelToView, modelToView, paint, paintBackground, paintSafely, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update, viewToModel, viewToModel |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GtkTextAreaUI
public GtkTextAreaUI()
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent ta)
- Creates a UI for a JTextArea.
createCaret
protected javax.swing.text.Caret createCaret()
- Creates the object to use for a caret. By default an
instance of GtkTextUI.GtkCaret is created. This method
can be redefined to provide something else that implements
the Caret interface.