Enum WebPlatformEventType

  • All Implemented Interfaces:
    com.globalmentor.lex.Identifier, com.globalmentor.lex.Token, java.io.Serializable, java.lang.Comparable<WebPlatformEventType>

    public enum WebPlatformEventType
    extends java.lang.Enum<WebPlatformEventType>
    implements com.globalmentor.lex.Identifier
    The type of event received from the web platform. The name of the XML element in which the event is serialized will be the serialized from of the event type name.
    Author:
    Garret Wilson
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ACTION
      An action on a component.
      CHANGE
      A property change on a component.
      DROP
      The end of a drag-and-drop operation.
      FOCUS
      A focus change.
      INIT
      Information resulting from form changes, analogous to that in an HTTP POST.
      KEYPRESS
      A key pressed anywhere.
      KEYRELEASE
      A key released anywhere.
      LOG
      Sends debug information to the server.
      MOUSECLICK
      A mouse click event related to a component.
      MOUSEENTER
      A mouse enter event related to a component.
      MOUSEEXIT
      A mouse exit event related to a component.
      POLL
      Polls the server to check for updates.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static WebPlatformEventType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static WebPlatformEventType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • values

        public static WebPlatformEventType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (WebPlatformEventType c : WebPlatformEventType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static WebPlatformEventType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null