< prev index next >
modules/javafx.graphics/src/main/java/javafx/scene/image/ImageView.java
Print this page
rev 10859 : 8195788: Remove obsolete javafx.jmx module
Reviewed-by:
*** 28,39 ****
import com.sun.javafx.beans.event.AbstractNotifyListener;
import com.sun.javafx.css.StyleManager;
import javafx.css.converter.URLConverter;
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.scene.ImageViewHelper;
import com.sun.javafx.scene.NodeHelper;
import com.sun.javafx.sg.prism.NGImageView;
import com.sun.javafx.sg.prism.NGNode;
--- 28,37 ----
*** 161,175 ****
@Override
public boolean doComputeContains(Node node, double localX, double localY) {
return ((ImageView) node).doComputeContains(localX, localY);
}
-
- @Override
- public Object doProcessMXNode(Node node, MXNodeAlgorithm alg, MXNodeAlgorithmContext ctx) {
- return ((ImageView) node).doProcessMXNode(alg, ctx);
- }
});
}
{
// To initialize the class helper at the begining each constructor of this class
--- 159,168 ----
*** 898,910 ****
// The NG part expects this to be called when image changes
if (NodeHelper.isDirty(this, DirtyBits.NODE_VIEWPORT) || NodeHelper.isDirty(this, DirtyBits.NODE_CONTENTS)) {
updateViewport();
}
}
-
- /*
- * Note: This method MUST only be called via its accessor method.
- */
- private Object doProcessMXNode(MXNodeAlgorithm alg, MXNodeAlgorithmContext ctx) {
- return alg.processLeafNode(this, ctx);
- }
}
--- 891,896 ----
< prev index next >