public class ResultWindow.DynamicMenu
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private javax.swing.JMenuItem |
exportItem
The "Export Image" button, to save the image
|
private javax.swing.JMenu |
filemenu
File menu.
|
private javax.swing.JMenuBar |
menubar
Menubar component
|
private javax.swing.JMenuItem |
overviewItem
The "Overview" button, which goes to the overview view.
|
private javax.swing.JMenuItem |
quitItem
The "Quit" button, to close the application.
|
protected boolean |
simplify
Simplify the menu.
|
private javax.swing.JMenu |
visualizersMenu
The "Visualizers" button, to enable/disable visualizers
|
private javax.swing.JMenuItem |
writeItem
The "Write to CSV" button, to invoce the text writer.
|
Constructor and Description |
---|
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.
|
void |
enableWriter(boolean b)
Enable / disable the writer menu.
|
javax.swing.JMenuBar |
getMenuBar()
Get the menu bar component.
|
private javax.swing.JMenuItem |
makeMenuItemForVisualizer(java.lang.Object r) |
private void |
recursiveBuildMenu(java.util.Collection<javax.swing.JMenuItem> items,
java.lang.Object r,
ResultHierarchy hier,
Hierarchy<java.lang.Object> vistree,
Projection proj) |
protected void |
updateVisualizerMenus()
Update the visualizer menus.
|
private javax.swing.JMenuBar menubar
private javax.swing.JMenu filemenu
private javax.swing.JMenuItem overviewItem
private javax.swing.JMenuItem quitItem
private javax.swing.JMenuItem exportItem
private javax.swing.JMenuItem writeItem
private javax.swing.JMenu visualizersMenu
protected boolean simplify
protected void updateVisualizerMenus()
private void recursiveBuildMenu(java.util.Collection<javax.swing.JMenuItem> items, java.lang.Object r, ResultHierarchy hier, Hierarchy<java.lang.Object> vistree, Projection proj)
private javax.swing.JMenuItem makeMenuItemForVisualizer(java.lang.Object r)
public javax.swing.JMenuBar getMenuBar()
public void enableOverview(boolean b)
b
- Flagpublic void enableExport(boolean b)
b
- Flagpublic void enableWriter(boolean b)
b
- FlagCopyright © 2019 ELKI Development Team. License information.