public class StyledTextRenderer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ellipses |
Constructor and Description |
---|
StyledTextRenderer() |
Modifier and Type | Method and Description |
---|---|
static int |
getMaxAscent(javax.swing.JComponent c,
StyledTextModel model,
int line) |
static int |
getMaxDescent(javax.swing.JComponent c,
StyledTextModel model,
int line) |
static java.awt.Dimension |
getPreferredSize(javax.swing.JComponent c,
StyledTextModel model) |
static void |
renderText(javax.swing.JComponent c,
java.awt.Graphics graphics,
StyledTextModel model,
int x,
int y) |
public static final java.lang.String ellipses
public static void renderText(javax.swing.JComponent c, java.awt.Graphics graphics, StyledTextModel model, int x, int y)
public static java.awt.Dimension getPreferredSize(javax.swing.JComponent c, StyledTextModel model)
public static int getMaxAscent(javax.swing.JComponent c, StyledTextModel model, int line)
public static int getMaxDescent(javax.swing.JComponent c, StyledTextModel model, int line)