Package org.silverpeas.mobile.client.components.base.widgets

## Class SelectableItem

- java.lang.Object
- - com.google.gwt.user.client.ui.UIObject
  - - com.google.gwt.user.client.ui.Widget
    - - com.google.gwt.user.client.ui.Composite
      - - org.silverpeas.mobile.client.components.base.widgets.SelectableItem

- All Implemented Interfaces:
    `com.google.gwt.event.logical.shared.HasAttachHandlers`, `com.google.gwt.event.shared.HasHandlers`, `com.google.gwt.user.client.EventListener`, `com.google.gwt.user.client.ui.HasVisibility`, `com.google.gwt.user.client.ui.IsRenderable`, `com.google.gwt.user.client.ui.IsWidget`
  Direct Known Subclasses:
    `CategoryItem`, `Comment`, `FavoriteItem`, `NotificationItem`, `ShareItem`, `TaskItem`

      public class SelectableItem
      extends com.google.gwt.user.client.ui.Composite

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject

      `com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled`

  - ### Field Summary

    - ### Fields inherited from class com.google.gwt.user.client.ui.UIObject

      `DEBUG_ID_PREFIX`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SelectableItem()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected void` | `endTouch​(com.google.gwt.event.dom.client.TouchEndEvent event, boolean selectable, com.google.gwt.user.client.Command onClickAction)` |
    `boolean` | `isInSelectionMode()` |
    `boolean` | `isSelected()` |
    `protected void` | `moveTouch​(com.google.gwt.event.dom.client.TouchMoveEvent event)` |
    `void` | `setContainer​(com.google.gwt.user.client.ui.HTMLPanel container)` |
    `void` | `setMultiSelection​(boolean multiSelection)` |
    `void` | `setParent​(PageContent page)` |
    `protected void` | `startTouch​(com.google.gwt.event.dom.client.TouchStartEvent event, boolean selectable)` |

    - ### Methods inherited from class com.google.gwt.user.client.ui.Composite

      `claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget`

    - ### Methods inherited from class com.google.gwt.user.client.ui.Widget

      `addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, 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, 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`

- - ### Constructor Detail

    - #### SelectableItem

          public SelectableItem()

  - ### Method Detail

    - #### isInSelectionMode

          public boolean isInSelectionMode()

    - #### setMultiSelection

          public void setMultiSelection​(boolean multiSelection)

    - #### setParent

          public void setParent​(PageContent page)

    - #### setContainer

          public void setContainer​(com.google.gwt.user.client.ui.HTMLPanel container)

    - #### isSelected

          public boolean isSelected()

    - #### startTouch

          protected void startTouch​(com.google.gwt.event.dom.client.TouchStartEvent event,
                                    boolean selectable)

    - #### moveTouch

          protected void moveTouch​(com.google.gwt.event.dom.client.TouchMoveEvent event)

    - #### endTouch

          protected void endTouch​(com.google.gwt.event.dom.client.TouchEndEvent event,
                                  boolean selectable,
                                  com.google.gwt.user.client.Command onClickAction)