|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WidgetModel
A base interface for models. Every model must be able to set a token, and get a token, as well as return its current state, it's unprocessed value, and a String representation of itself.
Field Summary | |
---|---|
static String |
FALSE
Describe constant FALSE here. |
static String |
TRUE
Describe constant TRUE here. |
Method Summary | |
---|---|
Object |
getCurrentModel()
Returns the current model, with tokens processed. |
Object |
getRawModel()
Returns the current model, with tokens unprocessed. |
Object |
getValue(Object key)
Describe getValue method here. |
void |
setToken(Object key,
Object value)
Describe setToken method here. |
String |
toString()
Describe toString method here. |
Field Detail |
---|
static final String TRUE
TRUE
here.
static final String FALSE
FALSE
here.
Method Detail |
---|
Object getCurrentModel()
Object
valueObject getRawModel()
Object
valuevoid setToken(Object key, Object value)
setToken
method here.
key
- an Object
valuevalue
- an Object
valueObject getValue(Object key)
getValue
method here.
key
- an Object
value
Object
valueString toString()
toString
method here.
toString
in class Object
String
value
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |