javafx-ui-quantum/src/com/sun/javafx/tk/quantum/QuantumToolkit.java
Print this page
@@ -91,10 +91,11 @@
import com.sun.javafx.sg.PGArc;
import com.sun.javafx.sg.PGCanvas;
import com.sun.javafx.sg.PGCircle;
import com.sun.javafx.sg.PGCubicCurve;
import com.sun.javafx.sg.PGEllipse;
+import com.sun.javafx.sg.PGExternalNode;
import com.sun.javafx.sg.PGGroup;
import com.sun.javafx.sg.PGImageView;
import com.sun.javafx.sg.PGLine;
import com.sun.javafx.sg.PGPath;
import com.sun.javafx.sg.PGPolygon;
@@ -185,10 +186,11 @@
import com.sun.javafx.sg.prism.NGPerspectiveCamera;
import com.sun.javafx.sg.prism.NGPhongMaterial;
import com.sun.javafx.sg.prism.NGPointLight;
import com.sun.javafx.sg.prism.NGSphere;
import com.sun.javafx.sg.prism.NGTriangleMesh;
+import com.sun.javafx.sg.prism.NGExternalNode;
public final class QuantumToolkit extends DesktopToolkit implements ToolkitInterface {
public static final boolean verbose =
AccessController.doPrivileged(new PrivilegedAction<Boolean>() {
@@ -1128,10 +1130,14 @@
@Override public PGText createPGText() {
return new NGText();
}
+ @Override public PGExternalNode createPGExternalNode() {
+ return new NGExternalNode();
+ }
+
@Override public Object createSVGPathObject(SVGPath svgpath) {
int windingRule = svgpath.getFillRule() == FillRule.NON_ZERO ? PathIterator.WIND_NON_ZERO : PathIterator.WIND_EVEN_ODD;
Path2D path = new Path2D(windingRule);
path.appendSVGPath(svgpath.getContent());
return path;