Class WebCommandDepictEvent<C extends java.lang.Enum<C> & WebPlatformCommand>

    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      WebCommandDepictEvent​(DepictedObject depictedObject, C command, com.globalmentor.model.NameValuePair<java.lang.String,​java.lang.Object>... parameters)
      Depicted object, command, and parameters constructor.
      WebCommandDepictEvent​(DepictedObject depictedObject, C command, java.util.Map<java.lang.String,​java.lang.Object> parameters)
      Depicted object, command, and parameters map constructor.
    • Constructor Detail

      • WebCommandDepictEvent

        public WebCommandDepictEvent​(DepictedObject depictedObject,
                                     C command,
                                     com.globalmentor.model.NameValuePair<java.lang.String,​java.lang.Object>... parameters)
        Depicted object, command, and parameters constructor.
        Parameters:
        depictedObject - The depicted object on which the event initially occurred.
        command - The command.
        parameters - The parameters of the command; parameters with duplicate names replace earlier parameters of the same name.
        Throws:
        java.lang.NullPointerException - if the given depicted object, command, and/or parameters is null.
      • WebCommandDepictEvent

        public WebCommandDepictEvent​(DepictedObject depictedObject,
                                     C command,
                                     java.util.Map<java.lang.String,​java.lang.Object> parameters)
        Depicted object, command, and parameters map constructor.
        Parameters:
        depictedObject - The depicted object on which the event initially occurred.
        command - The command.
        parameters - The map representing the parameters of the command.
        Throws:
        java.lang.NullPointerException - if the given depicted object, command, and/or parameters is null.