public static class AbstractUiWidget.AccessHelper extends Object
Constructor and Description |
---|
AccessHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
clearValidationFailure(AbstractUiWidget<?> widget) |
static void |
clearValidity(AbstractUiWidget<?> widget) |
static <VALUE> String |
convertValueToString(AbstractUiWidget<VALUE> widget,
VALUE value) |
static <VALUE> VALUE |
doGetValue(AbstractUiWidget<VALUE> widget,
VALUE template,
ValidationState state) |
static <VALUE> void |
doSetValue(AbstractUiWidget<VALUE> widget,
VALUE value,
boolean forUser) |
static <VALUE> void |
doValidate(AbstractUiWidget<VALUE> widget,
ValidationState state,
VALUE value) |
static <VALUE> VALUE |
getRecentValue(AbstractUiWidget<VALUE> widget) |
static void |
setMandatory(AbstractUiWidget<?> widget,
boolean mandatory) |
public static void setMandatory(AbstractUiWidget<?> widget, boolean mandatory)
widget
- is the AbstractUiWidget
.mandatory
- - see AbstractUiWidget.setMandatory(boolean)
.AbstractUiWidget.setMandatory(boolean)
public static <VALUE> void doSetValue(AbstractUiWidget<VALUE> widget, VALUE value, boolean forUser)
VALUE
- - see AbstractUiWidget.doSetValue(Object, boolean)
.widget
- is the AbstractUiWidget
.value
- - see AbstractUiWidget.doSetValue(Object, boolean)
forUser
- - see AbstractUiWidget.doSetValue(Object, boolean)
AbstractUiWidget.doSetValue(Object, boolean)
public static <VALUE> VALUE doGetValue(AbstractUiWidget<VALUE> widget, VALUE template, ValidationState state)
VALUE
- - see AbstractUiWidget.doGetValue(Object, ValidationState)
.widget
- is the AbstractUiWidget
.template
- - see AbstractUiWidget.doGetValue(Object, ValidationState)
.state
- - see AbstractUiWidget.doGetValue(Object, ValidationState)
.AbstractUiWidget.doGetValue(Object, ValidationState)
.AbstractUiWidget.doGetValue(Object, ValidationState)
public static <VALUE> VALUE getRecentValue(AbstractUiWidget<VALUE> widget)
VALUE
- - see AbstractUiWidget.getRecentValue()
.widget
- is the AbstractUiWidget
.AbstractUiWidget.getRecentValue()
.AbstractUiWidget.getRecentValue()
public static <VALUE> void doValidate(AbstractUiWidget<VALUE> widget, ValidationState state, VALUE value)
VALUE
- - see AbstractUiWidget.doValidate(ValidationState, Object)
.widget
- is the AbstractUiWidget
.state
- - see AbstractUiWidget.doValidate(ValidationState, Object)
.value
- - see AbstractUiWidget.doValidate(ValidationState, Object)
.AbstractUiWidget.doValidate(ValidationState, Object)
public static void clearValidationFailure(AbstractUiWidget<?> widget)
widget
- is the AbstractUiWidget
.AbstractUiWidget.clearValidationFailure()
public static void clearValidity(AbstractUiWidget<?> widget)
widget
- is the AbstractUiWidget
.AbstractUiWidget.clearValidity()
public static <VALUE> String convertValueToString(AbstractUiWidget<VALUE> widget, VALUE value)
VALUE
- - see AbstractUiWidget.convertValueToString(Object)
.widget
- is the AbstractUiWidget
.value
- - see AbstractUiWidget.convertValueToString(Object)
.AbstractUiWidget.convertValueToString(Object)
.AbstractUiWidget.convertValueToString(Object)
Copyright © 2001–2016 mmm-Team. All rights reserved.