| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.javatools.ui.simplestyle.StyledTextRenderer
public class StyledTextRenderer
Class to facilitate the drawing of simple styled text. Simple styled text is designed to allow the easy and quick rendering of text of various colors and fonts without the overhead of full html or other complex styling.
| Field Summary | |
|---|---|
static java.lang.String | 
ellipses
 | 
| Constructor Summary | |
|---|---|
StyledTextRenderer()
 | 
|
| Method Summary | |
|---|---|
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)
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final java.lang.String ellipses
| Constructor Detail | 
|---|
public StyledTextRenderer()
| Method Detail | 
|---|
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)
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||