|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface StandardWindow
An interface which defines several helper functions to a standard container (frame, dialog, etc). This helps to ensure that the container is set up properly, as well as defining clear methods for modifying this object at a later point in time (content change, etc). If you choose to follow the MVC convention, it is recommended that classes which implement this interface do so in two parts: a View portion, and a Controller portion. One of these classes would be abstract, while the other is not; when the non abstract class is instantiated, it would call apropriate methods from its abstract counterpart to create a functional GUI. Each of these methods returns a StandardContainer, which allows the chaining together of methods. StandardContainer also implements ActionListener, to provide a common section for placing listeners in.
| Method Summary | |
|---|---|
java.lang.Object |
closeWindow()
The method used to close the window. |
void |
initPostPack()
A method which is called after the pack() method in openWindow, but before the setVisible(true). |
void |
openWindow()
The method which is run when the window is opened. |
void |
openWindow(java.awt.Dimension dimension,
java.awt.Point position)
The method which is run when the window is opened. |
void |
requestFocusInApplication()
Request that this frame gets focus. |
| Methods inherited from interface org.homeunix.thecave.moss.swing.StandardContainer |
|---|
clear, init, updateButtons, updateContent |
| Method Detail |
|---|
void openWindow()
throws WindowOpenException
WindowOpenException - If there was a problem opening the window.
Usually this is due to the same window being opened already (as
determined by the key, in AbstractFrame derived windows.)
void openWindow(java.awt.Dimension dimension,
java.awt.Point position)
throws WindowOpenException
WindowOpenException - If there was a problem opening the window.
Usually this is due to the same window being opened already (as
determined by the key, in AbstractFrame derived windows.)java.lang.Object closeWindow()
void initPostPack()
void requestFocusInApplication()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||