|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.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 | |
|---|---|
protected VisualizerContext |
context
Visualizer context |
private DetailView |
currentSubplot
Currently selected subplot. |
private JMenuItem |
editItem
The "tabular edit" item. |
private JMenuItem |
exportItem
The "Export" button, to save the image |
protected static Logging |
logger
Get a logger for this class. |
private OverviewPlot |
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 HierarchicalResult |
result
Result to visualize |
private static long |
serialVersionUID
Serial version |
private JSVGSynchronizedCanvas |
svgCanvas
The SVG canvas. |
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,
HierarchicalResult result,
VisualizerContext context)
Constructor. |
|
| Method Summary | |
|---|---|
void |
close()
Close the visualizer window. |
void |
dispose()
|
JMenuItem |
makeMenuItemForVisualizer(Result r)
|
private boolean |
recursiveBuildMenu(JMenu parent,
Result r)
|
void |
resultAdded(Result child,
Result parent)
A new derived result was added. |
void |
resultChanged(Result current)
Notify that the current result has changed substantially. |
void |
resultRemoved(Result child,
Result parent)
A result was removed. |
void |
saveCurrentPlot()
Save/export the current plot. |
protected void |
setRatio(double newratio)
Change the plot ratio. |
void |
showOverview()
Navigate to the overview plot. |
private void |
showPlot(SVGPlot plot)
Navigate to a particular plot. |
protected void |
showSubplot(DetailViewSelectedEvent e)
Navigate to a subplot. |
protected void |
showTableView()
Show a tabular view |
protected void |
update()
Refresh the overview |
private void |
updateVisualizerMenus()
Update the visualizer menus. |
| 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 JMenuItem editItem
private JMenu visualizersMenu
private JSVGSynchronizedCanvas svgCanvas
private OverviewPlot overview
protected VisualizerContext context
private DetailView currentSubplot
private HierarchicalResult result
| Constructor Detail |
|---|
public ResultWindow(String title,
HierarchicalResult result,
VisualizerContext context)
title - Window titleresult - Result to visualizecontext - Visualizer context| Method Detail |
|---|
protected void setRatio(double newratio)
newratio - New ratiopublic void dispose()
dispose in class Windowpublic void close()
public void showOverview()
protected void showSubplot(DetailViewSelectedEvent e)
e - private void showPlot(SVGPlot plot)
plot - Plot to show.public void saveCurrentPlot()
protected void showTableView()
protected void update()
private void updateVisualizerMenus()
private boolean recursiveBuildMenu(JMenu parent,
Result r)
public JMenuItem makeMenuItemForVisualizer(Result r)
public void resultAdded(Result child,
Result parent)
ResultListener
resultAdded in interface ResultListenerchild - New child result addedparent - Parent result that was added topublic void resultChanged(Result current)
ResultListener
resultChanged in interface ResultListenercurrent - Result that has changed.
public void resultRemoved(Result child,
Result parent)
ResultListener
resultRemoved in interface ResultListenerchild - result that was removedparent - Parent result that was removed from
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||