Package processing.event
Class Event
java.lang.Object
processing.event.Event
- Direct Known Subclasses:
- KeyEvent,- MouseEvent,- TouchEvent
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintintlongintGet the platform-native event object.booleanbooleanbooleanboolean
- 
Field Details- 
SHIFTpublic static final int SHIFT- See Also:
 
- 
CTRLpublic static final int CTRL- See Also:
 
- 
METApublic static final int META- See Also:
 
- 
ALTpublic static final int ALT- See Also:
 
- 
KEYpublic static final int KEY- See Also:
 
- 
MOUSEpublic static final int MOUSE- See Also:
 
- 
TOUCHpublic static final int TOUCH- See Also:
 
 
- 
- 
Constructor Details- 
Event
 
- 
- 
Method Details- 
getFlavorpublic int getFlavor()
- 
getNativeGet the platform-native event object. This might be the java.awt event on the desktop, though if you're using OpenGL on the desktop it'll be a NEWT event that JOGL uses. Android events are something else altogether. Bottom line, use this only if you know what you're doing, and don't make assumptions about the class type.
- 
getMillispublic long getMillis()
- 
getActionpublic int getAction()
- 
getModifierspublic int getModifiers()
- 
isShiftDownpublic boolean isShiftDown()
- 
isControlDownpublic boolean isControlDown()
- 
isMetaDownpublic boolean isMetaDown()
- 
isAltDownpublic boolean isAltDown()
 
-