ca.sqlpower.wabit.swingui.olap
Class CellSetViewer

java.lang.Object
  extended by ca.sqlpower.wabit.swingui.olap.CellSetViewer

public class CellSetViewer
extends java.lang.Object


Constructor Summary
CellSetViewer(WabitSwingSession session, OlapQuery query)
          Creates a CellSetViewer on the given OlapQuery and by default allows Member modification
CellSetViewer(WabitSwingSession session, OlapQuery query, boolean allowMemberModification)
          Creates a CellSetViewer on the given OlapQuery
 
Method Summary
 org.olap4j.CellSet getCellSet()
           
 javax.swing.JScrollPane getScrollPane()
           
 javax.swing.JTable getTable()
           
 javax.swing.JComponent getViewComponent()
           
 void setCellSet(org.olap4j.CellSet cellSet)
           
 void setMinColumnWidth(int minimumColumnWidth)
           
 void showCellSet(OlapQuery query, org.olap4j.CellSet cellSet)
           
 void showMessage(OlapQuery query, java.lang.String message)
           
 void updateCellSetViewer(OlapQuery query, org.olap4j.CellSet cellSet)
          Executes the containing OlapQuery and updates the results in the CellSetViewer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellSetViewer

public CellSetViewer(WabitSwingSession session,
                     OlapQuery query)
Creates a CellSetViewer on the given OlapQuery and by default allows Member modification


CellSetViewer

public CellSetViewer(WabitSwingSession session,
                     OlapQuery query,
                     boolean allowMemberModification)
Creates a CellSetViewer on the given OlapQuery

Parameters:
query - The OlapQuery whose CellSet results this viewer will be displaying
allowMemberModification - Whether or not the CellSetViewer GUI will allow modification of the members of the Query.
Method Detail

showCellSet

public void showCellSet(OlapQuery query,
                        org.olap4j.CellSet cellSet)

showMessage

public void showMessage(OlapQuery query,
                        java.lang.String message)

getViewComponent

public javax.swing.JComponent getViewComponent()

getTable

public javax.swing.JTable getTable()

getScrollPane

public javax.swing.JScrollPane getScrollPane()

setMinColumnWidth

public void setMinColumnWidth(int minimumColumnWidth)

getCellSet

public org.olap4j.CellSet getCellSet()

setCellSet

public void setCellSet(org.olap4j.CellSet cellSet)

updateCellSetViewer

public void updateCellSetViewer(OlapQuery query,
                                org.olap4j.CellSet cellSet)
Executes the containing OlapQuery and updates the results in the CellSetViewer.



Copyright © 2009. All Rights Reserved.