< prev index next >

modules/javafx.graphics/src/test/java/test/javafx/scene/bounds/PerfNode.java

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

*** 31,42 **** import com.sun.javafx.sg.prism.NGRectangle; import javafx.beans.property.FloatProperty; import javafx.beans.property.SimpleFloatProperty; import javafx.scene.Node; - import com.sun.javafx.jmx.MXNodeAlgorithm; - import com.sun.javafx.jmx.MXNodeAlgorithmContext; import com.sun.javafx.scene.NodeHelper; import test.com.sun.javafx.scene.bounds.PerfNodeHelper; /** * A special node used for performance tests to make sure that the minimum --- 31,40 ----
*** 60,74 **** @Override public boolean doComputeContains(Node node, double localX, double localY) { return ((PerfNode) node).doComputeContains(localX, localY); } - - @Override - public Object doProcessMXNode(Node node, MXNodeAlgorithm alg, MXNodeAlgorithmContext ctx) { - return ((PerfNode) node).doProcessMXNode(alg, ctx); - } }); } { // To initialize the class helper at the begining each constructor of this class --- 58,67 ----
*** 201,213 **** } private NGNode doCreatePeer() { return new NGRectangle(); } - - /* - * Note: This method MUST only be called via its accessor method. - */ - private Object doProcessMXNode(MXNodeAlgorithm alg, MXNodeAlgorithmContext ctx) { - return null; - } } --- 194,199 ----
< prev index next >