public static interface IntroButton.Behaviour
extends java.lang.Runnable
IntroButton.setBehaviour(Behaviour) method of
an IntroButton to define its on click behaviour. This interface has methods for setting and
retrieving an IntroActivity, to allow the run() method to manipulate the
IntroActivity hosting the button.| Modifier and Type | Method and Description |
|---|---|
IntroActivity |
getActivity() |
void |
run()
The operations to perform when the IntroButton is pressed.
|
void |
setActivity(IntroActivity activity)
Sets an activity to be manipulated by
run(). |
void setActivity(IntroActivity activity)
run().activity - the activity to be manipulated, null to clear any activity which has been setIntroActivity getActivity()
void run()
run in interface java.lang.Runnable