|
|
|||||||||||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container java.awt.Window java.awt.Frame javax.swing.JFrame de.lmu.ifi.dbs.elki.visualization.gui.ResultWindow
public class ResultWindow
Swing window to manage a particular result visualization.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JFrame |
---|
JFrame.AccessibleJFrame |
Nested classes/interfaces inherited from class java.awt.Frame |
---|
Frame.AccessibleAWTFrame |
Nested classes/interfaces inherited from class java.awt.Window |
---|
Window.AccessibleAWTWindow |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
private SubplotSelectedEvent |
currentSubplot
Currently selected subplot. |
private JMenuItem |
exportItem
The "Export" button, to save the image |
protected static Logging |
logger
Get a logger for this class. |
private OverviewPlot<DoubleVector> |
overview
The overview plot. |
private JMenuItem |
overviewItem
The "Overview" button, which goes to the overview view. |
private JMenuItem |
quitItem
The "Quit" button, to close the application. |
private static long |
serialVersionUID
Serial version |
private JSVGSynchronizedCanvas |
svgCanvas
The SVG canvas. |
private ArrayList<Visualizer> |
visualizers
Visualizers |
private JMenu |
visualizersMenu
The "Visualizers" button, to enable/disable visualizers |
Fields inherited from class javax.swing.JFrame |
---|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Frame |
---|
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.WindowConstants |
---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
ResultWindow(String title,
Database<? extends DatabaseObject> db,
MultiResult result,
int maxdim)
Constructor. |
Method Summary | |
---|---|
void |
addVisualizations(Collection<Visualizer> vs)
Add visualizations. |
void |
close()
Close the visualizer window. |
void |
dispose()
|
void |
saveCurrentPlot()
Save/export the current plot. |
void |
showOverview()
Navigate to the overview plot. |
private void |
showPlot(SVGPlot plot)
Navigate to a particular plot. |
protected void |
showSubplot(SubplotSelectedEvent e)
Navigate to a subplot. |
protected void |
update()
Refresh the overview |
private void |
updatePopupMenu()
Update the popup menu. |
Methods inherited from class java.awt.Frame |
---|
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.awt.MenuContainer |
---|
getFont, postEvent |
Field Detail |
---|
private static final long serialVersionUID
protected static final Logging logger
private JMenuItem overviewItem
private JMenuItem quitItem
private JMenuItem exportItem
private JMenu visualizersMenu
private JSVGSynchronizedCanvas svgCanvas
private OverviewPlot<DoubleVector> overview
private ArrayList<Visualizer> visualizers
private SubplotSelectedEvent currentSubplot
Constructor Detail |
---|
public ResultWindow(String title, Database<? extends DatabaseObject> db, MultiResult result, int maxdim)
title
- Window titledb
- Databaseresult
- Result to visualizemaxdim
- Maximal dimensionality to show.Method Detail |
---|
public void dispose()
dispose
in class Window
public void close()
public void showOverview()
protected void showSubplot(SubplotSelectedEvent e)
e
- private void showPlot(SVGPlot plot)
plot
- Plot to show.public void saveCurrentPlot()
public void addVisualizations(Collection<Visualizer> vs)
vs
- Visualizationsprotected void update()
private void updatePopupMenu()
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |