org.gwtbootstrap3.client.ui
Class LinkedGroupItem

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Panel
              extended by com.google.gwt.user.client.ui.ComplexPanel
                  extended by org.gwtbootstrap3.client.ui.base.ComplexWidget
                      extended by org.gwtbootstrap3.client.ui.LinkedGroupItem
All Implemented Interfaces:
HasClickHandlers, HasDoubleClickHandlers, HasAttachHandlers, HasHandlers, EventListener, HasVisibility, HasWidgets, HasWidgets.ForIsWidget, IndexedPanel, IndexedPanel.ForIsWidget, IsWidget, Iterable<Widget>, HasActive, HasHref, HasId, HasInlineStyle, HasPull, HasResponsiveness, HasTargetHistoryToken

public class LinkedGroupItem
extends ComplexWidget
implements HasClickHandlers, HasDoubleClickHandlers, HasHref, HasTargetHistoryToken, HasActive

Author:
Joshua Godi

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
 
Constructor Summary
LinkedGroupItem()
           
LinkedGroupItem(String href)
           
LinkedGroupItem(String text, String href)
           
 
Method Summary
 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()
           
 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)
           
 
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

LinkedGroupItem

public LinkedGroupItem(String href)

LinkedGroupItem

public LinkedGroupItem(String text,
                       String href)

LinkedGroupItem

public LinkedGroupItem()
Method Detail

addClickHandler

public HandlerRegistration addClickHandler(ClickHandler handler)
Specified by:
addClickHandler in interface HasClickHandlers

addDoubleClickHandler

public HandlerRegistration addDoubleClickHandler(DoubleClickHandler handler)
Specified by:
addDoubleClickHandler in interface HasDoubleClickHandlers

setText

public void setText(String text)

getText

public String getText()

setHref

public void setHref(String href)
Description copied from interface: HasHref
Set's the HREF of the widget

Specified by:
setHref in interface HasHref
Parameters:
href - String href

getHref

public String getHref()
Description copied from interface: HasHref
Get the HREF of the widget

Specified by:
getHref in interface HasHref
Returns:
String href

setTargetHistoryToken

public void setTargetHistoryToken(String targetHistoryToken)
Description copied from interface: HasTargetHistoryToken
Set the target history token for the widget

Specified by:
setTargetHistoryToken in interface HasTargetHistoryToken
Parameters:
targetHistoryToken - String target history token of the widget

getTargetHistoryToken

public String getTargetHistoryToken()
Description copied from interface: HasTargetHistoryToken
Get the target history token for the widget

Specified by:
getTargetHistoryToken in interface HasTargetHistoryToken
Returns:
String the widget's target history token

setActive

public void setActive(boolean active)
Description copied from interface: HasActive
Sets the widget with the active styles or not

Specified by:
setActive in interface HasActive
Parameters:
active - true=gets active styles, false=removes active styles

isActive

public boolean isActive()
Description copied from interface: HasActive
Gets whether or not the widget has the active styles

Specified by:
isActive in interface HasActive
Returns:
true=has active styles, false=does not have active styles


Copyright © 2015. All rights reserved.