Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.gtk.java.swing.plaf.gtk
Class GtkTextAreaUI  view GtkTextAreaUI download GtkTextAreaUI.java

java.lang.Object
  extended byjavax.swing.plaf.ComponentUI
      extended byjavax.swing.plaf.TextUI
          extended byjavax.swing.plaf.basic.BasicTextUI
              extended byjavax.swing.plaf.basic.BasicTextAreaUI
                  extended byorg.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 Class Summary
 
Nested classes inherited from class javax.swing.plaf.basic.BasicTextUI
javax.swing.plaf.basic.BasicTextUI.BasicCaret, javax.swing.plaf.basic.BasicTextUI.BasicHighlighter
 
Field Summary
 
Fields inherited from class javax.swing.plaf.basic.BasicTextUI
 
Constructor Summary
GtkTextAreaUI()
           
 
Method Summary
protected  javax.swing.text.Caret createCaret()
          Creates the object to use for a caret.
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent ta)
          Creates a UI for a JTextArea.
 
Methods inherited from class javax.swing.plaf.basic.BasicTextAreaUI
create, getPropertyPrefix, propertyChange
 
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 javax.swing.plaf.TextUI
getToolTipText
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GtkTextAreaUI

public GtkTextAreaUI()
Method Detail

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.