|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.neu.ccs.gui.TextBounds
The TextBounds class defines an interface that specifies
how to compute accurate bounds for a TextPaintable.
The TextBounds class also defines static objects that
implement the interface it defines.
The TextBounds class cannot be instantiated.
In 2.4.0, this class was updated to be consistent with
refinements to the Paintable interface.
| Nested Class Summary | |
static interface |
TextBounds.Strategy
The Strategy interface defines the call-back method
needed to compute accurate bounds for a TextPaintable. |
| Field Summary | |
static TextBounds.Strategy |
LOOSE
The LOOSE Strategy produces loose bounds on
the TextPaintable by calling the method
getLooseBounds. |
static TextBounds.Strategy |
TIGHT
The TIGHT Strategy produces tight bounds on
the TextPaintable by calling the method
getTightBounds. |
| Constructor Summary | |
private |
TextBounds()
Private constructor to prevent instantiation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static TextBounds.Strategy TIGHT
The TIGHT Strategy produces tight bounds on
the TextPaintable by calling the method
getTightBounds.
public static TextBounds.Strategy LOOSE
The LOOSE Strategy produces loose bounds on
the TextPaintable by calling the method
getLooseBounds.
| Constructor Detail |
private TextBounds()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||