|
||||||||||
| 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.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.ComplexPanel
org.gwtbootstrap3.client.ui.base.ComplexWidget
org.gwtbootstrap3.client.ui.ThumbnailLink
public class ThumbnailLink
Widget representing the Bootstrap Thumbnail as a clickable image
Bootstrap Documentation
<b:ThumbnailLink>
Image
</b:ThumbnailLink>
| 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 |
| Fields inherited from interface org.gwtbootstrap3.client.ui.base.HasHref |
|---|
EMPTY_HREF, HREF |
| Fields inherited from interface org.gwtbootstrap3.client.ui.base.HasTarget |
|---|
BLANK |
| Constructor Summary | |
|---|---|
ThumbnailLink()
Creates the default ThumbnailLink with a default HREF |
|
ThumbnailLink(String href)
Creates the default ThumbnailLink with the specified HREF |
|
| Method Summary | |
|---|---|
HandlerRegistration |
addClickHandler(ClickHandler handler)
|
HandlerRegistration |
addDoubleClickHandler(DoubleClickHandler handler)
|
Toggle |
getDataToggle()
Gets the data-toggle attribute on the widget |
String |
getHref()
Get the HREF of the widget |
int |
getTabIndex()
|
String |
getTarget()
Get the target attribute of the object |
String |
getTargetHistoryToken()
Get the target history token for the widget |
void |
setAccessKey(char key)
|
void |
setDataToggle(Toggle toggle)
Sets the attribute data-toggle on the widget |
void |
setFocus(boolean focused)
|
void |
setHref(String href)
Set's the HREF of the widget |
void |
setTabIndex(int index)
|
void |
setTarget(String target)
Set the target attribute of the object |
void |
setTargetHistoryToken(String targetHistoryToken)
Set the target history token for the widget |
| Methods inherited from class org.gwtbootstrap3.client.ui.base.ComplexWidget |
|---|
add, getId, getPull, insert, setColor, setHiddenOn, setId, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPull, setVisibleOn |
| Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel |
|---|
add, 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 |
| Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
|---|
fireEvent |
| Constructor Detail |
|---|
public ThumbnailLink(String href)
href - String href to usepublic ThumbnailLink()
| Method Detail |
|---|
public HandlerRegistration addClickHandler(ClickHandler handler)
addClickHandler in interface HasClickHandlerspublic HandlerRegistration addDoubleClickHandler(DoubleClickHandler handler)
addDoubleClickHandler in interface HasDoubleClickHandlerspublic void setHref(String href)
setHref in interface HasHrefhref - String hrefpublic String getHref()
getHref in interface HasHrefpublic void setTargetHistoryToken(String targetHistoryToken)
setTargetHistoryToken in interface HasTargetHistoryTokentargetHistoryToken - String target history token of the widgetpublic String getTargetHistoryToken()
getTargetHistoryToken in interface HasTargetHistoryTokenpublic void setDataToggle(Toggle toggle)
setDataToggle in interface HasDataToggletoggle - Toggle toggle attributepublic Toggle getDataToggle()
getDataToggle in interface HasDataTogglepublic int getTabIndex()
getTabIndex in interface Focusablepublic void setTabIndex(int index)
setTabIndex in interface Focusablepublic void setAccessKey(char key)
setAccessKey in interface Focusablepublic void setFocus(boolean focused)
setFocus in interface Focusablepublic void setTarget(String target)
setTarget in interface HasTargettarget - target attributepublic String getTarget()
getTarget in interface HasTarget
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||