Class UiModelEvent

    • Constructor Detail

      • UiModelEvent

        public UiModelEvent​(UiModelEvent.Type type,
                            UiElement subject,
                            com.fasterxml.jackson.databind.node.ObjectNode data,
                            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 String memo()
        Returns the memo.
        Returns:
        the memo