| javax.swing.text.DefaultGlyphPainter
DefaultGlyphPainter | final class DefaultGlyphPainter extends GlyphPainter (Code) | | Default GlyphPainter which is used when a GlyphView needs a painter but
none was set.
|
Method Summary | |
int | drawSelectedText(TextPainter tp, Graphics g, int start, int end, int x, int y) | int | drawText(GlyphView v, Graphics g, int start, int end, int x, int y) | int | drawUnselectedText(TextPainter tp, Graphics g, int start, int end, int x, int y) | public float | getAscent(GlyphView v) | public int | getBoundedPosition(GlyphView v, int startOffset, float x, float len) | static GlyphPainter | getDefaultPainter() | public float | getDescent(GlyphView v) | static FontMetrics | getFontMetrics(GlyphView v) | static FontMetrics | getFontMetrics(GlyphView v, Font font) | public float | getHeight(GlyphView v) | public float | getSpan(GlyphView v, int startOffset, int endOffset, TabExpander tabExpander, float x) | public Shape | modelToView(GlyphView v, int offset, Bias bias, Shape alloc) | public void | paint(GlyphView v, Graphics g, Shape alloc, int startOffset, int endOffset) | public int | viewToModel(GlyphView v, float x, float y, Shape alloc, Bias[] biasReturn) |
getBoundedPosition | public int getBoundedPosition(GlyphView v, int startOffset, float x, float len)(Code) | | |
getDefaultPainter | static GlyphPainter getDefaultPainter()(Code) | | |
viewToModel | public int viewToModel(GlyphView v, float x, float y, Shape alloc, Bias[] biasReturn)(Code) | | |
|
|