butler.ext.rolap
Class DROLAPQueryPanel

java.lang.Object
  extended by butler.ext.rolap.DROLAPQueryPanel

public class DROLAPQueryPanel
extends java.lang.Object

Author:
Fredrik Bertilsson

Field Summary
static int BORDERFRAME_LAYOUT
           
static int TABBEDPANE_LAYOUT
           
 
Constructor Summary
DROLAPQueryPanel(ROLAPQuery query)
          Constructs a query panel based on the given query.
 
Method Summary
 void addAvailibleDimension(ROLAPQuery.Dimension dim)
           
 void addFilterGroupPanel(DFilterGroupPanel p)
          Adds a groups of filter panels.
 java.util.List getAvailibleDimensions()
           
 DFilterGroupPanel getFilterGroupPanel(java.lang.String id)
           
 java.util.List getFilterGroupPanels()
           
 int getLayout()
           
 Orientation getOrientation()
           
 ROLAPQuery getQuery()
           
static DROLAPQueryPanel parse(org.dom4j.Element element)
           
 void setLayout(int layout)
           
 void setOrientation(Orientation orientation)
          Sets the orientation (HORIZONTAL/VERTICAL) on the layout of the components.
 void toXML(org.xml.sax.ContentHandler handler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TABBEDPANE_LAYOUT

public static final int TABBEDPANE_LAYOUT
See Also:
Constant Field Values

BORDERFRAME_LAYOUT

public static final int BORDERFRAME_LAYOUT
See Also:
Constant Field Values
Constructor Detail

DROLAPQueryPanel

public DROLAPQueryPanel(ROLAPQuery query)
Constructs a query panel based on the given query. The GUI will be automatically build based on the query.

Method Detail

getQuery

public ROLAPQuery getQuery()

setOrientation

public void setOrientation(Orientation orientation)
Sets the orientation (HORIZONTAL/VERTICAL) on the layout of the components.


getOrientation

public Orientation getOrientation()

addFilterGroupPanel

public void addFilterGroupPanel(DFilterGroupPanel p)
Adds a groups of filter panels.


getFilterGroupPanels

public java.util.List getFilterGroupPanels()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

getFilterGroupPanel

public DFilterGroupPanel getFilterGroupPanel(java.lang.String id)

getAvailibleDimensions

public java.util.List getAvailibleDimensions()

addAvailibleDimension

public void addAvailibleDimension(ROLAPQuery.Dimension dim)

parse

public static DROLAPQueryPanel parse(org.dom4j.Element element)
                              throws java.lang.Exception
Throws:
java.lang.Exception

toXML

public void toXML(org.xml.sax.ContentHandler handler)
           throws java.lang.Exception
Throws:
java.lang.Exception

getLayout

public int getLayout()

setLayout

public void setLayout(int layout)