public class FieldInfoHandler
extends java.lang.Object
SideErrorHandler
Constructor and Description |
---|
FieldInfoHandler(Widget target) |
FieldInfoHandler(Widget target,
BaseIcon icon) |
Modifier and Type | Method and Description |
---|---|
HandlerRegistration |
addClickHandler(ClickHandler handler) |
void |
clear() |
void |
clearInvalid() |
void |
fireEvent(<any> event) |
Widget |
getTarget() |
boolean |
isAdjustTargetWidth()
Returns
true if the target width is adjusted. |
void |
mark(java.util.List<java.lang.String> messages) |
void |
mark(java.lang.String message) |
void |
markInvalid(java.util.List<EditorError> errors) |
void |
release() |
void |
setAdjustTargetWidth(boolean adjustTargetWidth)
True to adjust the target width when an error is displayed (defaults to
true).
|
public FieldInfoHandler(Widget target)
public FieldInfoHandler(Widget target, BaseIcon icon)
public Widget getTarget()
public void clear()
public boolean isAdjustTargetWidth()
true
if the target width is adjusted.public void mark(java.lang.String message)
public void mark(java.util.List<java.lang.String> messages)
public void setAdjustTargetWidth(boolean adjustTargetWidth)
adjustTargetWidth
- true to adjust target widthpublic void fireEvent(<any> event)
public HandlerRegistration addClickHandler(ClickHandler handler)
public void release()
public void markInvalid(java.util.List<EditorError> errors)
public void clearInvalid()