public class ResultWindow.DynamicMenu extends Object
Modifier and Type | Field and Description |
---|---|
private JMenuItem |
editItem
The "tabular edit" item.
|
private JMenuItem |
exportItem
The "Export" button, to save the image
|
private JMenu |
filemenu
File menu.
|
private JMenuBar |
menubar
Menubar component
|
private JMenuItem |
overviewItem
The "Overview" button, which goes to the overview view.
|
private JMenuItem |
quitItem
The "Quit" button, to close the application.
|
protected boolean |
simplify
Simplify the menu.
|
private JMenu |
visualizersMenu
The "Visualizers" button, to enable/disable visualizers
|
Constructor and Description |
---|
ResultWindow.DynamicMenu()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
enableExport(boolean b)
Enable / disable the export menu.
|
void |
enableOverview(boolean b)
Enable / disable the overview menu.
|
JMenuBar |
getMenuBar()
Get the menu bar component.
|
private JMenuItem |
makeMenuItemForVisualizer(Object r) |
private void |
recursiveBuildMenu(Collection<JMenuItem> items,
Object r,
ResultHierarchy hier,
Hierarchy<Object> vistree,
Projection proj) |
protected void |
updateVisualizerMenus()
Update the visualizer menus.
|
private JMenuBar menubar
private JMenu filemenu
private JMenuItem overviewItem
private JMenuItem quitItem
private JMenuItem exportItem
private JMenuItem editItem
private JMenu visualizersMenu
protected boolean simplify
protected void updateVisualizerMenus()
private void recursiveBuildMenu(Collection<JMenuItem> items, Object r, ResultHierarchy hier, Hierarchy<Object> vistree, Projection proj)
public JMenuBar getMenuBar()
public void enableOverview(boolean b)
b
- Flagpublic void enableExport(boolean b)
b
- FlagCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.