|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectandroid.gameengine.icadroids.forms.ViewCreator
public class ViewCreator
ViewCreator puts (form)views on top of the GameView. This views are made in Android Layout XML. It also registers any touchable components in the view. Don't use this class by yourself! It's used by GameForm to correctly add views Note: This class must run on the UI thread.
Field Summary | |
---|---|
static java.util.Vector<View> |
formViews
Vector with all the formViews that are currently availble |
Constructor Summary | |
---|---|
protected |
ViewCreator(GameEngine gameengine,
int layoutID,
IFormInput IformInput)
Creates a view on top of the GameView that are made in the android XML layout file |
Method Summary | |
---|---|
void |
run()
Add a view on top of the current view and register any touchable components in the view to a touch-listener so the IFormInput object can receive touch calls. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.util.Vector<View> formViews
Constructor Detail |
---|
protected ViewCreator(GameEngine gameengine, int layoutID, IFormInput IformInput)
gameengine
- layoutID
- IformInput
- Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |