|
Venice 0.74beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provides a common interface that all modules must adhere to. This interface is used to provide seamless intergration between the desktop and its sub-frames. A module is generally defined as a frame that provides a single function such as charting, showing a table of quotes or providing preference options to the user.
| Method Summary | |
void |
addModuleChangeListener(java.beans.PropertyChangeListener listener)
Add a property change listener for module change events. |
boolean |
encloseInScrollPane()
Return whether the module should be enclosed in a scroll pane. |
javax.swing.JComponent |
getComponent()
Return displayed component for this module. |
javax.swing.ImageIcon |
getFrameIcon()
Return frame icon for this module. |
javax.swing.JMenuBar |
getJMenuBar()
Return menu bar for this module. |
Settings |
getSettings()
Return the Settings for the module. |
java.lang.String |
getTitle()
Return the window title. |
void |
removeModuleChangeListener(java.beans.PropertyChangeListener listener)
Remove a property change listener for module change events. |
void |
save()
Tell module to save any current state data / preferences data because the window is being closed. |
| Method Detail |
public java.lang.String getTitle()
public void addModuleChangeListener(java.beans.PropertyChangeListener listener)
listener - listenerpublic void removeModuleChangeListener(java.beans.PropertyChangeListener listener)
listener - listenerpublic javax.swing.ImageIcon getFrameIcon()
public javax.swing.JComponent getComponent()
public javax.swing.JMenuBar getJMenuBar()
public boolean encloseInScrollPane()
public void save()
public Settings getSettings()
|
Venice 0.74beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||