public class LabelWithErrorOutput extends VerticalPanel implements IErrorOutputElement
myFlowPanel| Constructor and Description |
|---|
LabelWithErrorOutput()
Default constructor.
|
LabelWithErrorOutput(String labelText)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
appendErrorMessage(com.google.gwt.user.client.ui.HasValue<?> producer,
String errorMessageToAppend)
Appends a new error message.
|
void |
clearErrorMessage()
Clears all error messages of the specified component.
|
ErrorLabel |
getErrorLabel()
Returns the errorLabel.
|
com.google.gwt.user.client.ui.Label |
getLabel()
Returns the title.
|
void |
setText(String text)
Sets the label's content to the given text.
|
add, clear, getWidget, getWidgetCount, insert, iterator, remove, removeonInitialLoad, onLoad, onTransitionEnd, setSecondaryStyleclaimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toStringpublic LabelWithErrorOutput()
public LabelWithErrorOutput(String labelText)
labelText - the title text of the Labelpublic void setText(String text)
Doesn't change the widget's direction or horizontal alignment if directionEstimator is null. Otherwise,
the widget's direction is set using the estimator, and its alignment may therefore change as described in
setText(String, Direction).
text - the widget's new textpublic com.google.gwt.user.client.ui.Label getLabel()
public ErrorLabel getErrorLabel()
public void appendErrorMessage(com.google.gwt.user.client.ui.HasValue<?> producer,
String errorMessageToAppend)
IErrorOutputElementappendErrorMessage in interface IErrorOutputElementproducer - the component which is producing this message.errorMessageToAppend - the message to appendpublic void clearErrorMessage()
IErrorOutputElementclearErrorMessage in interface IErrorOutputElementCopyright © 2011–2015 SWM. All rights reserved.