java.lang.Object | ||||
↳ | com.google.gwt.user.client.ui.UIObject | |||
↳ | com.google.gwt.user.client.ui.Widget | |||
↳ | com.google.gwt.user.client.ui.LabelBase<T> | |||
↳ | com.google.gwt.user.client.ui.ValueLabel<T> |
Known Direct Subclasses
|
A label displaying its value through a renderer.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.user.client.ui.UIObject
|
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.google.gwt.user.client.ui.HasAutoHorizontalAlignment
| |||||||||||
From interface
com.google.gwt.user.client.ui.HasHorizontalAlignment
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates an empty value label.
|
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This constructor may be used by subclasses to explicitly use an existing
element.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the Editor encapsulated by the view object.
| |||||||||||
Returns the current value.
| |||||||||||
Creates a ValueLabel widget that wraps an existing <span> element.
| |||||||||||
Creates a ValueLabel widget that wraps an existing <span> element.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.user.client.ui.LabelBase
| |||||||||||
From class
com.google.gwt.user.client.ui.Widget
| |||||||||||
From class
com.google.gwt.user.client.ui.UIObject
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gwt.editor.client.IsEditor
| |||||||||||
From interface com.google.gwt.event.logical.shared.HasAttachHandlers | |||||||||||
From interface com.google.gwt.event.shared.HasHandlers | |||||||||||
From interface com.google.gwt.i18n.shared.HasDirectionEstimator | |||||||||||
From interface
com.google.gwt.user.client.EventListener
| |||||||||||
From interface
com.google.gwt.user.client.TakesValue
| |||||||||||
From interface
com.google.gwt.user.client.ui.HasAutoHorizontalAlignment
| |||||||||||
From interface
com.google.gwt.user.client.ui.HasHorizontalAlignment
| |||||||||||
From interface
com.google.gwt.user.client.ui.HasWordWrap
| |||||||||||
From interface
com.google.gwt.user.client.ui.IsWidget
|
This constructor may be used by subclasses to explicitly use an existing element. This element must be either a <span> or a <div> element.
element | the element to be used |
---|
Returns the Editor encapsulated by the view object.
Editor
of type E
Returns the current value.
Creates a ValueLabel widget that wraps an existing <span> element.
The ValueLabel's value will be initialized with the element's content,
passed through the parser
.
This element must already be attached to the document. If the element is
removed from the document, you must call
detachNow(Widget)
.
element | the element to be wrapped |
---|---|
renderer | the renderer used to render values into the element |
parser | the parser used to initialize the ValueLabel's value from the element's content |
ParseException |
---|
Creates a ValueLabel widget that wraps an existing <span> element.
The ValueLabel's value will be null
, whether the element being
wrapped has content or not. Use wrap(Element, Renderer, Parser)
to
parse the initial element's content to initialize the ValueLabel's value.
This element must already be attached to the document. If the element is
removed from the document, you must call
detachNow(Widget)
.
element | the element to be wrapped |
---|---|
renderer | the renderer used to render values into the element |