|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.themes.basic.action.menu.AbstractMenuHandler<javax.swing.JMenu,CPanelPopup.PanelPopup> bibliothek.gui.dock.common.intern.action.panel.BasicPanelPopupMenuHandler
public class BasicPanelPopupMenuHandler
A menu showing a custom component instead of menu items.
Field Summary |
---|
Fields inherited from class bibliothek.gui.dock.themes.basic.action.menu.AbstractMenuHandler |
---|
action, dockable, item |
Constructor Summary | |
---|---|
BasicPanelPopupMenuHandler(CPanelPopup.PanelPopup action,
Dockable dockable)
Creates a new handler. |
Method Summary | |
---|---|
void |
addActionListener(java.awt.event.ActionListener listener)
Adds a listener which will be called if this view is triggered. |
void |
removeActionListener(java.awt.event.ActionListener listener)
Removes a listener from this view. |
Methods inherited from class bibliothek.gui.dock.themes.basic.action.menu.AbstractMenuHandler |
---|
bind, getAction, getDockable, getItem, unbind |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicPanelPopupMenuHandler(CPanelPopup.PanelPopup action, Dockable dockable)
action
- the action shown in this menudockable
- the owner of the actionMethod Detail |
---|
public void addActionListener(java.awt.event.ActionListener listener)
MenuViewItem
listener
- the new listenerpublic void removeActionListener(java.awt.event.ActionListener listener)
MenuViewItem
listener
- the listener to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |