Class UiModelEvent

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  UiModelEvent.Type
      Enumeration of event types.
    • Constructor Summary

      Constructors 
      Constructor Description
      UiModelEvent​(UiModelEvent.Type type, UiElement subject, com.fasterxml.jackson.databind.node.ObjectNode data, java.lang.String memo)
      Creates a UI model event.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.fasterxml.jackson.databind.node.ObjectNode data()
      Returns the data of the subject.
      java.lang.String memo()
      Returns the memo.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • UiModelEvent

        public UiModelEvent​(UiModelEvent.Type type,
                            UiElement subject,
                            com.fasterxml.jackson.databind.node.ObjectNode data,
                            java.lang.String memo)
        Creates a UI model event. Note that the memo field can be used to pass a hint to the listener about the event.
        Parameters:
        type - event type
        subject - subject of the event
        data - data containing details of the subject
        memo - a note about the event
    • Method Detail

      • data

        public com.fasterxml.jackson.databind.node.ObjectNode data()
        Returns the data of the subject.
        Returns:
        the subject data
      • memo

        public java.lang.String memo()
        Returns the memo.
        Returns:
        the memo