public class ERXSelectorUtilities
extends java.lang.Object
NSSelector.invoke().| Constructor and Description |
|---|
ERXSelectorUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
invoke(NSSelector<T> sel,
java.lang.Object o)
Just like the NSSelector method of the same name, except only runtime
exceptions are thrown.
|
static <T> T |
invoke(NSSelector<T> sel,
java.lang.Object o,
java.lang.Object argument1)
Just like the NSSelector method of the same name, except only runtime
exceptions are thrown.
|
static <T> T |
invoke(NSSelector<T> sel,
java.lang.Object o,
java.lang.Object[] params)
Just like the NSSelector method of the same name, except only NSForwardExceptions
are thrown.
|
static <T> T |
invoke(NSSelector<T> sel,
java.lang.Object o,
java.lang.Object argument1,
java.lang.Object argument2)
Just like the NSSelector method of the same name, except only runtime
exceptions are thrown.
|
static NSSelector<java.lang.Void> |
notificationSelector(java.lang.String methodName)
Utility that returns a selector you can use with the NSNotificationCenter.
|
public static <T> T invoke(NSSelector<T> sel, java.lang.Object o, java.lang.Object[] params)
sel - the selector to invokeo - the target object of the selectorparams - the arguments for the invoked selector methodNSSelector.invoke(Object, Object[])public static <T> T invoke(NSSelector<T> sel, java.lang.Object o)
sel - the selector to invokeo - the target object of the selectorNSSelector.invoke(Object)public static <T> T invoke(NSSelector<T> sel, java.lang.Object o, java.lang.Object argument1)
sel - the selector to invokeo - the target object of the selectorargument1 - the method argumentNSSelector.invoke(Object, Object)public static <T> T invoke(NSSelector<T> sel, java.lang.Object o, java.lang.Object argument1, java.lang.Object argument2)
sel - the selector to invokeo - the target object of the selectorargument1 - the first method argumentargument2 - the second method argumentNSSelector.invoke(Object, Object, Object)public static NSSelector<java.lang.Void> notificationSelector(java.lang.String methodName)
methodName - Copyright © 2002 – 2022 Project Wonder.