|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.swtchart.internal.Util
public final class Util
A utility class providing generic methods.
Constructor Summary | |
---|---|
Util()
|
Method Summary | |
---|---|
static Point |
getExtentInGC(Font font,
java.lang.String text)
Gets the text extent with given font in GC. |
static int |
getIndexDefinedInSWT(LineStyle lineStyle)
Gets the index defined in SWT. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Util()
Method Detail |
---|
public static Point getExtentInGC(Font font, java.lang.String text)
null
or already disposed, point containing size zero will be
returned.
font
- the fonttext
- the text
public static int getIndexDefinedInSWT(LineStyle lineStyle)
lineStyle
- the line style
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |