@ParametersAreNonnullByDefault
public class ExtendedCodeAreaScrolling
extends java.lang.Object
| Constructor and Description |
|---|
ExtendedCodeAreaScrolling() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearLastVerticalScrollingValue() |
java.util.Optional<org.exbin.bined.basic.CodeAreaScrollPosition> |
computeCenterOnScrollPosition(long rowPosition,
int halfCharsPosition,
int bytesPerRow,
int rowsPerRect,
int halfCharsPerRect,
int dataViewWidth,
int dataViewHeight,
int rowOffset,
int characterWidth,
int rowHeight) |
org.exbin.bined.basic.PositionScrollVisibility |
computePositionScrollVisibility(long rowPosition,
int charPosition,
int bytesPerRow,
int rowsPerPage,
int halfCharsPerPage,
int halfCharOffset,
int rowOffset,
int characterWidth,
int rowHeight) |
java.util.Optional<org.exbin.bined.basic.CodeAreaScrollPosition> |
computeRevealScrollPosition(long rowPosition,
int halfCharsPosition,
int bytesPerRow,
int rowsPerPage,
int halfCharsPerPage,
int halfCharOffset,
int rowOffset,
int characterWidth,
int rowHeight) |
org.exbin.bined.basic.CodeAreaScrollPosition |
computeScrolling(org.exbin.bined.basic.CodeAreaScrollPosition startPosition,
org.exbin.bined.basic.ScrollingDirection direction,
int rowsPerPage,
long rowsPerDocument) |
org.exbin.bined.basic.ScrollViewDimension |
computeViewDimension(int dataViewWidth,
int dataViewHeight,
org.exbin.bined.extended.layout.ExtendedCodeAreaLayoutProfile layoutProfile,
org.exbin.bined.extended.ExtendedCodeAreaStructure structure,
int characterWidth,
int rowHeight) |
int |
getHorizontalExtentDifference() |
org.exbin.bined.ScrollBarVisibility |
getHorizontalScrollBarVisibility() |
int |
getHorizontalScrollHalfChar(org.exbin.bined.basic.CodeAreaScrollPosition position,
int characterWidth) |
org.exbin.bined.extended.ExtendedHorizontalScrollUnit |
getHorizontalScrollUnit() |
int |
getHorizontalScrollValue(int characterWidth) |
int |
getHorizontalScrollX(int characterWidth) |
int |
getLastVerticalScrollingValue() |
org.exbin.bined.basic.CodeAreaScrollPosition |
getMaximumScrollPosition() |
org.exbin.bined.basic.ScrollBarVerticalScale |
getScrollBarVerticalScale() |
org.exbin.bined.basic.CodeAreaScrollPosition |
getScrollPosition() |
int |
getVerticalExtentDifference() |
org.exbin.bined.ScrollBarVisibility |
getVerticalScrollBarVisibility() |
org.exbin.bined.basic.VerticalScrollUnit |
getVerticalScrollUnit() |
int |
getVerticalScrollValue(int rowHeight,
long rowsPerDocument) |
void |
performScrolling(org.exbin.bined.basic.ScrollingDirection direction,
int rowsPerPage,
long rowsPerDocument) |
void |
setHorizontalExtentChangeListener(java.lang.Runnable horizontalExtentChangeListener) |
void |
setLastVerticalScrollingValue(int value) |
void |
setScrollBarVerticalScale(org.exbin.bined.basic.ScrollBarVerticalScale scrollBarVerticalScale) |
void |
setScrollPosition(org.exbin.bined.basic.CodeAreaScrollPosition scrollPosition) |
void |
setVerticalExtentChangeListener(java.lang.Runnable verticalExtentChangeListener) |
void |
updateCache(org.exbin.bined.DataProvider codeArea,
int horizontalScrollBarHeight,
int verticalScrollBarWidth) |
void |
updateHorizontalScrollBarValue(int scrollBarValue,
int characterWidth) |
void |
updateMaximumScrollPosition(long rowsPerDocument,
int rowsPerPage,
int halfCharsPerRow,
int halfCharsPerPage,
int halfCharOffset,
int rowOffset,
int characterWidth) |
void |
updateVerticalScrollBarValue(int scrollBarValue,
int rowHeight,
int maxValue,
long rowsPerDocumentToLastPage) |
public void updateCache(org.exbin.bined.DataProvider codeArea,
int horizontalScrollBarHeight,
int verticalScrollBarWidth)
@Nonnull
public org.exbin.bined.basic.ScrollViewDimension computeViewDimension(int dataViewWidth,
int dataViewHeight,
org.exbin.bined.extended.layout.ExtendedCodeAreaLayoutProfile layoutProfile,
org.exbin.bined.extended.ExtendedCodeAreaStructure structure,
int characterWidth,
int rowHeight)
public void updateHorizontalScrollBarValue(int scrollBarValue,
int characterWidth)
public void updateVerticalScrollBarValue(int scrollBarValue,
int rowHeight,
int maxValue,
long rowsPerDocumentToLastPage)
public int getVerticalScrollValue(int rowHeight,
long rowsPerDocument)
public int getHorizontalScrollValue(int characterWidth)
public void setVerticalExtentChangeListener(java.lang.Runnable verticalExtentChangeListener)
public void setHorizontalExtentChangeListener(java.lang.Runnable horizontalExtentChangeListener)
@Nonnull
public org.exbin.bined.basic.CodeAreaScrollPosition computeScrolling(org.exbin.bined.basic.CodeAreaScrollPosition startPosition,
org.exbin.bined.basic.ScrollingDirection direction,
int rowsPerPage,
long rowsPerDocument)
public void performScrolling(org.exbin.bined.basic.ScrollingDirection direction,
int rowsPerPage,
long rowsPerDocument)
@Nonnull
public org.exbin.bined.basic.PositionScrollVisibility computePositionScrollVisibility(long rowPosition,
int charPosition,
int bytesPerRow,
int rowsPerPage,
int halfCharsPerPage,
int halfCharOffset,
int rowOffset,
int characterWidth,
int rowHeight)
@Nonnull
public java.util.Optional<org.exbin.bined.basic.CodeAreaScrollPosition> computeRevealScrollPosition(long rowPosition,
int halfCharsPosition,
int bytesPerRow,
int rowsPerPage,
int halfCharsPerPage,
int halfCharOffset,
int rowOffset,
int characterWidth,
int rowHeight)
@Nonnull
public java.util.Optional<org.exbin.bined.basic.CodeAreaScrollPosition> computeCenterOnScrollPosition(long rowPosition,
int halfCharsPosition,
int bytesPerRow,
int rowsPerRect,
int halfCharsPerRect,
int dataViewWidth,
int dataViewHeight,
int rowOffset,
int characterWidth,
int rowHeight)
@Nonnull
public void updateMaximumScrollPosition(long rowsPerDocument,
int rowsPerPage,
int halfCharsPerRow,
int halfCharsPerPage,
int halfCharOffset,
int rowOffset,
int characterWidth)
public int getHorizontalScrollX(int characterWidth)
public int getHorizontalScrollHalfChar(org.exbin.bined.basic.CodeAreaScrollPosition position,
int characterWidth)
@Nonnull public org.exbin.bined.basic.CodeAreaScrollPosition getScrollPosition()
public void setScrollPosition(org.exbin.bined.basic.CodeAreaScrollPosition scrollPosition)
public int getHorizontalExtentDifference()
public int getVerticalExtentDifference()
@Nonnull public org.exbin.bined.basic.ScrollBarVerticalScale getScrollBarVerticalScale()
public void setScrollBarVerticalScale(org.exbin.bined.basic.ScrollBarVerticalScale scrollBarVerticalScale)
@Nonnull public org.exbin.bined.basic.VerticalScrollUnit getVerticalScrollUnit()
@Nonnull public org.exbin.bined.ScrollBarVisibility getVerticalScrollBarVisibility()
@Nonnull public org.exbin.bined.extended.ExtendedHorizontalScrollUnit getHorizontalScrollUnit()
@Nonnull public org.exbin.bined.ScrollBarVisibility getHorizontalScrollBarVisibility()
@Nonnull public org.exbin.bined.basic.CodeAreaScrollPosition getMaximumScrollPosition()
public void setLastVerticalScrollingValue(int value)
public int getLastVerticalScrollingValue()
public void clearLastVerticalScrollingValue()