Java Platform 1.2
Beta 4

Uses of Class
com.sun.java.swing.text.JTextComponent

Packages that use JTextComponent
com.sun.java.swing Provides a set of "lightweight" (all-Java
com.sun.java.swing.plaf Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities.  
com.sun.java.swing.text Provides classes and interfaces that deal with editable and noneditable text components.  
com.sun.java.swing.tree Provides classes and interfaces for dealing with java.awt.swing. 
 

Uses of JTextComponent in com.sun.java.swing
 

Subclasses of JTextComponent in com.sun.java.swing
  JEditorPane
          A text pane to edit various kinds of content, such as html and rtf.
  JPasswordField
          JPasswordField is a lightweight component that allows the editing of a single line of text where the view indicates something was typed, but does not show the original characters.
  JTextArea
          A TextArea is a multi-line area that displays plain text.
  JTextField
          JTextField is a lightweight component that allows the editing of a single line of text.
  JTextPane
          A text component that can be marked up with attributes that are represented graphically.
 

Uses of JTextComponent in com.sun.java.swing.plaf
 

Methods in com.sun.java.swing.plaf with parameters of type JTextComponent
abstract  Rectangle TextUI.modelToView(JTextComponent t, int pos)
          Converts the given location in the model to a place in the view coordinate system.
abstract  int TextUI.viewToModel(JTextComponent t, Point pt)
          Converts the given place in the view coordinate system to the nearest representative location in the model.
abstract  void TextUI.damageRange(JTextComponent t, int p0, int p1)
          Causes the portion of the view responsible for the given part of the model to be repainted.
abstract  EditorKit TextUI.getEditorKit(JTextComponent t)
          Fetches the binding of services that set a policy for the type of document being edited.
abstract  View TextUI.getRootView(JTextComponent t)
          Fetches a View with the allocation of the associated text component (i.e. the root of the hierarchy) that can be traversed to determine how the model is being represented spatially.
 

Uses of JTextComponent in com.sun.java.swing.text
 

Methods in com.sun.java.swing.text that return JTextComponent
protected  JTextComponent TextAction.getTextComponent(ActionEvent e)
          Determines the component to use for the action.
protected  JTextComponent TextAction.getFocusedComponent()
          Fetches the text component that currently has focus.
protected  JTextComponent DefaultCaret.getComponent()
          Gets the editor component that this caret is for.
 

Methods in com.sun.java.swing.text with parameters of type JTextComponent
 void DefaultHighlighter.install(JTextComponent c)
          Called when the UI is being installed into the interface of a JTextComponent.
 void DefaultHighlighter.deinstall(JTextComponent c)
          Called when the UI is being removed from the interface of a JTextComponent.
 void DefaultHighlighter.DefaultHighlightPainter.paint(Graphics g, int offs0, int offs1, Shape bounds, JTextComponent c)
          Paints a highlight.
 void Highlighter.install(JTextComponent c)
          Called when the UI is being installed into the interface of a JTextComponent.
 void Highlighter.deinstall(JTextComponent c)
          Called when the UI is being removed from the interface of a JTextComponent.
 void Highlighter.HighlightPainter.paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent c)
          Renders the highlight.
 void Caret.install(JTextComponent c)
          Called when the UI is being installed into the interface of a JTextComponent.
 void Caret.deinstall(JTextComponent c)
          Called when the UI is being removed from the interface of a JTextComponent.
static int Utilities.getRowStart(JTextComponent c, int offs)
          Determines the starting row model position of the row that contains the specified model position.
static int Utilities.getRowEnd(JTextComponent c, int offs)
          Determines the ending row model position of the row that contains the specified model position.
static int Utilities.getPositionAbove(JTextComponent c, int offs, int x)
          Determines the position in the model that is closest to the given view location in the row above.
static int Utilities.getPositionBelow(JTextComponent c, int offs, int x)
          Determines the position in the model that is closest to the given view location in the row below.
static int Utilities.getWordStart(JTextComponent c, int offs)
          Determines the start of a word for the given model location.
static int Utilities.getWordEnd(JTextComponent c, int offs)
          Determines the end of a word for the given location.
static int Utilities.getNextWord(JTextComponent c, int offs)
          Determines the start of the next word for the given location.
static int Utilities.getPreviousWord(JTextComponent c, int offs)
          Determine the start of the next word for the given location.
static Element Utilities.getParagraphElement(JTextComponent c, int offs)
          Determines the element to use for a paragraph/line.
 void DefaultCaret.install(JTextComponent c)
          Called when the UI is being installed into the interface of a JTextComponent.
 void DefaultCaret.deinstall(JTextComponent c)
          Called when the UI is being removed from the interface of a JTextComponent.
 

Constructors in com.sun.java.swing.text with parameters of type JTextComponent
JTextComponent.AccessibleJTextComponent.JTextComponent.AccessibleJTextComponent()
          Constructs an AccessibleJTextComponent.
 

Uses of JTextComponent in com.sun.java.swing.tree
 

Subclasses of JTextComponent in com.sun.java.swing.tree
  DefaultTreeCellEditor.DefaultTextField
          TextField used when no editor is supplied.
 


Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.