com.github.gwtbootstrap.client.ui
Class ControlLabel

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Panel
              extended by com.google.gwt.user.client.ui.ComplexPanel
                  extended by com.google.gwt.user.client.ui.HTMLPanel
                      extended by com.github.gwtbootstrap.client.ui.base.HtmlWidget
                          extended by com.github.gwtbootstrap.client.ui.FormLabel
                              extended by com.github.gwtbootstrap.client.ui.ControlLabel
All Implemented Interfaces:
HasStyle, IsResponsive, HasAttachHandlers, HasHandlers, HasDirectionEstimator, EventListener, HasVisibility, HasWidgets, HasWidgets.ForIsWidget, IndexedPanel, IndexedPanel.ForIsWidget, IsWidget, Iterable<Widget>

public class ControlLabel
extends FormLabel
implements HasDirectionEstimator

ControlLabel is a form widget.That can show form input label.

ControlLabel can include html and widget

UiBinder Usage:

 <b:ControlLabel>
 	ControlLabel can include html and widgets<br/>
 	<b:Code>Code</b:Code>
 	<a href="#"></a>
 </b:ControlLabel>
 
 

Since:
2.0.4.0
Author:
kokubo yusuke, ohashi keisuke
See Also:
ControlGroup, ControlLabel, Bootstrap documentation

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel
IndexedPanel.ForIsWidget
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
HasWidgets.ForIsWidget
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
ControlLabel()
          Creates an empty widget.
ControlLabel(String html)
          Creates a widget with the html set..
 
Method Summary
 DirectionEstimator getDirectionEstimator()
          
 void setDirectionEstimator(boolean enabled)
          
 void setDirectionEstimator(DirectionEstimator directionEstimator)
          
 
Methods inherited from class com.github.gwtbootstrap.client.ui.FormLabel
getFor, getLabelElement, setFor
 
Methods inherited from class com.github.gwtbootstrap.client.ui.base.HtmlWidget
addStyle, removeStyle, setHideOn, setShowOn, setStyle
 
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.Panel
add, adopt, adopt, clear, disown, doAttachChildren, doDetachChildren, orphan, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ControlLabel

public ControlLabel(String html)
Creates a widget with the html set..

Parameters:
html - content html

ControlLabel

public ControlLabel()
Creates an empty widget.

Method Detail

getDirectionEstimator

public DirectionEstimator getDirectionEstimator()

Specified by:
getDirectionEstimator in interface HasDirectionEstimator

setDirectionEstimator

public void setDirectionEstimator(boolean enabled)

Specified by:
setDirectionEstimator in interface HasDirectionEstimator

setDirectionEstimator

public void setDirectionEstimator(DirectionEstimator directionEstimator)

Specified by:
setDirectionEstimator in interface HasDirectionEstimator


Copyright © 2012 gwtbootstrap. All Rights Reserved.