Modifier and Type | Method and Description |
---|---|
static <T,W extends Widget> |
create()
Creates a TypedDataField for `setData(Object value)`.
|
static <T,W extends Widget> |
create(String key)
Creates a TypedDataField for `setData(String key, Object value)`.
|
T |
get(Widget widget) |
T |
getNullable(Widget widget) |
void |
set(W widget,
T value) |
void |
setNullable(W widget,
T value) |
public static <T,W extends Widget> TypedDataField<T,W> create(String key)
public static <T,W extends Widget> TypedDataField<T,W> create()