org.askalon.graph.chart.viewer
Class ViewerChartMenu

java.lang.Object
  extended by 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

Constructor Summary
ViewerChartMenu(GraphicsPanel graphicsPanel)
           
 
Method Summary
 void addMenu(JMenu m)
           
 void addMenu(JMenu m, int index)
           
 void cleanUp()
           
 JMenu getFileMenu()
           
 JMenuBar getMenuBar()
           
 JPopupMenu getPopupMenu()
           
 boolean isPopupEnabled()
           
 void removeMenu(JMenu m)
           
 void setPopupEnabled(boolean popupEnabled)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ViewerChartMenu

public ViewerChartMenu(GraphicsPanel graphicsPanel)
Method Detail

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


Part of:
Askalon_Logo
ASKALON Visualisation Diagrams