|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectapp.JApplication
app.MultimediaApplication
public abstract class MultimediaApplication
A MultimediaApplication is a JApplication that delegates all calls to "transition" methods to a MultimediaApp. The calls to the MultimediaApp object's "transition" methods will be made in the event dispatch thread.
Field Summary |
---|
Fields inherited from class app.JApplication |
---|
icondata, mainWindow |
Constructor Summary | |
---|---|
MultimediaApplication(java.lang.String[] args,
MultimediaApp app,
int width,
int height)
Explicit Value Constructor |
Method Summary | |
---|---|
void |
destroy()
This method is called just after the main window is disposed. |
protected MultimediaApp |
getMultimediaApp()
Get a reference to the MultimediaApp that is being delegated to |
java.lang.String |
getParameter(java.lang.String name)
Returns the value of the "named" parameter (required by MultimediaRootPaneContainer) |
void |
init()
This method is called just before the main window is first made visible |
void |
start()
This method is called when the main window is first made visible and then each time it is de-iconified. |
void |
stop()
This method is called each time the main window is iconified and just before it is disposed. |
Methods inherited from class app.JApplication |
---|
getContentPane, getGlassPane, getLayeredPane, getRootPane, run, setContentPane, setGlassPane, setLayeredPane, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.swing.RootPaneContainer |
---|
getContentPane, getGlassPane, getLayeredPane, getRootPane, setContentPane, setGlassPane, setLayeredPane |
Constructor Detail |
---|
public MultimediaApplication(java.lang.String[] args, MultimediaApp app, int width, int height)
args
- The command-line agumentsapp
- The MultimediaApp to delegate towidth
- The width (in pixels) of the main windowheight
- The width (in pixels) of the main windowMethod Detail |
---|
public void destroy()
destroy
in class JApplication
protected MultimediaApp getMultimediaApp()
public java.lang.String getParameter(java.lang.String name)
getParameter
in interface MultimediaRootPaneContainer
name
- The name/index of the parameterpublic void init()
init
in class JApplication
public void start()
start
in class JApplication
public void stop()
stop
in class JApplication
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |