| Modifier and Type | Field and Description |
|---|---|
| pack-priv static Object | |
| protected String | |
| protected Method | |
| protected Object |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public Object | invoke(Object
the proxy instance that the method was invoked on proxy, Method the method, Object[] Method instance corresponding to
the interface method invoked on the proxy instance. The declaring
class of the Method object will be the interface that
the method was declared in, which may be a superinterface of the
proxy interface that the proxy class inherits the method through.an array of objects containing the values of the
arguments passed in the method invocation on the proxy instance,
or args)null if interface method takes no arguments.
Arguments of primitive types are wrapped in instances of the
appropriate primitive wrapper class, such as
java.lang.Integer or java.lang.Boolean.Implements java. Processes a method invocation on a proxy instance and returns the result. |
| protected boolean | |
| private static boolean | |
| public static void | |
| protected void | |
| public static void | |
| public static void | |
| public static void | |
| public static void |
| macOSXApplication | back to summary |
|---|---|
| pack-priv static Object macOSXApplication | |
| proxySignature | back to summary |
|---|---|
| protected String proxySignature | |
| targetMethod | back to summary |
|---|---|
| protected Method targetMethod | |
| targetObject | back to summary |
|---|---|
| protected Object targetObject | |
| OSXAdapter | back to summary |
|---|---|
| protected OSXAdapter(String proxySignature, Object target, Method handler) | |
| callTarget | back to summary |
|---|---|
| public boolean callTarget(Object appleEvent) throws InvocationTargetException, IllegalAccessException | |
| invoke | back to summary |
|---|---|
| public Object invoke(Object proxy, Method method, Object[] args) throws Throwable Implements java. Doc from java. Processes a method invocation on a proxy instance and returns the result. This method will be invoked on an invocation handler when a method is invoked on a proxy instance that it is associated with.
| |
| isCorrectMethod | back to summary |
|---|---|
| protected boolean isCorrectMethod(Method method, Object[] args) | |
| isMinJdk9 | back to summary |
|---|---|
| private static boolean isMinJdk9() | |
| setAboutHandler | back to summary |
|---|---|
| public static void setAboutHandler(Object target, Method aboutHandler) | |
| setApplicationEventHandled | back to summary |
|---|---|
| protected void setApplicationEventHandled(Object event, boolean handled) | |
| setFileHandler | back to summary |
|---|---|
| public static void setFileHandler(Object target, Method fileHandler) | |
| setHandler | back to summary |
|---|---|
| public static void setHandler(OSXAdapter adapter) | |
| setPreferencesHandler | back to summary |
|---|---|
| public static void setPreferencesHandler(Object target, Method prefsHandler) | |
| setQuitHandler | back to summary |
|---|---|
| public static void setQuitHandler(final Object target, final Method quitHandler) | |