|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MainMenuExtension
Classes implementing this interface will be displayed in the "Extensions" menu in the main GUI of Weka.
Method Summary | |
---|---|
void |
fillFrame(java.awt.Component frame)
Fills the frame with life, like adding components, window listeners, setting size, location, etc. |
java.awt.event.ActionListener |
getActionListener(javax.swing.JFrame owner)
If the extension has a custom ActionListener for the menu item, then it must be returned here. |
java.lang.String |
getMenuTitle()
Returns the name of the menu item. |
java.lang.String |
getSubmenuTitle()
Returns the name of the submenu. |
Method Detail |
---|
java.lang.String getSubmenuTitle()
java.lang.String getMenuTitle()
java.awt.event.ActionListener getActionListener(javax.swing.JFrame owner)
ActionListener
also
means that the component handles any frame by itself.
owner
- the owner of potential dialogs
fillFrame(Component)
void fillFrame(java.awt.Component frame)
JFrame
or from JInternalFrame
. This method is
only called in case getActionListener()
returns null.
frame
- the frame object to embed components, etc.getActionListener(JFrame)
,
JFrame
,
JInternalFrame
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |