Package 

Class AbstractEvent

    • Constructor Detail

      • AbstractEvent

        AbstractEvent(String type)
    • Method Detail

      • getType

         String getType()

        The event type, typically specified from a constant value defined in EventType.

      • isStopped

         boolean isStopped()

        Indicates that a participant of the current Event activity has stopped the processing of anyadditional Events.

      • isPrevented

         boolean isPrevented()

        Indicates that a participant of the current Event activity has prevented the default behaviorfor the current Event.

      • preventDefault

         void preventDefault()

        Causes the Event handling framework to not execute any default behavior that may be definedfor a given Event.

      • stopPropagation

         void stopPropagation()

        Causes the Event handling framework to stop processing any additional Events.

      • getProperty

         <T> T getProperty(String eventPropertyId, Class<T> type)

        Returns the casted value of the eventPropertyId.

        Parameters:
        eventPropertyId - the id of the property to retrieve.
        type - the class to be casted.
      • getIntegerProperty

         int getIntegerProperty(@NonNull() String propertyName)

        Convenience method for accessing a property with an integer value

        Parameters:
        propertyName - Name of property to access
      • getLongProperty

         long getLongProperty(@NonNull() String propertyName)

        Convenience method for accessing a property with an long value

        Parameters:
        propertyName - Name of property to access