/** * Returns whether the underlying event is a mouse entered or exited event. * * @return true if is a mouse entered or exited event */ public boolean isMouseEnteredOrMouseExited() { if (isMouseEvent()) { return inputEvent.getID() == MouseEvent.MOUSE_ENTERED || inputEvent.getID() == MouseEvent.MOUSE_EXITED; } return false; }
public boolean startInteraction(InputEvent ie) { int mods = ie.getModifiers(); return ie.getID() == MouseEvent.MOUSE_PRESSED && (mods & InputEvent.BUTTON1_MASK) != 0 && (mods & InputEvent.CTRL_MASK) != 0; } };
public boolean startInteraction(InputEvent ie) { int mods = ie.getModifiers(); return ie.getID() == MouseEvent.MOUSE_PRESSED && (mods & InputEvent.BUTTON1_MASK) != 0 && (mods & InputEvent.SHIFT_MASK) != 0; } };
public boolean startInteraction(InputEvent ie) { int mods = ie.getModifiers(); return ie.getID() == MouseEvent.MOUSE_PRESSED && (mods & InputEvent.BUTTON3_MASK) != 0 && (mods & InputEvent.CTRL_MASK) != 0; } };
public boolean startInteraction(InputEvent ie) { int mods = ie.getModifiers(); return ie.getID() == MouseEvent.MOUSE_PRESSED && (mods & InputEvent.BUTTON1_MASK) != 0 && (mods & InputEvent.SHIFT_MASK) != 0; } };
/** * Associates all InputEvents of type <code>e.getID()</code> * with "incrementing" of the currently selected GraphicsNode. */ public void setNodeIncrementEvent(InputEvent e) { nodeIncrementEventID = e.getID(); if (e instanceof KeyEvent) { nodeIncrementEventCode = ((KeyEvent) e).getKeyCode(); } nodeIncrementEventModifiers = e.getModifiers(); }
public boolean startInteraction(InputEvent ie) { int mods = ie.getModifiers(); return ie.getID() == MouseEvent.MOUSE_CLICKED && (mods & InputEvent.BUTTON3_MASK) != 0 && (mods & InputEvent.SHIFT_MASK) != 0 && (mods & InputEvent.CTRL_MASK) != 0; } };
public boolean startInteraction(InputEvent ie) { int mods = ie.getModifiersEx(); return ie.getID() == MouseEvent.MOUSE_PRESSED && (mods & InputEvent.BUTTON1_DOWN_MASK) != 0 && (mods & InputEvent.SHIFT_DOWN_MASK) != 0; } };
/** * Associates all InputEvents of type <code>e.getID()</code> * with "incrementing" of the currently selected GraphicsNode. */ public void setNodeIncrementEvent(InputEvent e) { nodeIncrementEventID = e.getID(); if (e instanceof KeyEvent) { nodeIncrementEventCode = ((KeyEvent) e).getKeyCode(); } nodeIncrementEventModifiers = e.getModifiers(); }
public boolean startInteraction(InputEvent ie) { int mods = ie.getModifiers(); return ie.getID() == MouseEvent.MOUSE_PRESSED && (mods & InputEvent.BUTTON1_MASK) != 0 && (mods & InputEvent.CTRL_MASK) != 0; } };
public boolean startInteraction(InputEvent ie) { int mods = ie.getModifiers(); return ie.getID() == MouseEvent.MOUSE_PRESSED && (mods & InputEvent.BUTTON3_MASK) != 0 && (mods & InputEvent.SHIFT_MASK) != 0; } };
public boolean startInteraction(InputEvent ie) { int mods = ie.getModifiers(); return ie.getID() == MouseEvent.MOUSE_PRESSED && (mods & InputEvent.BUTTON3_MASK) != 0 && (mods & InputEvent.CTRL_MASK) != 0; } };
public boolean startInteraction(InputEvent ie) { int mods = ie.getModifiersEx(); return ie.getID() == MouseEvent.MOUSE_PRESSED && (mods & InputEvent.BUTTON3_DOWN_MASK) != 0 && (mods & InputEvent.SHIFT_DOWN_MASK) != 0; } };
public boolean startInteraction(InputEvent ie) { int mods = ie.getModifiersEx(); return ie.getID() == MouseEvent.MOUSE_PRESSED && (mods & InputEvent.BUTTON3_DOWN_MASK) != 0 && (mods & InputEvent.CTRL_DOWN_MASK) != 0; } };
public boolean startInteraction(InputEvent ie) { int mods = ie.getModifiersEx(); return ie.getID() == MouseEvent.MOUSE_CLICKED && (mods & InputEvent.BUTTON3_DOWN_MASK) != 0 && (mods & InputEvent.SHIFT_DOWN_MASK) != 0 && (mods & InputEvent.CTRL_DOWN_MASK) != 0; } };
/** * Associates all InputEvents of type <code>e.getID()</code> * with "incrementing" of the currently selected GraphicsNode. */ public void setNodeIncrementEvent(InputEvent e) { nodeIncrementEventID = e.getID(); if (e instanceof KeyEvent) { nodeIncrementEventCode = ((KeyEvent) e).getKeyCode(); } nodeIncrementEventModifiers = e.getModifiersEx(); }
public boolean startInteraction(InputEvent ie) { int mods = ie.getModifiersEx(); return ie.getID() == MouseEvent.MOUSE_PRESSED && (mods & InputEvent.BUTTON1_DOWN_MASK) != 0 && (mods & InputEvent.CTRL_DOWN_MASK) != 0; } };
/** * Associates all InputEvents of type <code>e.getID()</code> * with "decrementing" of the currently selected GraphicsNode. * The notion of "currently selected" GraphicsNode is used * for dispatching KeyEvents. */ public void setNodeDecrementEvent(InputEvent e) { nodeDecrementEventID = e.getID(); if (e instanceof KeyEvent) { nodeDecrementEventCode = ((KeyEvent) e).getKeyCode(); } nodeDecrementEventModifiers = e.getModifiers(); }
public boolean startInteraction(InputEvent ie) { int mods = ie.getModifiers(); return ie.getID() == MouseEvent.MOUSE_PRESSED && (mods & InputEvent.BUTTON3_MASK) != 0 && (mods & InputEvent.SHIFT_MASK) != 0; } };
public boolean startInteraction(InputEvent ie) { int mods = ie.getModifiers(); return ie.getID() == MouseEvent.MOUSE_CLICKED && (mods & InputEvent.BUTTON3_MASK) != 0 && (mods & InputEvent.SHIFT_MASK) != 0 && (mods & InputEvent.CTRL_MASK) != 0; } };