public class SingleDisplayFX extends GUIDisplay
Display.BoolValueaccelerationAlwaysRedraw, allowChangeCursor, crh, cropH, cropW, cropX, cropY, crw, crx, cry, currentDisplay, currentOffset, customRenderChangeListener, default_separateCover, default_turnoverOn, displayOffsets, displayRotation, displayScalingDbl, displayView, ignoreScalingForAcceleration, indent, insetH, insetW, isInitialised, isRotated, lastDisplayRotation, lastEnd, lastFormPage, lastIndent, lastScaling, lastStart, multiDisplayOptions, oldRotation, oldScaling, options, overRideAcceleration, pageData, pageNumber, pageOffsetH, pageOffsetW, pageUsedForTransform, rh, rw, rx, ry, scaling, thumbnails, topH, topW, useAccelerationCONTINUOUS, CONTINUOUS_FACING, debugLayout, DISPLAY_CENTERED, DISPLAY_LEFT_ALIGNED, FACING, NODISPLAY, PAGEFLOW, PORTFOLIO_DETAIL, PORTFOLIO_TILE, SINGLE_PAGE| Constructor and Description |
|---|
SingleDisplayFX(int pageNumber,
DynamicVectorRenderer currentDisplay,
PdfDecoderFX pdf,
DecoderOptions options) |
SingleDisplayFX(PdfDecoderFX pdf,
DecoderOptions options) |
| Modifier and Type | Method and Description |
|---|---|
void |
disableScreen()
Resets the FXPane when we open a new PDF
|
int[] |
getCursorBoxOnScreenAsArray() |
Rectangle |
getDisplayedRectangle() |
void |
init(float scaling,
int displayRotation,
int pageNumber,
DynamicVectorRenderer currentDisplay,
boolean isInit) |
void |
refreshDisplay() |
void |
setPageRotation(int newRotation)
initialise panel and set size to display during updates and update the AffineTransform to new values
|
void |
setPageSize(int pageNumber,
float scaling)
Set the page size for the given page and scaling.
|
void |
updateCursorBoxOnScreen(int[] newOutlineRectangle,
int outlineColor,
int pageNumber,
int x_size,
int y_size) |
decodeOtherPages, dispose, drawBorder, drawCursor, drawFacing, flushPageCaches, forceRedraw, getBoolean, getDisplayedRectangle, getDisplayRotation, getEndPage, getHighlightedImage, getIndent, getInsetH, getInsetW, getOldScaling, getPageSize, getRh, getRw, getRx, getRy, getStartPage, getXCordForPage, getYCordForPage, getYCordForPage, paintPage, resetViewableArea, setAcceleration, setAccelerationAlwaysRedraw, setBoolean, setCurrentDisplay, setHighlightedImage, setObjectValue, setPageOffsets, setScaling, setThumbnailPanel, setup, stopGeneratingPagepublic SingleDisplayFX(int pageNumber,
DynamicVectorRenderer currentDisplay,
PdfDecoderFX pdf,
DecoderOptions options)
public SingleDisplayFX(PdfDecoderFX pdf, DecoderOptions options)
public void refreshDisplay()
refreshDisplay in interface DisplayrefreshDisplay in class GUIDisplaypublic void setPageRotation(int newRotation)
setPageRotation in interface DisplaysetPageRotation in class GUIDisplaynewRotation - int value to specify the rotation for the pagepublic void disableScreen()
disableScreen in interface DisplaydisableScreen in class GUIDisplaypublic void init(float scaling,
int displayRotation,
int pageNumber,
DynamicVectorRenderer currentDisplay,
boolean isInit)
init in interface Displayinit in class GUIDisplaypublic void setPageSize(int pageNumber,
float scaling)
setPageSize in class GUIDisplaypageNumber - int value representing the page numberscaling - float value representing the scaling for the pagepublic int[] getCursorBoxOnScreenAsArray()
getCursorBoxOnScreenAsArray in interface DisplaygetCursorBoxOnScreenAsArray in class GUIDisplaypublic void updateCursorBoxOnScreen(int[] newOutlineRectangle,
int outlineColor,
int pageNumber,
int x_size,
int y_size)
updateCursorBoxOnScreen in interface DisplayupdateCursorBoxOnScreen in class GUIDisplaypublic Rectangle getDisplayedRectangle()
getDisplayedRectangle in interface DisplaygetDisplayedRectangle in class GUIDisplayCopyright © 2017. All rights reserved.