public class ButtonDispatcher extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ButtonDispatcher.ButtonInterface
Interface for button actions.
|
Constructor and Description |
---|
ButtonDispatcher(int id) |
Modifier and Type | Method and Description |
---|---|
void |
abortCurrentGesture() |
float |
getAlpha() |
View |
getCurrentView() |
int |
getId() |
ArrayList<View> |
getViews() |
int |
getVisibility() |
void |
setAlpha(int alpha) |
void |
setCarMode(boolean carMode) |
void |
setCurrentView(View currentView) |
void |
setImageDrawable(Drawable drawable) |
void |
setImageResource(int resource) |
void |
setLongClickable(boolean isLongClickable) |
void |
setOnClickListener(View.OnClickListener clickListener) |
void |
setOnLongClickListener(View.OnLongClickListener longClickListener) |
void |
setOnTouchListener(View.OnTouchListener touchListener) |
void |
setVisibility(int visibility) |
public int getId()
public int getVisibility()
public float getAlpha()
public void setImageDrawable(Drawable drawable)
public void setImageResource(int resource)
public void setVisibility(int visibility)
public void abortCurrentGesture()
public void setAlpha(int alpha)
public void setOnClickListener(View.OnClickListener clickListener)
public void setOnTouchListener(View.OnTouchListener touchListener)
public void setLongClickable(boolean isLongClickable)
public void setOnLongClickListener(View.OnLongClickListener longClickListener)
public View getCurrentView()
public void setCurrentView(View currentView)
public void setCarMode(boolean carMode)