|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.common.intern.action.panel.PanelMenuGenerator
public class PanelMenuGenerator
A generator for creating menus for a CPanelPopup
.
Constructor Summary | |
---|---|
PanelMenuGenerator()
|
Method Summary | |
---|---|
MenuViewItem<javax.swing.JComponent> |
create(ActionViewConverter converter,
CPanelPopup.PanelPopup action,
Dockable dockable)
Converts action into a view. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PanelMenuGenerator()
Method Detail |
---|
public MenuViewItem<javax.swing.JComponent> create(ActionViewConverter converter, CPanelPopup.PanelPopup action, Dockable dockable)
ViewGenerator
action
into a view. The result of this method
can be null
if no view should be shown for the given action.
create
in interface ViewGenerator<CPanelPopup.PanelPopup,MenuViewItem<javax.swing.JComponent>>
converter
- the converter that invoked this methodaction
- the action to convertdockable
- the Dockable for which the action will be used
null
if nothing should
be displayed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |