|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
fr.lri.bd.olap.gui.MainWindow
public class MainWindow
MainWindow class represents main window which shows graph. It contains methods for serve JUNG graph call back methods. There exists exactly one class for MainFrame => in application. This main window use three types of JUNG pluggable renderers:
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
MainWindow(MainFrame mainFrame)
Default constructor |
|
| Method Summary | |
|---|---|
void |
clearPickedState()
Clear picked nodes state |
DatamartDefinition |
getDatamartDefinition()
|
edu.uci.ics.jung.visualization.GraphZoomScrollPane |
getGraphWindow()
|
MainFrame |
getMainFrame()
|
OlapTree |
getOlapTree()
|
QueryBottomPanel |
getQueryBottomPanel()
|
TopWindow |
getTopWindow()
|
void |
initialize(OlapTree tree)
Initialize this main window with olap tree |
void |
initialize(OlapTree tree,
boolean replace)
Initialization this window with new Olap tree. |
void |
replaceTree(OlapTree tree)
Called by datamart definiton to visualize new datamart |
void |
showDefineDatamart(OlapTree tree)
Show bottom panel related to datamart definiton |
void |
showQuery(OlapTree tree)
Show bottom panel related to query execution |
void |
showSchema(OlapTree tree)
Show bottom panel related to schema visualization |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MainWindow(MainFrame mainFrame)
mainFrame - Main frame of application| Method Detail |
|---|
public void initialize(OlapTree tree)
tree -
public void initialize(OlapTree tree,
boolean replace)
tree - Olap treereplace - true for replace visualization viewer and graph zoom scrollpane in a cachepublic void clearPickedState()
public void showQuery(OlapTree tree)
tree - OlapTreepublic void showSchema(OlapTree tree)
tree - Olap treepublic void showDefineDatamart(OlapTree tree)
tree - Olap treepublic edu.uci.ics.jung.visualization.GraphZoomScrollPane getGraphWindow()
public TopWindow getTopWindow()
public OlapTree getOlapTree()
public QueryBottomPanel getQueryBottomPanel()
public DatamartDefinition getDatamartDefinition()
public void replaceTree(OlapTree tree)
tree - OlapTreepublic MainFrame getMainFrame()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||