public class JavaFXMouseSelector extends MouseSelector implements JavaFXMouseFunctionality
| Modifier and Type | Field and Description |
|---|---|
static boolean |
activateMultipageHighlight |
int |
id |
int |
lastId |
| Constructor and Description |
|---|
JavaFXMouseSelector(PdfDecoderFX decode_pdf,
GUIFactory currentGUI,
Values commonValues,
Commands currentCommands) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
generateNewCursorBox()
generate new cursorBox and highlight extractable text,
if hardware acceleration off and extraction on
and update current cursor box displayed on screen |
javafx.scene.effect.Light.Point |
getCoordsOnPage(double x,
double y,
int page)
Find and updates coords for the current page
|
void |
mouseClicked(javafx.scene.input.MouseEvent e) |
void |
mouseDragged(javafx.scene.input.MouseEvent e) |
void |
mouseEntered(javafx.scene.input.MouseEvent e) |
void |
mouseExited(javafx.scene.input.MouseEvent e) |
void |
mouseMoved(javafx.scene.input.MouseEvent e) |
void |
mousePressed(javafx.scene.input.MouseEvent e) |
void |
mouseReleased(javafx.scene.input.MouseEvent e) |
adjustForAlignment, updateXYpublic static final boolean activateMultipageHighlight
public int id
public int lastId
public JavaFXMouseSelector(PdfDecoderFX decode_pdf, GUIFactory currentGUI, Values commonValues, Commands currentCommands)
public void mouseClicked(javafx.scene.input.MouseEvent e)
mouseClicked in interface JavaFXMouseFunctionalitypublic void mouseEntered(javafx.scene.input.MouseEvent e)
mouseEntered in interface JavaFXMouseFunctionalitypublic void mouseExited(javafx.scene.input.MouseEvent e)
mouseExited in interface JavaFXMouseFunctionalitypublic void mousePressed(javafx.scene.input.MouseEvent e)
mousePressed in interface JavaFXMouseFunctionalitypublic void mouseReleased(javafx.scene.input.MouseEvent e)
mouseReleased in interface JavaFXMouseFunctionalitypublic void mouseDragged(javafx.scene.input.MouseEvent e)
mouseDragged in interface JavaFXMouseFunctionalitypublic void mouseMoved(javafx.scene.input.MouseEvent e)
mouseMoved in interface JavaFXMouseFunctionalitypublic javafx.scene.effect.Light.Point getCoordsOnPage(double x,
double y,
int page)
x - :: The x coordinate of the cursors location in display area coordinatesy - :: The y coordinate of the cursors location in display area coordinatespage - :: The page we are currently onprotected void generateNewCursorBox()
Copyright © 2017. All rights reserved.