Class mxGraphView.mxCurrentRootChange

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Object previous  
      protected java.lang.Object root  
      protected boolean up  
      protected mxGraphView view  
    • Constructor Summary

      Constructors 
      Constructor Description
      mxCurrentRootChange​(mxGraphView view, java.lang.Object root)
      Constructs a change of the current root in the given view.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()
      Changes the current root of the view.
      java.lang.Object getPrevious()
      Returns the previous root.
      java.lang.Object getRoot()
      Returns the root.
      mxGraphView getView()
      Returns the graph view where the change happened.
      boolean isUp()
      Returns true if the drilling went upwards.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • root

        protected java.lang.Object root
      • previous

        protected java.lang.Object previous
      • up

        protected boolean up
    • Constructor Detail

      • mxCurrentRootChange

        public mxCurrentRootChange​(mxGraphView view,
                                   java.lang.Object root)
        Constructs a change of the current root in the given view.
    • Method Detail

      • getView

        public mxGraphView getView()
        Returns the graph view where the change happened.
      • getRoot

        public java.lang.Object getRoot()
        Returns the root.
      • getPrevious

        public java.lang.Object getPrevious()
        Returns the previous root.
      • isUp

        public boolean isUp()
        Returns true if the drilling went upwards.