|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MainFrame
A MainFrame contains the primary user interface for a program. The main frame closes all child windows when closed and will usually exit when it is closed. An OSP program should have only one main frame.
Method Summary | |
---|---|
void |
addChildFrame(javax.swing.JFrame frame)
Adds a child frame that depends on the main frame. |
void |
clearChildFrames()
Clears the child frames from the main frame. |
java.util.Collection<javax.swing.JFrame> |
getChildFrames()
Gets a copy of the ChildFrames collection. |
OSPFrame |
getMainFrame()
Gets the main OSPFrame. |
OSPApplication |
getOSPApp()
Gets the OSP Application that is controlled by this frame. |
Method Detail |
---|
OSPFrame getMainFrame()
OSPApplication getOSPApp()
void addChildFrame(javax.swing.JFrame frame)
frame
- JFramevoid clearChildFrames()
java.util.Collection<javax.swing.JFrame> getChildFrames()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |