public class RMShapeEvent
extends ViewEvent
Constructor and Description |
---|
RMShapeEvent(RMShape aShape,
ViewEvent anEvent,
Point aPoint,
ViewEvent.Type aType)
Creates a new RMShapeEvent.
|
Modifier and Type | Method and Description |
---|---|
void |
consume()
Override to forward to encapsulated event.
|
int |
getClickCount()
Override to forward to encapsulated event.
|
Point |
getPoint()
Overrides to return point in shape coords.
|
double |
getX()
Override to return point in shape coords.
|
double |
getY()
Override to return point in shape coords.
|
boolean |
isAltDown()
Returns whether alt key is down.
|
boolean |
isControlDown()
Returns whether control key is down.
|
boolean |
isMetaDown()
Returns whether "meta" key is down (the command key on Mac with no equivalent on Windows).
|
boolean |
isPopupTrigger()
Returns whether popup trigger is down.
|
boolean |
isShiftDown()
Returns whether shift key is down.
|
boolean |
isShortcutDown()
Returns whether shortcut key is pressed.
|
public RMShapeEvent(RMShape aShape, ViewEvent anEvent, Point aPoint, ViewEvent.Type aType)
public boolean isAltDown()
public boolean isControlDown()
public boolean isMetaDown()
public boolean isShiftDown()
public boolean isShortcutDown()
public boolean isPopupTrigger()
public double getX()
public double getY()
public Point getPoint()
public int getClickCount()
public void consume()