public class LinkedGroupItem extends ComplexWidget implements HasClickHandlers, HasDoubleClickHandlers, HasHref, HasTargetHistoryToken, HasActive, HasType<ListGroupItemType>
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabledIndexedPanel.ForIsWidgetHasWidgets.ForIsWidgetDEBUG_ID_PREFIXEMPTY_HREF, HREF| Constructor and Description |
|---|
LinkedGroupItem() |
LinkedGroupItem(String href) |
LinkedGroupItem(String text,
String href) |
| Modifier and Type | Method and Description |
|---|---|
HandlerRegistration |
addClickHandler(ClickHandler handler) |
HandlerRegistration |
addDoubleClickHandler(DoubleClickHandler handler) |
String |
getHref()
Get the HREF of the widget
|
String |
getTargetHistoryToken()
Get the target history token for the widget
|
String |
getText() |
ListGroupItemType |
getType()
Gets the type of the widget
|
boolean |
isActive()
Gets whether or not the widget has the active styles
|
void |
setActive(boolean active)
Sets the widget with the active styles or not
|
void |
setHref(String href)
Set's the HREF of the widget
|
void |
setTargetHistoryToken(String targetHistoryToken)
Set the target history token for the widget
|
void |
setText(String text) |
void |
setType(ListGroupItemType type)
Sets the type on the widget
|
add, getId, getPull, insert, insert, remove, setColor, setHiddenOn, setId, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPull, setVisibleOnadd, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, iterator, removeadd, adopt, clear, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfireEventforEach, spliteratorpublic LinkedGroupItem(String href)
public LinkedGroupItem(String text, String href)
public LinkedGroupItem()
public HandlerRegistration addClickHandler(ClickHandler handler)
addClickHandler in interface HasClickHandlerspublic HandlerRegistration addDoubleClickHandler(DoubleClickHandler handler)
addDoubleClickHandler in interface HasDoubleClickHandlerspublic void setHref(String href)
HasHrefpublic String getHref()
HasHrefpublic void setTargetHistoryToken(String targetHistoryToken)
HasTargetHistoryTokensetTargetHistoryToken in interface HasTargetHistoryTokentargetHistoryToken - String target history token of the widgetpublic String getTargetHistoryToken()
HasTargetHistoryTokengetTargetHistoryToken in interface HasTargetHistoryTokenpublic void setActive(boolean active)
HasActivepublic boolean isActive()
HasActivepublic void setType(ListGroupItemType type)
HasTypesetType in interface HasType<ListGroupItemType>type - T typepublic ListGroupItemType getType()
HasTypegetType in interface HasType<ListGroupItemType>Copyright © 2017. All rights reserved.