Trait

atom.view

EventSupport

Related Doc: package view

Permalink

trait EventSupport extends ParentSupport

Provides event support for Entity.

Self Type
EventSupport with Entity
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EventSupport
  2. ParentSupport
  3. SearchSupport
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type EventListener = (EventType, Entity) ⇒ Unit

    Permalink

    Trait definition for a callback to be invoked when a view is clicked.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def afterUnmarshal(unmarshaller: Unmarshaller, obj: Entity): Unit

    Permalink

    Parent object is not restored on unmarshal, so this method should help.

    Parent object is not restored on unmarshal, so this method should help.

    unmarshaller

    an instance of the unmarshaller

    obj

    parent object

    Definition Classes
    ParentSupport
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. final def assignParent(obj: Entity): Unit

    Permalink

    Assign the parent if it exists, or null.

    Assign the parent if it exists, or null. NOTE: Every element that use this method should override #cloneAsTemplate

    obj

    the parent tracking object

    Definition Classes
    ParentSupport
  7. def clone(): AnyRef

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def findById(identity: String): Entity

    Permalink

    Finds a entity that was identified by the id attribute that was processed in atom.app.Activity#onCreate.

    Finds a entity that was identified by the id attribute that was processed in atom.app.Activity#onCreate.

    identity

    id attribute that was processed

    returns

    the entity if found or null otherwise

    Definition Classes
    SearchSupport
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getEventBits: Int

    Permalink

    Get an events bitset listened by the view.

    Get an events bitset listened by the view.

    returns

    an events bitset listened by the view

    Annotations
    @XmlTransient()
  14. final def getId: String

    Permalink

    Gets the entity's identifier.

    Gets the entity's identifier.

    returns

    the entity's identifier

    Definition Classes
    SearchSupport
    Annotations
    @XmlAttribute() @XmlID() @JsonProperty()
  15. final def getParent: Entity

    Permalink

    Return the parent if it exists, or null.

    Return the parent if it exists, or null.

    returns

    the parent

    Definition Classes
    ParentSupport
    Annotations
    @JsonBackReference()
  16. final def getParentId: String

    Permalink

    Получение первого не пустого значения идентификатора сущности прородителя.

    Получение первого не пустого значения идентификатора сущности прородителя.

    returns

    идентификатор сущности прородителя либо

    null
    Attributes
    protected[atom.data]
    Definition Classes
    ParentSupport
    Annotations
    @tailrec()
  17. final def handleEvent(eventCode: Int): Unit

    Permalink

    Directly call any attached EventListener or OnClickMethod.

    Directly call any attached EventListener or OnClickMethod.

    eventCode

    an event type

  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def setEventBits(bits: Int): Unit

    Permalink

    Sets event bits to listen for this view.

    Sets event bits to listen for this view.

    bits

    events bitset

  24. final def setEventListener(eventType: EventType)(listener: (EventSupport.this)#EventListener): Unit

    Permalink

    Register a callback to be invoked when this view is clicked.

    Register a callback to be invoked when this view is clicked.

    eventType

    an event type

    listener

    the callback that will run

  25. final def setEventListener(eventType: EventType, listener: EventListenerSupport): Unit

    Permalink

    Register a callback to be invoked when this view is clicked.

    Register a callback to be invoked when this view is clicked.

    eventType

    an event type

    listener

    the callback that will run

  26. final def setId(identity: String): Unit

    Permalink

    Sets the entity's identifier.

    Sets the entity's identifier.

    identity

    the entity's identifier

    Definition Classes
    SearchSupport
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def unifyId(): Unit

    Permalink

    Обновление идентификатора сущности с учетом прородителя.

    Обновление идентификатора сущности с учетом прородителя.

    Attributes
    protected[atom.data]
    Definition Classes
    ParentSupport
  30. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ParentSupport

Inherited from SearchSupport

Inherited from AnyRef

Inherited from Any

Ungrouped