|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AppContext
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 |
---|
javax.swing.Action getExitAction()
java.awt.Image getIconImage()
javax.swing.JMenuBar getJMenuBar()
java.lang.String getTitle()
boolean isVisible()
java.awt.Component makeComponent()
void setExitAction(javax.swing.Action exitAction)
void setIconImage(java.awt.Image image)
void setJMenuBar(javax.swing.JMenuBar menu)
void setTitle(java.lang.String title)
void setSize(int w, int h)
void setVisible(boolean visible)
void showStatus(java.lang.String status)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |