org.gwtbootstrap3.client.ui.html
Class Paragraph

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 org.gwtbootstrap3.client.ui.gwt.HTMLPanel
                          extended by org.gwtbootstrap3.client.ui.html.Paragraph
All Implemented Interfaces:
HasAttachHandlers, HasHandlers, EventListener, HasVisibility, HasWidgets, HasWidgets.ForIsWidget, IndexedPanel, IndexedPanel.ForIsWidget, IsWidget, Iterable<Widget>, HasAlignment, HasContextualBackground, HasDataSpy, HasDataTarget, HasEmphasis, HasId, HasInlineStyle, HasResponsiveness

public class Paragraph
extends HTMLPanel
implements HasAlignment, HasEmphasis

Author:
Sven Jacobs

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
Paragraph()
           
Paragraph(String html)
           
 
Method Summary
 Alignment getAlignment()
          Get the object's alignment.
 Emphasis getEmphasis()
          Get the object's emphasis.
 String getHTML()
           
 String getText()
           
 void setAlignment(Alignment alignment)
          Sets this object's alignment.
 void setEmphasis(Emphasis emphasis)
          Sets the object's emphasis.
 void setHTML(String html)
           
 void setText(String text)
           
 
Methods inherited from class org.gwtbootstrap3.client.ui.gwt.HTMLPanel
getContextualBackground, getDataSpy, getDataTarget, getId, setColor, setContextualBackground, setDataSpy, setDataTarget, setDataTargetWidget, setDataTargetWidgets, setHiddenOn, setId, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setVisibleOn
 
Methods inherited from class com.google.gwt.user.client.ui.HTMLPanel
add, add, add, addAndReplaceElement, 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, clear, 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, unsinkEvents
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Paragraph

public Paragraph()

Paragraph

public Paragraph(String html)
Method Detail

setText

public void setText(String text)

getText

public String getText()

getHTML

public String getHTML()

setHTML

public void setHTML(String html)

setAlignment

public void setAlignment(Alignment alignment)
Description copied from interface: HasAlignment
Sets this object's alignment.

Specified by:
setAlignment in interface HasAlignment
Parameters:
alignment - the object's new alignment

getAlignment

public Alignment getAlignment()
Description copied from interface: HasAlignment
Get the object's alignment.

Specified by:
getAlignment in interface HasAlignment
Returns:
the object's alignment

setEmphasis

public void setEmphasis(Emphasis emphasis)
Description copied from interface: HasEmphasis
Sets the object's emphasis.

Specified by:
setEmphasis in interface HasEmphasis
Parameters:
emphasis - the object's new emphasis

getEmphasis

public Emphasis getEmphasis()
Description copied from interface: HasEmphasis
Get the object's emphasis.

Specified by:
getEmphasis in interface HasEmphasis
Returns:
the object's emphasis


Copyright © 2015. All rights reserved.