com.tonbeller.jpivot.test.olap
Class TestDrillExpandMember

java.lang.Object
  extended by com.tonbeller.jpivot.core.ExtensionSupport
      extended by com.tonbeller.jpivot.test.olap.TestExtensionSupport
          extended by com.tonbeller.jpivot.test.olap.TestDrillExpandMember
All Implemented Interfaces:
Extension, DrillExpandMember

public class TestDrillExpandMember
extends TestExtensionSupport
implements DrillExpandMember

Created on 22.10.2002

Author:
av

Field Summary
 
Fields inherited from interface com.tonbeller.jpivot.olap.navi.DrillExpandMember
ID
 
Constructor Summary
TestDrillExpandMember()
           
 
Method Summary
 boolean canCollapse(Member member)
          true if member has children that are currently displayed.
 boolean canExpand(Member member)
          true if member has children and is not currently expanded
 void collapse(Member member)
          collapses member
 void expand(Member member)
          expands member
protected  TestOlapModel model()
           
 
Methods inherited from class com.tonbeller.jpivot.test.olap.TestExtensionSupport
fireModelChanged
 
Methods inherited from class com.tonbeller.jpivot.core.ExtensionSupport
decorate, getId, getModel, modelInitialized, setId, setModel
 
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.core.Extension
decorate, getId, modelInitialized, setModel
 

Constructor Detail

TestDrillExpandMember

public TestDrillExpandMember()
Method Detail

model

protected TestOlapModel model()
Overrides:
model in class TestExtensionSupport

canExpand

public boolean canExpand(Member member)
Description copied from interface: DrillExpandMember
true if member has children and is not currently expanded

Specified by:
canExpand in interface DrillExpandMember
See Also:
com.tonbeller.jpivot.olap.navi.DrillExpand#canExpand(Member)

canCollapse

public boolean canCollapse(Member member)
Description copied from interface: DrillExpandMember
true if member has children that are currently displayed. I.e. member is expanded.

Specified by:
canCollapse in interface DrillExpandMember
See Also:
com.tonbeller.jpivot.olap.navi.DrillExpand#canCollapse(Member)

expand

public void expand(Member member)
Description copied from interface: DrillExpandMember
expands member

Specified by:
expand in interface DrillExpandMember
See Also:
com.tonbeller.jpivot.olap.navi.DrillExpand#expand(Member)

collapse

public void collapse(Member member)
Description copied from interface: DrillExpandMember
collapses member

Specified by:
collapse in interface DrillExpandMember