|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This is the interface for a MacsApplication. A MacsApplcation must have a contructors like:
public Application()
| Method Summary | |
void |
exitApplication()
method to exit and shutdown the application This method MUST always be called bei MacsControl! NEVER ever call this method in the application. |
int |
getVersionMajor()
method to return the major version of the application, e.g. |
int |
getVersionMinor()
method to return the minor version of the application, e.g. |
java.lang.String |
getVersionName()
method to return the version name of the application We'll see later, what we need here... |
boolean |
initApplication(ApplicationID id,
Session session,
javax.swing.JComponent display)
method to initialize the application |
void |
processSessionEvent(SessionEvent event)
this is informative (asynchrone). |
boolean |
startApplication()
method to start the application |
| Method Detail |
public boolean initApplication(ApplicationID id,
Session session,
javax.swing.JComponent display)
id - the id of this applicationsession - the session the application is startet indisplay - a JComponent where the application may put it's
control elementspublic void exitApplication()
public boolean startApplication()
public void processSessionEvent(SessionEvent event)
public int getVersionMajor()
public int getVersionMinor()
public java.lang.String getVersionName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||