org.gwtbootstrap3.client.ui.base
Class AbstractAnchorListItem
java.lang.Object
com.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.base.AbstractListItem
org.gwtbootstrap3.client.ui.base.AbstractAnchorListItem
- All Implemented Interfaces:
- HasClickHandlers, HasAttachHandlers, HasHandlers, EventListener, Focusable, HasEnabled, HasVisibility, HasWidgets, HasWidgets.ForIsWidget, IndexedPanel, IndexedPanel.ForIsWidget, IsWidget, Iterable<Widget>, HasActive, HasDataToggle, HasHref, HasIcon, HasIconPosition, HasId, HasInlineStyle, HasPull, HasResponsiveness, HasTargetHistoryToken
- Direct Known Subclasses:
- AnchorListItem
public abstract class AbstractAnchorListItem
- extends AbstractListItem
- implements HasHref, HasTargetHistoryToken, HasClickHandlers, Focusable, HasDataToggle, HasIcon, HasIconPosition
Base class for list items that contain an Anchor link.
- Author:
- Sven Jacobs
| Methods inherited from class org.gwtbootstrap3.client.ui.base.ComplexWidget |
add, insert, setColor, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop |
| 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.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 |
anchor
protected final Anchor anchor
AbstractAnchorListItem
protected AbstractAnchorListItem()
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
addClickHandler
public HandlerRegistration addClickHandler(ClickHandler handler)
- Specified by:
addClickHandler in interface HasClickHandlers
getTabIndex
public int getTabIndex()
- Specified by:
getTabIndex in interface Focusable
setAccessKey
public void setAccessKey(char key)
- Specified by:
setAccessKey in interface Focusable
setFocus
public void setFocus(boolean focused)
- Specified by:
setFocus in interface Focusable
setTabIndex
public void setTabIndex(int index)
- Specified by:
setTabIndex in interface Focusable
setDataToggle
public void setDataToggle(Toggle toggle)
- Description copied from interface:
HasDataToggle
- Sets the attribute data-toggle on the widget
- Specified by:
setDataToggle in interface HasDataToggle
- Parameters:
toggle - Toggle toggle attribute
getDataToggle
public Toggle getDataToggle()
- Description copied from interface:
HasDataToggle
- Gets the data-toggle attribute on the widget
- Specified by:
getDataToggle in interface HasDataToggle
- Returns:
- Toggle data-toggle attribute
setIcon
public void setIcon(IconType iconType)
- Specified by:
setIcon in interface HasIcon
getIcon
public IconType getIcon()
- Specified by:
getIcon in interface HasIcon
setIconPosition
public void setIconPosition(IconPosition iconPosition)
- Specified by:
setIconPosition in interface HasIconPosition
getIconPosition
public IconPosition getIconPosition()
- Specified by:
getIconPosition in interface HasIconPosition
setIconSize
public void setIconSize(IconSize iconSize)
- Specified by:
setIconSize in interface HasIcon
getIconSize
public IconSize getIconSize()
- Specified by:
getIconSize in interface HasIcon
setIconFlip
public void setIconFlip(IconFlip iconFlip)
- Specified by:
setIconFlip in interface HasIcon
getIconFlip
public IconFlip getIconFlip()
- Specified by:
getIconFlip in interface HasIcon
setIconRotate
public void setIconRotate(IconRotate iconRotate)
- Specified by:
setIconRotate in interface HasIcon
getIconRotate
public IconRotate getIconRotate()
- Specified by:
getIconRotate in interface HasIcon
setIconBordered
public void setIconBordered(boolean iconBordered)
- Specified by:
setIconBordered in interface HasIcon
isIconBordered
public boolean isIconBordered()
- Specified by:
isIconBordered in interface HasIcon
setIconMuted
public void setIconMuted(boolean iconMuted)
- Specified by:
setIconMuted in interface HasIcon
isIconMuted
public boolean isIconMuted()
- Specified by:
isIconMuted in interface HasIcon
setIconLight
public void setIconLight(boolean iconLight)
- Specified by:
setIconLight in interface HasIcon
isIconLight
public boolean isIconLight()
- Specified by:
isIconLight in interface HasIcon
setIconSpin
public void setIconSpin(boolean iconSpin)
- Specified by:
setIconSpin in interface HasIcon
isIconSpin
public boolean isIconSpin()
- Specified by:
isIconSpin in interface HasIcon
setIconFixedWidth
public void setIconFixedWidth(boolean iconFixedWidth)
- Specified by:
setIconFixedWidth in interface HasIcon
isIconFixedWidth
public boolean isIconFixedWidth()
- Specified by:
isIconFixedWidth in interface HasIcon
setEnabled
public void setEnabled(boolean enabled)
- Specified by:
setEnabled in interface HasEnabled- Overrides:
setEnabled in class AbstractListItem
Copyright © 2015. All rights reserved.