API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf. TextUI View Source
Author(s)
Timothy Prinzing
Since
Version
1.34 02/14/06
Serial
Hierarchy
 Object
      ComponentUI
          TextUI
Implements
Subclasses
Description
publicabstract abstract class TextUI
Text editor user interface
See also:   
Constructors
public TextUI ()
Methods
Hide/Show inherited methods
public boolean contains (JComponent c, int x, int y) [Inherited From ComponentUI]
  Returns true if the specified x,y location is contained within the look and feel's defined shape of the specified component.
publicstatic ComponentUI createUI (JComponent c) [Inherited From ComponentUI]
  Returns an instance of the UI delegate for the specified component.
publicabstract void damageRange (JTextComponent t, int p0, int p1)
  Causes the portion of the view responsible for the given part of the model to be repainted.
publicabstract void damageRange (JTextComponent t, int p0, int p1, Bias firstBias, Bias secondBias)
  Causes the portion of the view responsible for the given part of the model to be repainted.
public Accessible getAccessibleChild (JComponent c, int i) [Inherited From ComponentUI]
  Returns the ith Accessible child of the object.
public int getAccessibleChildrenCount (JComponent c) [Inherited From ComponentUI]
  Returns the number of accessible children in the object.
public int getBaseline (JComponent c, int width, int height) [Inherited From ComponentUI]
  Returns the baseline.
public BaselineResizeBehavior getBaselineResizeBehavior (JComponent c) [Inherited From ComponentUI]
  Returns an enum indicating how the baseline of he component changes as the size changes.
publicabstract EditorKit getEditorKit (JTextComponent t)
  Fetches the binding of services that set a policy for the type of document being edited.
public Dimension getMaximumSize (JComponent c) [Inherited From ComponentUI]
  Returns the specified component's maximum size appropriate for the look and feel.
public Dimension getMinimumSize (JComponent c) [Inherited From ComponentUI]
  Returns the specified component's minimum size appropriate for the look and feel.
publicabstract int getNextVisualPositionFrom (JTextComponent t, int pos, Bias b, int direction, Bias biasRet) throws BadLocationException
  Provides a way to determine the next visually represented model location that one might place a caret.
public Dimension getPreferredSize (JComponent c) [Inherited From ComponentUI]
  Returns the specified component's preferred size appropriate for the look and feel.
publicabstract View getRootView (JTextComponent t)
  Fetches a View with the allocation of the associated text component (i.e.
public String getToolTipText (JTextComponent t, Point pt)
  Returns the string to be used as the tooltip at the passed in location.
public void installUI (JComponent c) [Inherited From ComponentUI]
  Configures the specified component appropriate for the look and feel.
publicabstract Rectangle modelToView (JTextComponent t, int pos) throws BadLocationException
  Converts the given location in the model to a place in the view coordinate system.
publicabstract Rectangle modelToView (JTextComponent t, int pos, Bias bias) throws BadLocationException
  Converts the given location in the model to a place in the view coordinate system.
public void paint (Graphics g, JComponent c) [Inherited From ComponentUI]
  Paints the specified component appropriate for the look and feel.
public void uninstallUI (JComponent c) [Inherited From ComponentUI]
  Reverses configuration which was done on the specified component during installUI.
public void update (Graphics g, JComponent c) [Inherited From ComponentUI]
  Notifies this UI delegate that it's time to paint the specified component.
publicabstract int viewToModel (JTextComponent t, Point pt)
  Converts the given place in the view coordinate system to the nearest representative location in the model.
publicabstract int viewToModel (JTextComponent t, Point pt, Bias biasReturn)
  Provides a mapping from the view coordinate space to the logical coordinate space of the model.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar