Skip navigation links
E G I M O P T 

E

eecs1022.midtermb - package eecs1022.midtermb
 

G

getColor() - Method in class eecs1022.midtermb.Toggle
Returns the color Color.GREEN if this toggle is on, and returns the color Color.RED if this toggle is off.
getText() - Method in class eecs1022.midtermb.Toggle
Returns the text "Press me" if this toggle is on, and returns the text "Again" if this toggle is off.

I

it() - Method in class eecs1022.midtermb.Toggle
Switched this toggle from on to off or from off to on.

M

MainActivity - Class in eecs1022.midtermb
The controller of the app.
MainActivity() - Constructor for class eecs1022.midtermb.MainActivity
 

O

onCreate(Bundle) - Method in class eecs1022.midtermb.MainActivity
Initializes this controller.

P

pressed(View) - Method in class eecs1022.midtermb.MainActivity
Toggles the text and color of the button.

T

Toggle - Class in eecs1022.midtermb
This class represents the model of the app.
Toggle() - Constructor for class eecs1022.midtermb.Toggle
Initializes this toggle by setting it to on.
E G I M O P T 
Skip navigation links