public abstract class StackIndentationFunctor extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
mDistanceToPeekStart |
protected int |
mMaxItemsInStack |
protected int |
mPeekSize |
protected boolean |
mStackStartsAtPeek |
protected int |
mTotalTransitionDistance |
Modifier and Type | Method and Description |
---|---|
abstract float |
getValue(float itemsBefore)
Gets the offset of this Functor given a the quantity of items before it
|
void |
setDistanceToPeekStart(int distanceToPeekStart) |
void |
setPeekSize(int mPeekSize) |
protected int mTotalTransitionDistance
protected int mDistanceToPeekStart
protected int mMaxItemsInStack
protected int mPeekSize
protected boolean mStackStartsAtPeek
public void setPeekSize(int mPeekSize)
public void setDistanceToPeekStart(int distanceToPeekStart)
public abstract float getValue(float itemsBefore)
itemsBefore
- how many items are already in the stack before this element