| Modifier and Type | Method and Description |
|---|---|
<T> T |
castParam(java.lang.Object value,
java.lang.String from,
int fromPosition,
java.lang.String to,
int toPosition) |
<T> T |
castView(android.view.View view,
int id,
java.lang.String who) |
<T> T |
findOptionalView(java.lang.Object source,
int id,
java.lang.String who) |
<T> T |
findRequiredView(java.lang.Object source,
int id,
java.lang.String who) |
protected abstract android.view.View |
findView(java.lang.Object source,
int id) |
abstract android.content.Context |
getContext(java.lang.Object source) |
protected java.lang.String |
getResourceEntryName(java.lang.Object source,
int id) |
static Finder |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Finder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Finder VIEW
public static final Finder ACTIVITY
public static final Finder DIALOG
public static Finder[] values()
for (Finder c : Finder.values()) System.out.println(c);
public static Finder valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic <T> T findRequiredView(java.lang.Object source,
int id,
java.lang.String who)
public <T> T findOptionalView(java.lang.Object source,
int id,
java.lang.String who)
public <T> T castView(android.view.View view,
int id,
java.lang.String who)
public <T> T castParam(java.lang.Object value,
java.lang.String from,
int fromPosition,
java.lang.String to,
int toPosition)
protected java.lang.String getResourceEntryName(java.lang.Object source,
int id)
protected abstract android.view.View findView(java.lang.Object source,
int id)
public abstract android.content.Context getContext(java.lang.Object source)