public class QSFooter extends Object implements View.OnClickListener, DialogInterface.OnClickListener
Modifier and Type | Field and Description |
---|---|
protected static boolean |
DEBUG |
protected static String |
TAG |
Constructor and Description |
---|
QSFooter(QSPanel qsPanel,
Context context) |
Modifier and Type | Method and Description |
---|---|
View |
getView() |
boolean |
hasFooter() |
void |
onClick(DialogInterface dialog,
int which)
This method will be invoked when a button in the dialog is clicked.
|
void |
onClick(View v)
Called when a view has been clicked.
|
void |
onConfigurationChanged() |
void |
refreshState() |
void |
setHost(QSTileHost host) |
void |
setListening(boolean listening) |
protected static final String TAG
protected static final boolean DEBUG
public void setHost(QSTileHost host)
public void setListening(boolean listening)
public void onConfigurationChanged()
public View getView()
public boolean hasFooter()
public void onClick(View v)
View.OnClickListener
onClick
in interface View.OnClickListener
v
- The view that was clicked.public void refreshState()
public void onClick(DialogInterface dialog, int which)
DialogInterface.OnClickListener
onClick
in interface DialogInterface.OnClickListener
dialog
- The dialog that received the click.which
- The button that was clicked (e.g.
DialogInterface.BUTTON1
) or the position
of the item clicked.