private class AStar.ButtonActions extends Object implements android.view.View.OnClickListener, android.widget.SeekBar.OnSeekBarChangeListener
Modifier | Constructor and Description |
---|---|
private |
ButtonActions() |
Modifier and Type | Method and Description |
---|---|
void |
onClick(android.view.View v)
When we start the algorithm, we let the user select a color for the final path drawing.
|
void |
onProgressChanged(android.widget.SeekBar seekBar,
int progress,
boolean fromUser)
Change to the refresh of the process of the thread.
|
void |
onStartTrackingTouch(android.widget.SeekBar seekBar)
Code not used but still needed to be instantiated for the thread to work properly.
|
void |
onStopTrackingTouch(android.widget.SeekBar seekBar)
Code not used but still needed to be instantiated for the thread to work properly.
|
public void onClick(android.view.View v)
onClick
in interface android.view.View.OnClickListener
v
- button view.public void onProgressChanged(android.widget.SeekBar seekBar, int progress, boolean fromUser)
onProgressChanged
in interface android.widget.SeekBar.OnSeekBarChangeListener
seekBar
- for the speed of execution.progress
- for the completion of the thread.fromUser
- for the actions selected.public void onStartTrackingTouch(android.widget.SeekBar seekBar)
onStartTrackingTouch
in interface android.widget.SeekBar.OnSeekBarChangeListener
seekBar
- public void onStopTrackingTouch(android.widget.SeekBar seekBar)
onStopTrackingTouch
in interface android.widget.SeekBar.OnSeekBarChangeListener
seekBar
-