com.tonbeller.jpivot.test.olap
Class TestDrillExpandPosition

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.TestDrillExpandPosition
All Implemented Interfaces:
Extension, DrillExpandPosition

public class TestDrillExpandPosition
extends TestExtensionSupport
implements DrillExpandPosition

Created on 03.12.2002

Author:
av

Field Summary
 
Fields inherited from interface com.tonbeller.jpivot.olap.navi.DrillExpandPosition
ID
 
Constructor Summary
TestDrillExpandPosition()
           
 
Method Summary
 boolean canCollapse(Position position, Member member)
          true if the Position is currently expanded by specific member.
 boolean canExpand(Position position, Member member)
          true if member has children and Position is not currently expanded
 void collapse(Position position, Member member)
          collapses Position by specific member.
 void expand(Position position, Member member)
          expands Position by specific member
 
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

TestDrillExpandPosition

public TestDrillExpandPosition()
Method Detail

canExpand

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

Specified by:
canExpand in interface DrillExpandPosition

canCollapse

public boolean canCollapse(Position position,
                           Member member)
Description copied from interface: DrillExpandPosition
true if the Position is currently expanded by specific member.

Specified by:
canCollapse in interface DrillExpandPosition

expand

public void expand(Position position,
                   Member member)
Description copied from interface: DrillExpandPosition
expands Position by specific member

Specified by:
expand in interface DrillExpandPosition

collapse

public void collapse(Position position,
                     Member member)
Description copied from interface: DrillExpandPosition
collapses Position by specific member.

Specified by:
collapse in interface DrillExpandPosition