org.openi.olap.drillthrough
Class CustomDrillthroughUI
java.lang.Object
com.tonbeller.jpivot.table.PartBuilderSupport
com.tonbeller.jpivot.table.TableComponentExtensionSupport
org.openi.olap.drillthrough.CustomDrillthroughUI
- All Implemented Interfaces:
- com.tonbeller.jpivot.core.ModelChangeListener, com.tonbeller.jpivot.table.PartBuilder, com.tonbeller.jpivot.table.TableComponentExtension, com.tonbeller.jpivot.ui.Available, com.tonbeller.wcf.bookmarks.Bookmarkable, java.util.EventListener
public class CustomDrillthroughUI
- extends com.tonbeller.jpivot.table.TableComponentExtensionSupport
- implements com.tonbeller.jpivot.core.ModelChangeListener
Custom drillthrough ui handler class to support queued drillthrough.
To use this class, it needs to be setup in jpivot's resource config 'com/tonbeller/jpivot/table/config.xml'
- Author:
- Dipendra Pokhrel
|
Field Summary |
static java.lang.String |
ID
|
| Fields inherited from class com.tonbeller.jpivot.table.TableComponentExtensionSupport |
enabled |
| Fields inherited from class com.tonbeller.jpivot.table.PartBuilderSupport |
table |
| Fields inherited from interface com.tonbeller.wcf.bookmarks.Bookmarkable |
EXTENSIONAL, INTENSIONAL |
|
Method Summary |
protected boolean |
canDrillThrough(com.tonbeller.jpivot.olap.model.Cell cell)
checks whether drillthrough is possible or not - calculated member on slicer does not allow drillthrough |
protected com.tonbeller.wcf.table.TableModel |
drillThrough(com.tonbeller.jpivot.olap.model.Cell cell)
returns a DrillThroughTableModel object for the drill through |
java.lang.String |
getId()
|
com.tonbeller.wcf.table.TableModel |
getTableModel()
|
void |
initialize(com.tonbeller.wcf.controller.RequestContext context,
com.tonbeller.jpivot.table.TableComponent table)
|
protected boolean |
initializeExtension()
|
boolean |
isAvailable()
|
void |
modelChanged(com.tonbeller.jpivot.core.ModelChangeEvent e)
|
void |
startBuild(com.tonbeller.wcf.controller.RequestContext context)
|
void |
structureChanged(com.tonbeller.jpivot.core.ModelChangeEvent e)
|
| Methods inherited from class com.tonbeller.jpivot.table.TableComponentExtensionSupport |
getBookmarkState, isEnabled, setBookmarkState, setEnabled |
| Methods inherited from class com.tonbeller.jpivot.table.PartBuilderSupport |
destroy, setDirty, stopBuild |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.tonbeller.jpivot.table.PartBuilder |
destroy, stopBuild |
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
CustomDrillthroughUI
public CustomDrillthroughUI()
getId
public java.lang.String getId()
- Specified by:
getId in interface com.tonbeller.jpivot.table.TableComponentExtension
initialize
public void initialize(com.tonbeller.wcf.controller.RequestContext context,
com.tonbeller.jpivot.table.TableComponent table)
throws java.lang.Exception
- Specified by:
initialize in interface com.tonbeller.jpivot.table.PartBuilder- Overrides:
initialize in class com.tonbeller.jpivot.table.PartBuilderSupport
- Throws:
java.lang.Exception
startBuild
public void startBuild(com.tonbeller.wcf.controller.RequestContext context)
- Specified by:
startBuild in interface com.tonbeller.jpivot.table.PartBuilder- Overrides:
startBuild in class com.tonbeller.jpivot.table.PartBuilderSupport
initializeExtension
protected boolean initializeExtension()
- Returns:
- true if extension is available
canDrillThrough
protected boolean canDrillThrough(com.tonbeller.jpivot.olap.model.Cell cell)
- checks whether drillthrough is possible or not - calculated member on slicer does not allow drillthrough
- Parameters:
cell -
- Returns:
drillThrough
protected com.tonbeller.wcf.table.TableModel drillThrough(com.tonbeller.jpivot.olap.model.Cell cell)
- returns a DrillThroughTableModel object for the drill through
- Parameters:
cell -
- Returns:
isAvailable
public boolean isAvailable()
- Specified by:
isAvailable in interface com.tonbeller.jpivot.table.PartBuilder- Specified by:
isAvailable in interface com.tonbeller.jpivot.ui.Available- Overrides:
isAvailable in class com.tonbeller.jpivot.table.PartBuilderSupport
modelChanged
public void modelChanged(com.tonbeller.jpivot.core.ModelChangeEvent e)
- Specified by:
modelChanged in interface com.tonbeller.jpivot.core.ModelChangeListener
structureChanged
public void structureChanged(com.tonbeller.jpivot.core.ModelChangeEvent e)
- Specified by:
structureChanged in interface com.tonbeller.jpivot.core.ModelChangeListener
getTableModel
public com.tonbeller.wcf.table.TableModel getTableModel()