public class MenuButton
extends java.lang.Object
Constructor and Description |
---|
MenuButton(IMenu parent,
android.view.View view) |
Modifier and Type | Method and Description |
---|---|
void |
addOnClickListener(android.view.View.OnClickListener listener)
Allows for multiple listeners to be fired when a menu button is clicked.
|
void |
dispose() |
android.widget.Button |
getButton() |
void |
removeOnClickListener(android.view.View.OnClickListener listener) |
public MenuButton(IMenu parent, android.view.View view)
public android.widget.Button getButton()
public void dispose()
public void addOnClickListener(android.view.View.OnClickListener listener)
listener
- the listener to be called.public void removeOnClickListener(android.view.View.OnClickListener listener)