public class ListItem
extends com.google.gwt.user.client.ui.FlowPanel
ListPanel A list item can have a left navigation arrow.| Modifier and Type | Class and Description |
|---|---|
static class |
ListItem.ShowArrow
Arrow visibility.
|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled| Modifier and Type | Field and Description |
|---|---|
protected boolean |
myDisabled |
protected ListItem.ShowArrow |
myShowArrow |
| Constructor and Description |
|---|
ListItem()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.event.shared.HandlerRegistration |
addClickHanlder(com.google.gwt.event.dom.client.ClickHandler handlerToAdd)
Adds a click Handler to the list item.
|
protected com.google.gwt.user.client.ui.Widget |
getArrow()
Returns the arrow widget.
|
boolean |
getDisabled() |
void |
setDisabled(boolean disabled)
Disabled/enables the widget.
|
void |
setShowArrow(boolean show)
Shows/hides the right arrow icon
|
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, removeadd, adopt, 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, waitprotected ListItem.ShowArrow myShowArrow
protected boolean myDisabled
public com.google.gwt.event.shared.HandlerRegistration addClickHanlder(com.google.gwt.event.dom.client.ClickHandler handlerToAdd)
handlerToAdd - the click handler to add.public void setShowArrow(boolean show)
show - .public void setDisabled(boolean disabled)
disabled - true if disabled.public boolean getDisabled()
protected com.google.gwt.user.client.ui.Widget getArrow()
Copyright © 2011–2015 SWM. All rights reserved.