|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.graph.view.style.GraphStyleService
This class has static method(s) for loading xml style resources from files with java's built-in classloader-based resource loading facility.
StylePool| Method Summary | |
static void |
loadStylesFromResource(java.lang.String filename,
java.lang.Class resourceclass)
Loads the given styles into the StylePool by using the
StyleService.loadStylesFromResource(String, Class) method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static final void loadStylesFromResource(java.lang.String filename,
java.lang.Class resourceclass)
throws ReadException
StylePool by using the
StyleService.loadStylesFromResource(String, Class) method.
filename - the filename for the resource, which is passed
to the classloader of the given class. The classloader will then
figure out the exact location of the style.
ReadException - thrown if the
StyleService.loadStylesFromResource(String, Class) method
throws such an exception.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||