Class UniformViewToIndexMapper
- java.lang.Object
 - 
- docking.widgets.indexedscrollpane.UniformViewToIndexMapper
 
 
- 
- All Implemented Interfaces:
 ViewToIndexMapper
public class UniformViewToIndexMapper extends java.lang.Object implements ViewToIndexMapper
 
- 
- 
Constructor Summary
Constructors Constructor Description UniformViewToIndexMapper(IndexedScrollable scrollable) 
- 
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
- 
UniformViewToIndexMapper
public UniformViewToIndexMapper(IndexedScrollable scrollable)
 
 - 
 
- 
Method Detail
- 
getViewHeight
public int getViewHeight()
- Specified by:
 getViewHeightin interfaceViewToIndexMapper
 
- 
getIndex
public java.math.BigInteger getIndex(int value)
- Specified by:
 getIndexin interfaceViewToIndexMapper
 
- 
getVerticalOffset
public int getVerticalOffset(int value)
- Specified by:
 getVerticalOffsetin interfaceViewToIndexMapper
 
- 
setVisibleViewHeight
public void setVisibleViewHeight(int height)
- Specified by:
 setVisibleViewHeightin interfaceViewToIndexMapper
 
- 
getScrollValue
public int getScrollValue(java.math.BigInteger startIndex, java.math.BigInteger endIndex, int startY, int endY)- Specified by:
 getScrollValuein interfaceViewToIndexMapper
 
- 
indexModelDataChanged
public void indexModelDataChanged(java.math.BigInteger start, java.math.BigInteger end)- Specified by:
 indexModelDataChangedin interfaceViewToIndexMapper
 
 - 
 
 -