|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.style.util.GraphicsUtils
Graphics-related utilities.
Constructor Summary | |
GraphicsUtils()
|
Method Summary | |
static boolean |
isFontName(ErrorLog errorLog,
java.lang.String name)
Tests whether the specified name is the name of a font in the current graphical environment. |
static boolean |
isFontName(java.lang.String name)
Deprecated. Please call isFontName(ErrorLog, String) |
static boolean |
isGraphicalEnvironment()
Deprecated. Please call isGraphicalEnvironment(ErrorLog) |
static boolean |
isGraphicalEnvironment(ErrorLog errorLog)
Tests whether the current environment supports graphical operations (ie. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GraphicsUtils()
Method Detail |
public static boolean isGraphicalEnvironment(ErrorLog errorLog)
errorLog
- isGraphicalEnvironment() logs a warning the first time
it is called if we are not running in a graphical environment.return
- Returns true if this is a graphical environment - ie. if
we can perform AWT graphical operations in this environment.public static boolean isFontName(ErrorLog errorLog, java.lang.String name)
errorLog
- isFontName() logs a warning the first time this
method is called if we are not running in a graphical environment.name
- The name of the font to testpublic static boolean isGraphicalEnvironment()
public static boolean isFontName(java.lang.String name)
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |