public class Blockquote extends AbstractTypography
<b:Blockquote source="Leonard McCoy">He's dead, Jim</b:Blockquote>
All arguments are optional.
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
DEBUG_ID_PREFIX
Constructor and Description |
---|
Blockquote()
Creates an empty Blockquote.
|
Blockquote(String text)
Creates a Blockquote of the given text.
|
Blockquote(String text,
boolean pullRight)
Creates a Blockquote of the given text and optionally pulls it to the
right side.
|
Blockquote(String text,
String source)
Creates a Blockquote of the given text, attributed to the given source.
|
Blockquote(String text,
String source,
boolean pullRight)
Creates a Blockquote of the given text, attributed to the given source
and optionally pulls it to the right side.
|
Modifier and Type | Method and Description |
---|---|
void |
setPullRight(boolean pullright)
Sets whether the quote should be aligned left or right.
|
void |
setSource(String source)
Sets the source of the quote.
|
addStyle, getText, removeStyle, setHideOn, setShowOn, setStyle, setText
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
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
public Blockquote()
public Blockquote(String text)
text
- the text of the quotepublic Blockquote(String text, String source)
text
- the text of the quotesource
- the source of the quotepublic Blockquote(String text, boolean pullRight)
text
- text of the quotepullRight
- true
if the quote should be pulled to the right
side. Default: false
public Blockquote(String text, String source, boolean pullRight)
text
- text of the quotesource
- source of the quotepullRight
- true
if the quote should be pulled to the right
side. Default: false
public void setSource(String source)
source
- the source of the quotepublic void setPullRight(boolean pullright)
pullright
- true
if the quote should be pulled to the right
side. Default: false
Copyright © 2012-2014 gwtbootstrap. All Rights Reserved.