Uses of Class javax.swing.text.GlyphView

Uses in package javax.swing.text.html

Classes derived from javax.swing.text.GlyphView

class
Renders HTML content (identified by HTML.Tag.CONTENT).

Uses in package javax.swing.text

Classes derived from javax.swing.text.GlyphView

class
A GlyphView that caches the textattributes for most effective rendering.

Methods with parameter type javax.swing.text.GlyphView

float
Returns the ascent of the font that is used by this glyph painter.
int
GlyphView.GlyphPainter.getBoundedPosition(GlyphView v, int p0, float x, float len)
Determines the model offset, so that the text between p0 and this offset fits within the span starting at x with the length of len.
float
Returns the descent of the font that is used by this glyph painter.
float
Returns the full height of the rendered text.
int
Returns the model location that should be used to place a caret when moving the caret through the document.
GlyphView.GlyphPainter
Returns a painter that can be used to render the specified glyph view.
float
GlyphView.GlyphPainter.getSpan(GlyphView view, int p0, int p1, TabExpander te, float x)
Determine the span of the glyphs from location p0 to location p1.
Shape
Maps a position in the document into the coordinate space of the View.
void
GlyphView.GlyphPainter.paint(GlyphView view, Graphics g, Shape a, int p0, int p1)
Paints the glyphs.
int
GlyphView.GlyphPainter.viewToModel(GlyphView v, float x, float y, Shape a, Position.Bias[] biasRet)
Maps a visual position into a document location.