|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.sqlpower.wabit.swingui.olap.OlapQueryPanel
public class OlapQueryPanel
| Constructor Summary | |
|---|---|
OlapQueryPanel(WabitSwingSession session,
javax.swing.JComponent parentComponent,
OlapQuery query)
|
|
| Method Summary | |
|---|---|
boolean |
applyChanges()
|
void |
discardChanges()
|
javax.swing.JComponent |
getPanel()
|
javax.swing.JComponent |
getSourceComponent()
Returns the component (often a JTree or JList, but can be anything) that contains all the workspace items that can be dragged into this editor. |
java.lang.String |
getTitle()
Returns a suitable string that can be used in the title of a containing window or frame. |
javax.swing.JToolBar |
getToolbar()
Returns the toolbar. |
boolean |
hasUnsavedChanges()
|
void |
setCurrentCube(org.olap4j.metadata.Cube currentCube)
Sets the current cube to the given cube. |
void |
updateCellSet(org.olap4j.CellSet cellSet)
This method will update the cell set in this panel. |
void |
updateMdxText(java.lang.String mdx)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OlapQueryPanel(WabitSwingSession session,
javax.swing.JComponent parentComponent,
OlapQuery query)
| Method Detail |
|---|
public boolean applyChanges()
applyChanges in interface ca.sqlpower.swingui.DataEntryPanelpublic void updateMdxText(java.lang.String mdx)
public void discardChanges()
discardChanges in interface ca.sqlpower.swingui.DataEntryPanelpublic javax.swing.JComponent getPanel()
getPanel in interface ca.sqlpower.swingui.DataEntryPanelpublic boolean hasUnsavedChanges()
hasUnsavedChanges in interface ca.sqlpower.swingui.DataEntryPanel
public void setCurrentCube(org.olap4j.metadata.Cube currentCube)
throws java.sql.SQLException
currentCube - The new cube to make current. If this is already the current
cube, the query will not be reset. Can be null to revert to
the "no cube selected" state.
java.sql.SQLExceptionpublic void updateCellSet(org.olap4j.CellSet cellSet)
public java.lang.String getTitle()
WabitPanel
getTitle in interface WabitPanelpublic javax.swing.JComponent getSourceComponent()
WabitPanel
getSourceComponent in interface WabitPanelpublic javax.swing.JToolBar getToolbar()
WabitPanel
getToolbar in interface WabitPanel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||