org.positronicnet.ui

PositronicItemHandlers

trait PositronicItemHandlers extends AnyRef

"JQuery-style" handler declarations for AdapterView-specific events.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. PositronicItemHandlers
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. def getItemAtPosition (posn: Int): AnyRef

    Attributes
    abstract
  2. def setOnItemClickListener (l: OnItemClickListener): Unit

    Attributes
    abstract
  3. def setOnItemLongClickListener (l: OnItemLongClickListener): Unit

    Attributes
    abstract
  4. def setOnItemSelectedListener (l: OnItemSelectedListener): Unit

    Attributes
    abstract

Concrete Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  7. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  9. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  12. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  13. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  14. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  15. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  16. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  17. def onItemClick (func: (View, Int, Long) ⇒ Unit): Unit

    Call func when there is a click on an item.

    Call func when there is a click on an item. Arguments to func are the View that was hit, its position, and the id of the corresponding item. The handler can call getItemAtPosition to get the item itself, if need be.

  18. def onItemLongClick (func: (View, Int, Long) ⇒ Unit): Unit

    Call func when there is a long click on an item.

    Call func when there is a long click on an item. Arguments to func are the View that was hit, its position, and the id of the corresponding item. The handler can call getItemAtPosition to get the item itself, if need be.

    The framework is always told that the event was handled; use onItemLongClickMaybe if your handler might want to decline the event, and leave it to the framework.

  19. def onItemLongClickMaybe (func: (View, Int, Long) ⇒ Boolean): Unit

    Call func when there is a long click on an item.

    Call func when there is a long click on an item. Arguments to func are the View that was hit, its position, and the id of the corresponding item.

    Return value is true if the event was handled; false otherwise.

  20. def onItemSelected (handler: (View, Int, Long) ⇒ Unit): Unit

    Call func when an item is selected.

    Call func when an item is selected. Arguments to func are the View that was hit, its position, and the id of the corresponding item. The handler can call getItemAtPosition to get the item itself, if need be.

  21. def onNothingSelected (handler: (View) ⇒ Unit): Unit

    Call func when the selection vanishes from this view --- either because "touch is activated" (quoth the platform docs) or because the adapter is now empty.

  22. def selectedContextMenuItem (info: ContextMenuInfo): AnyRef

    Return the item relevant to the ContextMenu selection which gave us this ContextMenuInfo.

  23. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  24. def toString (): String

    Definition Classes
    AnyRef → Any
  25. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  26. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  27. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any