com.tonbeller.jpivot.olap.query
Class DrillExpandPositionExt
java.lang.Object
com.tonbeller.jpivot.core.ExtensionSupport
com.tonbeller.jpivot.olap.query.DrillExpandPositionExt
- All Implemented Interfaces:
- Extension, DrillExpandPosition
public class DrillExpandPositionExt
- extends ExtensionSupport
- implements DrillExpandPosition
- Author:
- hh
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DrillExpandPositionExt
public DrillExpandPositionExt()
- Constructor sets ID
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
- Parameters:
position
- position to be expandedmember
- member to be expanded
- Returns:
- true if the member can be expanded
- See Also:
com.tonbeller.jpivot.olap.navi.DrillExpand#canExpand(Member)
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
- Parameters:
position
- position to be expanded
- Returns:
- true if the member can be expanded
- See Also:
com.tonbeller.jpivot.olap.navi.DrillExpand#canCollapse(Member)
expand
public void expand(Position position,
Member member)
- Description copied from interface:
DrillExpandPosition
- expands Position by specific member
- Specified by:
expand
in interface DrillExpandPosition
- Parameters:
position
- position to be expandedmember
- member to be expanded- See Also:
com.tonbeller.jpivot.olap.navi.DrillExpand#expand(Member)
collapse
public void collapse(Position position,
Member member)
- Description copied from interface:
DrillExpandPosition
- collapses Position by specific member.
- Specified by:
collapse
in interface DrillExpandPosition
- Parameters:
position
- position to be collapsedposition
- member to be collapsed- See Also:
com.tonbeller.jpivot.olap.navi.DrillExpand#expand(Member)