com.github.gwtbootstrap.client.ui
Class FormLabel
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.ComplexPanel
com.google.gwt.user.client.ui.HTMLPanel
com.github.gwtbootstrap.client.ui.base.HtmlWidget
com.github.gwtbootstrap.client.ui.FormLabel
- All Implemented Interfaces:
- HasStyle, IsResponsive, HasAttachHandlers, HasHandlers, EventListener, HasVisibility, HasWidgets, HasWidgets.ForIsWidget, IndexedPanel, IndexedPanel.ForIsWidget, IsWidget, Iterable<Widget>
- Direct Known Subclasses:
- ControlLabel
public class FormLabel
- extends HtmlWidget
Simple wrapper for an HTML <label>
tag.
UiBinder Usage:
<b:FormLabel>
FormLabel can include html and widgets<br/>
<b:Code>code</b:Code>
<a href="#"></a>
</b:FormLabel>
- Since:
- 2.0.4.0
- Author:
- ohashi keisuke
- See Also:
- Bootstrap documentation
Methods inherited from class com.google.gwt.user.client.ui.HTMLPanel |
add, add, add, addAndReplaceElement, addAndReplaceElement, addAndReplaceElement, addAndReplaceElement, addAndReplaceElement, createUniqueId, getElementById, wrap |
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel |
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents |
FormLabel
public FormLabel(String html)
- Creates a widget with the html set..
- Parameters:
html
- content html
FormLabel
public FormLabel()
- Creates an empty widget.
setFor
public void setFor(String id)
- Set
for
attribute.
- Parameters:
id
- set attribute value
getFor
public String getFor()
- Get
for
attribute
- Returns:
- for attribute value
getLabelElement
protected LabelElement getLabelElement()
Copyright © 2012 gwtbootstrap. All Rights Reserved.