|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.github.gwtbootstrap.client.ui.base.AbstractTypography
com.github.gwtbootstrap.client.ui.Blockquote
public class Blockquote
Left or right aligned blockquote with optional source.
<b:Blockquote source="Leonard McCoy">He's dead, Jim</b:Blockquote>
All arguments are optional.
| 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 | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
void |
setPullRight(boolean pullright)
Sets whether the quote should be aligned left or right. |
void |
setSource(String source)
Sets the source of the quote. |
| 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 |
|---|
public Blockquote()
public Blockquote(String text)
text - the text of the quote
public Blockquote(String text,
String source)
text - the text of the quotesource - the source of the quote
public 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| Method Detail |
|---|
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||