|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cruxframework.crux.core.rebind.screen.ViewFactory
public class ViewFactory
Creates a representation for Crux views
| Method Summary | |
|---|---|
void |
clearViewCache()
Clear the screen cache |
static ViewFactory |
getInstance()
Singleton method |
View |
getView(String id,
String device)
Factory method for views. |
View |
getView(String id,
String device,
Document view,
boolean rootView)
Factory method for views. |
boolean |
isValidWidget(JSONObject cruxObject)
Test if a target json object represents a widget definition for Crux. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ViewFactory getInstance()
public void clearViewCache()
public View getView(String id,
String device)
throws ScreenConfigException
id - viewIddevice - device property for this permutation being compiled
ScreenConfigException
public View getView(String id,
String device,
Document view,
boolean rootView)
throws ScreenConfigException
id - view - rootView -
ScreenConfigException
public boolean isValidWidget(JSONObject cruxObject)
throws JSONException
cruxObject -
JSONException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||