private class ExpansionDetails.ButtonActions extends Object implements android.view.View.OnClickListener
Modifier and Type | Field and Description |
---|---|
private static String |
DOWN |
private static String |
LEFT |
private static String |
RIGHT |
private static String |
UP |
Modifier | Constructor and Description |
---|---|
private |
ButtonActions() |
Modifier and Type | Method and Description |
---|---|
private int |
getNextSlotAvailable()
Return the position of the next available slot for the expansion order selection.
|
private boolean |
isEndingState()
We can proceed once the last order state is implemented by the user.
|
void |
onClick(android.view.View v)
We get an order depending on the order tapped by the user on the app,
and proceed depending on the selection of the automatic or manual
algorithm.
|
private void |
switchViews(android.view.View first,
android.view.View second)
Change views however the user needs, in this context.
|
private static final String DOWN
private static final String UP
private static final String LEFT
private static final String RIGHT
public void onClick(android.view.View v)
onClick
in interface android.view.View.OnClickListener
v
- the button view tapped.private boolean isEndingState()
private void switchViews(android.view.View first, android.view.View second)
first
- first view.second
- second view.private int getNextSlotAvailable()