Class PreMappedViewToIndexMapper
- java.lang.Object
-
- docking.widgets.indexedscrollpane.PreMappedViewToIndexMapper
-
- All Implemented Interfaces:
ViewToIndexMapper
public class PreMappedViewToIndexMapper extends java.lang.Object implements ViewToIndexMapper
-
-
Constructor Summary
Constructors Constructor Description PreMappedViewToIndexMapper(IndexedScrollable model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.math.BigInteger
getIndex(int value)
int
getScrollValue(java.math.BigInteger startIndex, java.math.BigInteger endIndex, int startY, int endY)
int
getVerticalOffset(int value)
int
getViewHeight()
void
indexModelDataChanged(java.math.BigInteger start, java.math.BigInteger end)
void
setVisibleViewHeight(int height)
-
-
-
Constructor Detail
-
PreMappedViewToIndexMapper
public PreMappedViewToIndexMapper(IndexedScrollable model)
-
-
Method Detail
-
getIndex
public java.math.BigInteger getIndex(int value)
- Specified by:
getIndex
in interfaceViewToIndexMapper
-
getScrollValue
public int getScrollValue(java.math.BigInteger startIndex, java.math.BigInteger endIndex, int startY, int endY)
- Specified by:
getScrollValue
in interfaceViewToIndexMapper
-
getVerticalOffset
public int getVerticalOffset(int value)
- Specified by:
getVerticalOffset
in interfaceViewToIndexMapper
-
getViewHeight
public int getViewHeight()
- Specified by:
getViewHeight
in interfaceViewToIndexMapper
-
setVisibleViewHeight
public void setVisibleViewHeight(int height)
- Specified by:
setVisibleViewHeight
in interfaceViewToIndexMapper
-
indexModelDataChanged
public void indexModelDataChanged(java.math.BigInteger start, java.math.BigInteger end)
- Specified by:
indexModelDataChanged
in interfaceViewToIndexMapper
-
-