com.github.gwtbootstrap.client.ui
Class Emphasis

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.github.gwtbootstrap.client.ui.base.AbstractTypography
              extended by com.github.gwtbootstrap.client.ui.Emphasis
All Implemented Interfaces:
HasStyle, IsResponsive, HasAttachHandlers, HasHandlers, EventListener, HasText, HasVisibility, IsWidget

public class Emphasis
extends AbstractTypography

Simple wrapper for an HTML <em> tag.

UiBinder Usage:

 <b:Emphasis>I'm important</b:Emphasis>
 
 

Since:
2.0.4.0
Author:
Carlos Alexandro Becker
See Also:
Bootstrap documentation

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
Emphasis()
          Creates an empty widget.
Emphasis(String text)
          Creates a widget with the given text.
 
Method Summary
 
Methods inherited from class com.github.gwtbootstrap.client.ui.base.AbstractTypography
addStyle, getText, removeStyle, setHideOn, setShowOn, setStyle, setText
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, 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

Emphasis

public Emphasis()
Creates an empty widget.


Emphasis

public Emphasis(String text)
Creates a widget with the given text.

Parameters:
text - the widget's text


Copyright © 2012 gwtbootstrap. All Rights Reserved.