|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This class allows panels to be plugged into frames TODO: This should idealy be in CoG
| Method Summary | |
void |
destroy()
This method should always be called by when closing to ensure the plugin can cleanly exit. |
Action |
getCloseAction()
The action used to close this plugin. |
Component |
getComponent()
Returns the component that will be added |
ImageIcon |
getImageIconC16x16()
Returns the Icon for this plugin |
ImageIcon |
getImageIconC32x32()
Returns the Icon for this plugin |
JMenuBar |
getMenuBar()
Returns the MenuBar for this plugin |
String |
getTitle()
Get's the title for the plugin |
JToolBar |
getToolBar()
Returns the toolbar for this plugin |
void |
setCloseAction(Action value)
Sets the action to close this plugin |
| Method Detail |
public Component getComponent()
public JToolBar getToolBar()
public ImageIcon getImageIconC32x32()
public ImageIcon getImageIconC16x16()
public String getTitle()
public JMenuBar getMenuBar()
public Action getCloseAction()
The action used to close this plugin. This is good so the plugin knows how to close its frame properly (ie an error occurs, or a command should close it). Also it doesn't need to know where it is ie a frame, an internal frame, etc. It is up to the eternal environment to set this action (similar to JFrame.setDefaultCloseOperation).
public void setCloseAction(Action value)
public void destroy()
This method should always be called by when closing to ensure the plugin can cleanly exit.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||