|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface ImageView.ImageBindMapping
Translates between image and context data during data binding.
| Nested Class Summary | |
|---|---|
static class |
ImageView.ImageBindMapping.Type
Defines the supported load type mappings. |
| Method Summary | |
|---|---|
ImageView.ImageBindMapping.Type |
getType()
Returns the load type supported by this mapping. |
Image |
toImage(Object value)
Converts a value from the bind context to an image representation during a Component.load(Object) operation. |
String |
toImageName(Object value)
Converts a value from the bind context to an image resource name during a Component.load(Object) operation. |
URL |
toImageURL(Object value)
Converts a value from the bind context to an image location during a Component.load(Object) operation. |
Object |
valueOf(Image image)
Converts a text string to a value to be stored in the bind context during a Component.store(Object) operation. |
| Method Detail |
|---|
ImageView.ImageBindMapping.Type getType()
Image toImage(Object value)
Component.load(Object) operation.
value - URL toImageURL(Object value)
Component.load(Object) operation.
value - String toImageName(Object value)
Component.load(Object) operation.
value - Object valueOf(Image image)
Component.store(Object) operation.
image -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||