public class LinkedGroupItem extends ComplexWidget implements HasClickHandlers, HasDoubleClickHandlers, HasHref, HasTargetHistoryToken, HasActive, HasType<ListGroupItemType>
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
IndexedPanel.ForIsWidget
HasWidgets.ForIsWidget
DEBUG_ID_PREFIX
EMPTY_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, setVisibleOn
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, iterator, remove
add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
fireEvent
forEach, spliterator
public LinkedGroupItem(String href)
public LinkedGroupItem(String text, String href)
public LinkedGroupItem()
public HandlerRegistration addClickHandler(ClickHandler handler)
addClickHandler
in interface HasClickHandlers
public HandlerRegistration addDoubleClickHandler(DoubleClickHandler handler)
addDoubleClickHandler
in interface HasDoubleClickHandlers
public void setHref(String href)
HasHref
public String getHref()
HasHref
public void setTargetHistoryToken(String targetHistoryToken)
HasTargetHistoryToken
setTargetHistoryToken
in interface HasTargetHistoryToken
targetHistoryToken
- String target history token of the widgetpublic String getTargetHistoryToken()
HasTargetHistoryToken
getTargetHistoryToken
in interface HasTargetHistoryToken
public void setActive(boolean active)
HasActive
public boolean isActive()
HasActive
public void setType(ListGroupItemType type)
HasType
setType
in interface HasType<ListGroupItemType>
type
- T typepublic ListGroupItemType getType()
HasType
getType
in interface HasType<ListGroupItemType>
Copyright © 2017. All rights reserved.