public class NpapiEvent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
NPCocoaEventDrawRect |
static int |
NPCocoaEventFlagsChanged |
static int |
NPCocoaEventFocusChanged |
static int |
NPCocoaEventKeyDown |
static int |
NPCocoaEventKeyUp |
static int |
NPCocoaEventMouseDown |
static int |
NPCocoaEventMouseDragged |
static int |
NPCocoaEventMouseEntered |
static int |
NPCocoaEventMouseExited |
static int |
NPCocoaEventMouseMoved |
static int |
NPCocoaEventMouseUp |
static int |
NPCocoaEventScrollWheel |
static int |
NPCocoaEventTextInput |
static int |
NPCocoaEventWindowFocusChanged |
Constructor and Description |
---|
NpapiEvent() |
Modifier and Type | Method and Description |
---|---|
private static void |
_dispatchCocoaNpapiDrawEvent(long windowPtr,
int type,
long context,
double x,
double y,
double width,
double height) |
private static void |
_dispatchCocoaNpapiFocusEvent(long windowPtr,
int type,
boolean hasFocus) |
private static void |
_dispatchCocoaNpapiKeyEvent(long windowPtr,
int type,
int modifierFlags,
java.lang.String characters,
java.lang.String charactersIgnoringModifiers,
boolean isARepeat,
int keyCode,
boolean needsKeyTyped) |
private static void |
_dispatchCocoaNpapiMouseEvent(long windowPtr,
int type,
int modifierFlags,
double pluginX,
double pluginY,
int buttonNumber,
int clickCount,
double deltaX,
double deltaY,
double deltaZ) |
private static void |
_dispatchCocoaNpapiTextInputEvent(long windowPtr,
int type,
java.lang.String text) |
static void |
dispatchCocoaNpapiEvent(Window window,
java.util.Map eventInfo) |
private static boolean |
getBoolean(java.util.Map eventInfo,
java.lang.String key) |
private static double |
getDouble(java.util.Map eventInfo,
java.lang.String key) |
private static int |
getInt(java.util.Map eventInfo,
java.lang.String key) |
private static long |
getLong(java.util.Map eventInfo,
java.lang.String key) |
private static java.lang.String |
getString(java.util.Map eventInfo,
java.lang.String key) |
public static final int NPCocoaEventDrawRect
public static final int NPCocoaEventMouseDown
public static final int NPCocoaEventMouseUp
public static final int NPCocoaEventMouseMoved
public static final int NPCocoaEventMouseEntered
public static final int NPCocoaEventMouseExited
public static final int NPCocoaEventMouseDragged
public static final int NPCocoaEventKeyDown
public static final int NPCocoaEventKeyUp
public static final int NPCocoaEventFlagsChanged
public static final int NPCocoaEventFocusChanged
public static final int NPCocoaEventWindowFocusChanged
public static final int NPCocoaEventScrollWheel
public static final int NPCocoaEventTextInput
private static void _dispatchCocoaNpapiDrawEvent(long windowPtr, int type, long context, double x, double y, double width, double height)
private static void _dispatchCocoaNpapiMouseEvent(long windowPtr, int type, int modifierFlags, double pluginX, double pluginY, int buttonNumber, int clickCount, double deltaX, double deltaY, double deltaZ)
private static void _dispatchCocoaNpapiKeyEvent(long windowPtr, int type, int modifierFlags, java.lang.String characters, java.lang.String charactersIgnoringModifiers, boolean isARepeat, int keyCode, boolean needsKeyTyped)
private static void _dispatchCocoaNpapiFocusEvent(long windowPtr, int type, boolean hasFocus)
private static void _dispatchCocoaNpapiTextInputEvent(long windowPtr, int type, java.lang.String text)
private static final boolean getBoolean(java.util.Map eventInfo, java.lang.String key)
private static final int getInt(java.util.Map eventInfo, java.lang.String key)
private static final long getLong(java.util.Map eventInfo, java.lang.String key)
private static final double getDouble(java.util.Map eventInfo, java.lang.String key)
private static final java.lang.String getString(java.util.Map eventInfo, java.lang.String key)
public static void dispatchCocoaNpapiEvent(Window window, java.util.Map eventInfo)