com.tonbeller.jpivot.test.olap
Class TestDrillReplace

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.TestDrillReplace
All Implemented Interfaces:
Extension, DrillReplace

public class TestDrillReplace
extends TestExtensionSupport
implements DrillReplace

Created on 03.12.2002

Author:
av

Field Summary
 
Fields inherited from interface com.tonbeller.jpivot.olap.navi.DrillReplace
ID
 
Constructor Summary
TestDrillReplace()
           
 
Method Summary
 boolean canDrillDown(Member member)
          drill down is possible if member has children
 boolean canDrillUp(Hierarchy hier)
          drill up is possible if not all members of the top level hierarchy are shown.
 void drillDown(Member member)
          replaces the members.
 void drillUp(Hierarchy hier)
          replaces all visible members of hier with the members of the next higher level.
 
Methods inherited from class com.tonbeller.jpivot.test.olap.TestExtensionSupport
fireModelChanged, model
 
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

TestDrillReplace

public TestDrillReplace()
Method Detail

canDrillDown

public boolean canDrillDown(Member member)
Description copied from interface: DrillReplace
drill down is possible if member has children

Specified by:
canDrillDown in interface DrillReplace
See Also:
DrillReplace.canDrillDown(Member)

canDrillUp

public boolean canDrillUp(Hierarchy hier)
Description copied from interface: DrillReplace
drill up is possible if not all members of the top level hierarchy are shown.

Specified by:
canDrillUp in interface DrillReplace
See Also:
DrillReplace.canDrillUp(Hierarchy)

drillDown

public void drillDown(Member member)
Description copied from interface: DrillReplace
replaces the members. Let H be the hierarchy that member belongs to. Then drillDown will replace all members from H that are currently visible with the children of member.

Specified by:
drillDown in interface DrillReplace
See Also:
DrillReplace.drillDown(Member)

drillUp

public void drillUp(Hierarchy hier)
Description copied from interface: DrillReplace
replaces all visible members of hier with the members of the next higher level.

Specified by:
drillUp in interface DrillReplace
See Also:
DrillReplace.drillUp(Hierarchy)