|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jadex.swing.OpenFrames
A singleton to control the individual AceObject displaying.
Constructor Summary | |
protected |
OpenFrames()
OpenFrames constructor comment. |
Method Summary | |
void |
addFrame(java.lang.String title,
javax.swing.JFrame f)
Register a displaying AceObject. |
java.applet.Applet |
getApplet()
Get the applet. |
javax.swing.JFrame |
getFrame(java.lang.String title)
Get the JFrame with the title. |
static OpenFrames |
getInstance()
This is the only method to get the instance of this class. |
void |
removeFrame(java.lang.String title)
Remove the JFrame with title title. |
void |
setApplet(java.applet.Applet a)
Set the applet. |
void |
show(jade.db.AceObject o)
Clients should call this method to display the individual AceObject. |
boolean |
show(java.lang.String url,
java.lang.String name)
A overloaded method for displaying AceObjects in Applets. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected OpenFrames()
Method Detail |
public void addFrame(java.lang.String title, javax.swing.JFrame f)
title
- the title of the JFrame as the key for the HashTable.f
- the JFrame displaying the AceObject.public javax.swing.JFrame getFrame(java.lang.String title)
title
- the title as the key for the HashTable searching.public static OpenFrames getInstance()
public void removeFrame(java.lang.String title)
public java.applet.Applet getApplet()
public void setApplet(java.applet.Applet a)
public void show(jade.db.AceObject o)
show(String url, String name).
o
- the AceObject to be displayed.show(String, String).
public boolean show(java.lang.String url, java.lang.String name)
url
- the URL for fetch the information for the AceObject. It is from
the Wormbase usually.name
- the name of the AceObject to be displayed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |