|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A context for either an application or an applet that wants to use the diva.gui infrastructure.
| Method Summary | |
javax.swing.Action |
getExitAction()
Return the action that is called back when the user exits the app. |
java.awt.Image |
getIconImage()
Get the image that represents this frame. |
javax.swing.JMenuBar |
getJMenuBar()
Return the menu bar that the container uses. |
java.lang.String |
getTitle()
Return the title of the context. |
boolean |
isVisible()
Return whether the context is visible. |
java.awt.Component |
makeComponent()
Make this into a component (since Component is not an interface. |
void |
setExitAction(javax.swing.Action exitAction)
Set the action that is called back when the user exits the app. |
void |
setIconImage(java.awt.Image image)
Set the icon that represents this frame. |
void |
setJMenuBar(javax.swing.JMenuBar menu)
Set the menu bar that the container uses. |
void |
setSize(int w,
int h)
Set the size of the context. |
void |
setTitle(java.lang.String title)
Set the title of the context. |
void |
setVisible(boolean visible)
Set whether the context is visible. |
void |
showStatus(java.lang.String status)
Show the given status string at the bottom of the context. |
| Methods inherited from interface javax.swing.RootPaneContainer |
getContentPane, getGlassPane, getLayeredPane, getRootPane, setContentPane, setGlassPane, setLayeredPane |
| Method Detail |
public javax.swing.Action getExitAction()
public java.awt.Image getIconImage()
public javax.swing.JMenuBar getJMenuBar()
public java.lang.String getTitle()
public boolean isVisible()
public java.awt.Component makeComponent()
public void setExitAction(javax.swing.Action exitAction)
public void setIconImage(java.awt.Image image)
public void setJMenuBar(javax.swing.JMenuBar menu)
public void setTitle(java.lang.String title)
public void setSize(int w,
int h)
public void setVisible(boolean visible)
public void showStatus(java.lang.String status)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||