|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.gui.launch.LaunchTask
com.tensegrity.skeleton.swing.launch.AbstractLaunchTask
com.tensegrity.skeleton.swing.launch.LoadFileLaunchTask
com.tensegrity.skeleton.swing.launch.LoadStylesLaunchTask
Loads the styles.xml of the skeleton.
| Field Summary |
| Fields inherited from class com.tensegrity.gui.launch.LaunchTask |
lasterror, LAUNCHTASKSTATUS_FATAL, LAUNCHTASKSTATUS_FATAL_RETRY, LAUNCHTASKSTATUS_SERIOUS, LAUNCHTASKSTATUS_SERIOUS_RETRY, LAUNCHTASKSTATUS_SHUTDOWN, LAUNCHTASKSTATUS_SUCCESS, LAUNCHTASKSTATUS_WARNING |
| Constructor Summary | |
LoadStylesLaunchTask(ApplicationFrame applicationFrame)
Creates the LoadStylesLaunchTask. |
|
LoadStylesLaunchTask(ApplicationFrame applicationFrame,
java.lang.String filename,
java.lang.Class loadClass)
Creates the LoadStylesLaunchTask for the given
ApplicationFrame based on the given
filename and class instance used to load the file. |
|
| Method Summary | |
protected java.lang.String |
getFilename()
Subclasses may override this method to provide a custom styles xml file. |
protected java.lang.Class |
getLoadClass()
When loading resource from jar files or other locations you may need a Class instance. |
void |
postCreate(java.lang.Object object)
Receives no parameter since the GraphStyleService is a static class. |
int |
run()
The run method of this launch task. |
| Methods inherited from class com.tensegrity.skeleton.swing.launch.LoadFileLaunchTask |
getName |
| Methods inherited from class com.tensegrity.skeleton.swing.launch.AbstractLaunchTask |
findResourceText, getApplicationFrame, getStatusPrefix, getStatusPrefixResourceKey |
| Methods inherited from class com.tensegrity.gui.launch.LaunchTask |
getError, getStatusDetails |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LoadStylesLaunchTask(ApplicationFrame applicationFrame)
LoadStylesLaunchTask.
applicationFrame - Application context for this LaunchTask.
public LoadStylesLaunchTask(ApplicationFrame applicationFrame,
java.lang.String filename,
java.lang.Class loadClass)
LoadStylesLaunchTask for the given
ApplicationFrame based on the given
filename and class instance used to load the file.
applicationFrame - Application context for this LaunchTask.filename - a String which describes a filename.loadClass - the resource class to use for loading.| Method Detail |
public void postCreate(java.lang.Object object)
postCreate of this class.
postCreate in class AbstractLaunchTaskobject - AbstractLaunchTask.postCreate(Object)
public final int run()
throws java.lang.Exception
LaunchTask
run in class LaunchTaskLAUNCHTASKSTATUS_* constants defined
in this interface.
java.lang.Exceptionprotected java.lang.String getFilename()
getLoadClass() method as well
getFilename in class LoadFileLaunchTaskprotected java.lang.Class getLoadClass()
LoadFileLaunchTasknull to load from absolute file.
getLoadClass in class LoadFileLaunchTask
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||