API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.text. GlyphView.GlyphPainter View Source
Author(s)
Since
1.3
Version
Serial
Hierarchy
 Object
      GlyphView.GlyphPainter
Implements
Subclasses
Description
publicabstractstatic abstract class GlyphView.GlyphPainter
  A class to perform rendering of the glyphs.
See also:   
Constructors
public GlyphView.GlyphPainter ()
Methods
Hide/Show inherited methods
publicabstract float getAscent (GlyphView v)
publicabstract int getBoundedPosition (GlyphView v, int p0, float x, float len)
  Determines the model location that represents the maximum advance that fits within the given span.
publicabstract float getDescent (GlyphView v)
publicabstract float getHeight (GlyphView v)
public int getNextVisualPositionFrom (GlyphView v, int pos, Bias b, Shape a, int direction, Bias biasRet) throws BadLocationException
  Provides a way to determine the next visually represented model location that one might place a caret.
public GlyphPainter getPainter (GlyphView v, int p0, int p1)
  Create a painter to use for the given GlyphView.
publicabstract float getSpan (GlyphView v, int p0, int p1, TabExpander e, float x)
Determine the span the glyphs given a start location (for tab expansion).
publicabstract Shape modelToView (GlyphView v, int pos, Bias bias, Shape a) throws BadLocationException
  Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
publicabstract void paint (GlyphView v, Graphics g, Shape a, int p0, int p1)
Paint the glyphs representing the given range.
publicabstract int viewToModel (GlyphView v, float x, float y, Shape a, 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