Class ViewerModelEvent


  • @Deprecated
    public class ViewerModelEvent
    extends java.lang.Object
    Deprecated.
    The event which will be sent every time the model changes.

    Note: the instances will be immutable

    Author:
    Boris Gruschko ( boris at gruschko.org )
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CODE_RECOMPILED
      Deprecated.
      reason in the case of code recompilation
      static int NODE_SELECTED
      Deprecated.
      reason in the case of node selection
      static int PATH_EXPRESSION_APPENDED
      Deprecated.
      reason in the case of path extension
      static int PATH_EXPRESSION_EVALUATED
      Deprecated.
      reason in the case of path expression evaluation
    • Constructor Summary

      Constructors 
      Constructor Description
      ViewerModelEvent​(java.lang.Object source, int reason)
      Deprecated.
      Creates an event
      ViewerModelEvent​(java.lang.Object source, int reason, java.lang.Object parameter)
      Deprecated.
      Creates an event
    • Field Detail

      • CODE_RECOMPILED

        public static final int CODE_RECOMPILED
        Deprecated.
        reason in the case of code recompilation
        See Also:
        Constant Field Values
      • NODE_SELECTED

        public static final int NODE_SELECTED
        Deprecated.
        reason in the case of node selection
        See Also:
        Constant Field Values
      • PATH_EXPRESSION_APPENDED

        public static final int PATH_EXPRESSION_APPENDED
        Deprecated.
        reason in the case of path extension
        See Also:
        Constant Field Values
      • PATH_EXPRESSION_EVALUATED

        public static final int PATH_EXPRESSION_EVALUATED
        Deprecated.
        reason in the case of path expression evaluation
        See Also:
        Constant Field Values
    • Constructor Detail

      • ViewerModelEvent

        public ViewerModelEvent​(java.lang.Object source,
                                int reason)
        Deprecated.
        Creates an event
        Parameters:
        source - event's source
        reason - event's reason
      • ViewerModelEvent

        public ViewerModelEvent​(java.lang.Object source,
                                int reason,
                                java.lang.Object parameter)
        Deprecated.
        Creates an event
        Parameters:
        source - event's source
        reason - event's reason
        parameter - parameter object
    • Method Detail

      • getReason

        public int getReason()
        Deprecated.
      • getSource

        public java.lang.Object getSource()
        Deprecated.
      • getParameter

        public java.lang.Object getParameter()
        Deprecated.