public abstract class AbstractListItem extends ComplexWidget implements HasEnabled, HasPull, HasActive, HasResponsiveness, HasId
ListItem
,
AnchorListItem
,
ListDropDown
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
IndexedPanel.ForIsWidget
HasWidgets.ForIsWidget
DEBUG_ID_PREFIX
Modifier | Constructor and Description |
---|---|
protected |
AbstractListItem() |
Modifier and Type | Method and Description |
---|---|
String |
getId()
Gets the ID of the widget
|
Pull |
getPull() |
boolean |
isActive()
Gets whether or not the widget has the active styles
|
boolean |
isEnabled() |
void |
setActive(boolean active)
Sets the widget with the active styles or not
|
void |
setEnabled(boolean enabled) |
void |
setHiddenOn(DeviceSize deviceSize)
Sets the devices that the element is hidden on
|
void |
setId(String id)
Sets the ID on the widget
|
void |
setPull(Pull pull) |
void |
setVisibleOn(DeviceSize deviceSize)
Sets the devices that the element is visible on
|
add, insert, insert, remove, setColor, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop
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
forEach, spliterator
protected AbstractListItem()
public void setEnabled(boolean enabled)
setEnabled
in interface HasEnabled
public boolean isEnabled()
isEnabled
in interface HasEnabled
public void setPull(Pull pull)
ComplexWidget
setPull
in interface HasPull
setPull
in class ComplexWidget
public Pull getPull()
ComplexWidget
getPull
in interface HasPull
getPull
in class ComplexWidget
public void setActive(boolean active)
HasActive
public boolean isActive()
HasActive
public void setVisibleOn(DeviceSize deviceSize)
ComplexWidget
setVisibleOn
in interface HasResponsiveness
setVisibleOn
in class ComplexWidget
deviceSize
- device sizeDeviceSize
public void setHiddenOn(DeviceSize deviceSize)
ComplexWidget
setHiddenOn
in interface HasResponsiveness
setHiddenOn
in class ComplexWidget
deviceSize
- device sizesDeviceSize
public void setId(String id)
ComplexWidget
setId
in interface HasId
setId
in class ComplexWidget
id
- String desired IDpublic String getId()
ComplexWidget
getId
in interface HasId
getId
in class ComplexWidget
Copyright © 2017. All rights reserved.