Package com.macrofocus.molap.subset
Class AbstractDimension<Row>
- java.lang.Object
-
- com.macrofocus.molap.subset.AbstractDimension<Row>
-
- All Implemented Interfaces:
Dimension<Row>
- Direct Known Subclasses:
AbstractBinningDimension
,DefaultItemsDimension
,DefaultOrdinalDimension
public abstract class AbstractDimension<Row> extends java.lang.Object implements Dimension<Row>
Created by luc on 16/05/15.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AbstractDimension.FilteringCallback<R>
static class
AbstractDimension.FilteringEvent<Row>
static class
AbstractDimension.IndicesIterable<R>
static interface
AbstractDimension.IndicesSupplier
-
Field Summary
Fields Modifier and Type Field Description protected com.macrofocus.timer.CPTimer
updateTimer
-
Constructor Summary
Constructors Constructor Description AbstractDimension()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
addDimensionListener(DimensionListener<Row> listener)
void
addWeakDimensionListener(DimensionListener<Row> listener)
protected void
notifyDimensionChanged(DimensionEvent<Row> event)
protected void
notifySelectedCountChanged()
void
removeDimensionListener(DimensionListener<Row> listener)
void
removeDimensionListeners()
protected void
scheduleUpdateFilter()
void
setUpdateTimer(com.macrofocus.timer.CPTimer updateTimer)
protected abstract void
updateFilter()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.macrofocus.molap.subset.Dimension
filterAll, getActiveIndices, getName, isReducable, markDirty, materializeIndex, reduce
-
-
-
-
Method Detail
-
setUpdateTimer
public void setUpdateTimer(com.macrofocus.timer.CPTimer updateTimer)
- Specified by:
setUpdateTimer
in interfaceDimension<Row>
-
scheduleUpdateFilter
protected void scheduleUpdateFilter()
-
updateFilter
protected abstract void updateFilter()
-
addDimensionListener
public void addDimensionListener(DimensionListener<Row> listener)
- Specified by:
addDimensionListener
in interfaceDimension<Row>
-
addWeakDimensionListener
public void addWeakDimensionListener(DimensionListener<Row> listener)
- Specified by:
addWeakDimensionListener
in interfaceDimension<Row>
-
removeDimensionListener
public void removeDimensionListener(DimensionListener<Row> listener)
- Specified by:
removeDimensionListener
in interfaceDimension<Row>
-
removeDimensionListeners
public void removeDimensionListeners()
- Specified by:
removeDimensionListeners
in interfaceDimension<Row>
-
notifyDimensionChanged
protected void notifyDimensionChanged(DimensionEvent<Row> event)
-
notifySelectedCountChanged
protected void notifySelectedCountChanged()
-
-