Interface IsEvent

    • Method Summary

      All Methods Static Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      static IsEvent create​(String event)
      Returns a event instance by its string value.
      default boolean is​(String eventType)
      Checks if the event type is equals to the event type passed as string.
      default boolean is​(NativeBaseEvent event)
      Checks if the event type is equals to the event type passed in the event.
      default boolean is​(HasNativeEvent container)
      Checks if the event type is equals to the event type passed in the event container.
      • Methods inherited from interface org.pepstock.charba.client.commons.Key

        value
    • Method Detail

      • create

        static IsEvent create​(String event)
        Returns a event instance by its string value.
        Parameters:
        event - string value to use
        Returns:
        new event instance
      • is

        default boolean is​(String eventType)
        Checks if the event type is equals to the event type passed as string.
        Parameters:
        eventType - event type to be checked as string.
        Returns:
        true if the event type is equals to the event type passed as string
      • is

        default boolean is​(NativeBaseEvent event)
        Checks if the event type is equals to the event type passed in the event.
        Parameters:
        event - event to be checked, by its type.
        Returns:
        true if the event type is equals to the event type passed as event
      • is

        default boolean is​(HasNativeEvent container)
        Checks if the event type is equals to the event type passed in the event container.
        Parameters:
        container - event container to be checked, by its event type.
        Returns:
        true if the event type is equals to the event type passed as event container