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.BigIntegergetIndex(int value)intgetScrollValue(java.math.BigInteger startIndex, java.math.BigInteger endIndex, int startY, int endY)intgetVerticalOffset(int value)intgetViewHeight()voidindexModelDataChanged(java.math.BigInteger start, java.math.BigInteger end)voidsetVisibleViewHeight(int height)
-
-
-
Constructor Detail
-
PreMappedViewToIndexMapper
public PreMappedViewToIndexMapper(IndexedScrollable model)
-
-
Method Detail
-
getIndex
public java.math.BigInteger getIndex(int value)
- Specified by:
getIndexin interfaceViewToIndexMapper
-
getScrollValue
public int getScrollValue(java.math.BigInteger startIndex, java.math.BigInteger endIndex, int startY, int endY)- Specified by:
getScrollValuein interfaceViewToIndexMapper
-
getVerticalOffset
public int getVerticalOffset(int value)
- Specified by:
getVerticalOffsetin interfaceViewToIndexMapper
-
getViewHeight
public int getViewHeight()
- Specified by:
getViewHeightin interfaceViewToIndexMapper
-
setVisibleViewHeight
public void setVisibleViewHeight(int height)
- Specified by:
setVisibleViewHeightin interfaceViewToIndexMapper
-
indexModelDataChanged
public void indexModelDataChanged(java.math.BigInteger start, java.math.BigInteger end)- Specified by:
indexModelDataChangedin interfaceViewToIndexMapper
-
-