|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WidgetView
A base interface for views. Every view must be able to set a token, and get a token, as well as set/get it's backing model.
Field Summary | |
---|---|
static String |
FALSE
Used to set boolean properties to false. |
static String |
TITLE
Used to set a view's title. |
static String |
TRUE
Used to set boolean properties to true. |
Method Summary | |
---|---|
void |
addTokens(Map<Object,Object> props)
Describe addTokens method here. |
WidgetModel |
getModel()
Describe getModel method here. |
Object |
getValue(Object key)
Describe getValue method here. |
void |
setModel(WidgetModel newModel)
Describe setModel method here. |
void |
setToken(Object key,
Object value)
Describe setToken method here. |
Field Detail |
---|
static final String TRUE
static final String FALSE
static final String TITLE
Method Detail |
---|
void setToken(Object key, Object value)
setToken
method here.
key
- an Object
valuevalue
- an Object
valuevoid addTokens(Map<Object,Object> props)
addTokens
method here.
props
- a Map
valueObject getValue(Object key)
getValue
method here.
key
- an Object
value
Object
valueWidgetModel getModel()
getModel
method here.
WidgetModel
valuevoid setModel(WidgetModel newModel)
setModel
method here.
newModel
- a WidgetModel
value
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |