< prev index next >

modules/javafx.swing/src/main/java/javafx/embed/swing/SwingNode.java

Print this page
rev 10859 : 8195788: Remove obsolete javafx.jmx module
Reviewed-by:

@@ -69,12 +69,10 @@
 import java.util.concurrent.locks.ReentrantLock;
 import com.sun.javafx.embed.swing.Disposer;
 import com.sun.javafx.embed.swing.DisposerRecord;
 import com.sun.javafx.geom.BaseBounds;
 import com.sun.javafx.geom.transform.BaseTransform;
-import com.sun.javafx.jmx.MXNodeAlgorithm;
-import com.sun.javafx.jmx.MXNodeAlgorithmContext;
 import com.sun.javafx.scene.DirtyBits;
 import com.sun.javafx.sg.prism.NGExternalNode;
 import com.sun.javafx.sg.prism.NGNode;
 import com.sun.javafx.stage.FocusUngrabEvent;
 import com.sun.javafx.stage.WindowHelper;

@@ -162,15 +160,10 @@
 
             @Override
             public boolean doComputeContains(Node node, double localX, double localY) {
                 return ((SwingNode) node).doComputeContains(localX, localY);
             }
-
-            @Override
-            public Object doProcessMXNode(Node node, MXNodeAlgorithm alg, MXNodeAlgorithmContext ctx) {
-                return ((SwingNode) node).doProcessMXNode(alg, ctx);
-            }
         });
     }
 
     private double fxWidth;
     private double fxHeight;

@@ -801,17 +794,10 @@
         bounds.deriveWithNewBounds(0, 0, 0, (float)fxWidth, (float)fxHeight, 0);
         tx.transform(bounds, bounds);
         return bounds;
     }
 
-    /*
-     * Note: This method MUST only be called via its accessor method.
-     */
-    private Object doProcessMXNode(MXNodeAlgorithm alg, MXNodeAlgorithmContext ctx) {
-        return alg.processLeafNode(this, ctx);
-    }
-
     private static class SwingNodeDisposer implements DisposerRecord {
          JLightweightFrame lwFrame;
 
          SwingNodeDisposer(JLightweightFrame ref) {
              this.lwFrame = ref;
< prev index next >