Class ViewerModelEvent


  • @Deprecated
    public class ViewerModelEvent
    extends 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 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​(Object source,
                                int reason)
        Deprecated.
        Creates an event
        Parameters:
        source - event's source
        reason - event's reason
      • ViewerModelEvent

        public ViewerModelEvent​(Object source,
                                int reason,
                                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 Object getSource()
        Deprecated.
      • getParameter

        public Object getParameter()
        Deprecated.