org.askalon.graph.chart.viewer
Class ViewerChartMenu
java.lang.Object
org.askalon.graph.chart.viewer.ViewerChartMenu
public final class ViewerChartMenu
- extends Object
The default menu every chart may use.
This class provides a chart with all basic default entries like File-, Options- and View-menu.
- Author:
- Franz Endstrasser and Georg Schild
ViewerChartMenu
public ViewerChartMenu(GraphicsPanel graphicsPanel)
addMenu
public void addMenu(JMenu m)
addMenu
public void addMenu(JMenu m,
int index)
removeMenu
public void removeMenu(JMenu m)
setPopupEnabled
public void setPopupEnabled(boolean popupEnabled)
cleanUp
public void cleanUp()
isPopupEnabled
public boolean isPopupEnabled()
getMenuBar
public JMenuBar getMenuBar()
getPopupMenu
public JPopupMenu getPopupMenu()
getFileMenu
public JMenu getFileMenu()
toString
public String toString()
- Overrides:
toString
in class Object