public class PageActionModifier
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_CTRLPRESSED |
static int |
TYPE_NOTHINGPRESSED |
static int |
TYPE_SHIFTPRESSED |
Constructor and Description |
---|
PageActionModifier(int type) |
Modifier and Type | Method and Description |
---|---|
static PageActionModifier |
getCtrlPressed() |
static PageActionModifier |
getNothingPressed() |
static PageActionModifier |
getShiftPressed() |
boolean |
isActionWithModifier(javafx.scene.input.MouseEvent event) |
java.lang.String |
toString() |
public static final int TYPE_NOTHINGPRESSED
public static final int TYPE_CTRLPRESSED
public static final int TYPE_SHIFTPRESSED
public PageActionModifier(int type)
type
- the type, define as a static number in this classpublic static PageActionModifier getNothingPressed()
public static PageActionModifier getCtrlPressed()
public static PageActionModifier getShiftPressed()
public boolean isActionWithModifier(javafx.scene.input.MouseEvent event)
event
- a mouse eventpublic java.lang.String toString()
toString
in class java.lang.Object