|
RoboJDETM v2.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface MenuController
Interface to allow MenuItems to interface with an object implementing the MenuController interface.
| Method Summary | |
|---|---|
void |
buttonPressed()
Provides feedback to the user that a button has been pressed. |
int |
getScrollIndex(int numberOfValues)
Samples the scroll input and scales the result such that this method returns an index from the specified number of values. |
void |
printStatus(String string)
Replaces the text on the status line with the text provided. |
| Method Detail |
|---|
void buttonPressed()
int getScrollIndex(int numberOfValues)
numberOfValues - the number values to scale the scroll input into. For example,
providing the value 3 would cause this function to return 0,
1, or 2 depending on the position of the scroll input
void printStatus(String string)
string - String to display on status line
|
RoboJDETM v2.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||