64 import javafx.stage.Window;
65 import com.sun.javafx.PlatformUtil;
66 import com.sun.javafx.beans.event.AbstractNotifyListener;
67 import com.sun.javafx.embed.HostInterface;
68 import com.sun.javafx.geom.Path2D;
69 import com.sun.javafx.geom.transform.BaseTransform;
70 import com.sun.javafx.jmx.HighlightRegion;
71 import com.sun.javafx.perf.PerformanceTracker;
72 import com.sun.javafx.runtime.VersionInfo;
73 import com.sun.javafx.runtime.async.AsyncOperation;
74 import com.sun.javafx.runtime.async.AsyncOperationListener;
75 import com.sun.javafx.scene.SceneHelper;
76 import com.sun.javafx.scene.text.HitInfo;
77 import com.sun.javafx.scene.text.TextLayoutFactory;
78 import com.sun.javafx.sg.PGArc;
79 import com.sun.javafx.sg.PGBox;
80 import com.sun.javafx.sg.PGCanvas;
81 import com.sun.javafx.sg.PGCircle;
82 import com.sun.javafx.sg.PGCubicCurve;
83 import com.sun.javafx.sg.PGEllipse;
84 import com.sun.javafx.sg.PGGroup;
85 import com.sun.javafx.sg.PGImageView;
86 import com.sun.javafx.sg.PGLine;
87 import com.sun.javafx.sg.PGNode;
88 import com.sun.javafx.sg.PGPath;
89 import com.sun.javafx.sg.PGPolygon;
90 import com.sun.javafx.sg.PGPolyline;
91 import com.sun.javafx.sg.PGQuadCurve;
92 import com.sun.javafx.sg.PGRectangle;
93 import com.sun.javafx.sg.PGRegion;
94 import com.sun.javafx.sg.PGSVGPath;
95 import com.sun.javafx.sg.PGShape;
96 import com.sun.javafx.sg.PGText;
97 import com.sun.javafx.sg.PGAmbientLight;
98 import com.sun.javafx.sg.PGCamera;
99 import com.sun.javafx.sg.PGCylinder;
100 import com.sun.javafx.sg.PGLightBase;
101 import com.sun.javafx.sg.PGMeshView;
102 import com.sun.javafx.sg.PGParallelCamera;
103 import com.sun.javafx.sg.PGPerspectiveCamera;
640 public abstract PGSphere createPGSphere();
641 public abstract PGTriangleMesh createPGTriangleMesh();
642 public abstract PGMeshView createPGMeshView();
643
644 // Material
645 public abstract PGPhongMaterial createPGPhongMaterial();
646
647 // Lights
648 public abstract PGAmbientLight createPGAmbientLight();
649 public abstract PGPointLight createPGPointLight();
650
651 // Cameras
652 public abstract PGParallelCamera createPGParallelCamera();
653 public abstract PGPerspectiveCamera createPGPerspectiveCamera(boolean fixedEyePosition);
654
655 // TODO: Need to evaluate the lighting logic
656 public abstract List<PGLightBase> getLightsInScene();
657 public abstract boolean isLightsDirty();
658 public abstract void setLightsDirty(boolean lightsDirty);
659
660 /**
661 * Tests whether the pixel on the given coordinates in the given image
662 * is non-empty (not fully transparent). Return value is not defined
663 * for pixels out of the image bounds.
664 */
665 public abstract boolean imageContains(Object image, float x, float y);
666
667 public abstract TKClipboard getSystemClipboard();
668
669 public abstract TKSystemMenu getSystemMenu();
670
671 public abstract TKClipboard getNamedClipboard(String name);
672
673 public boolean isSupported(ConditionalFeature feature) { return false; }
674
675 public abstract ScreenConfigurationAccessor setScreenConfigurationListener(TKScreenConfigurationListener listener);
676
677 public abstract Object getPrimaryScreen();
678
679 public abstract List<?> getScreens();
|
64 import javafx.stage.Window;
65 import com.sun.javafx.PlatformUtil;
66 import com.sun.javafx.beans.event.AbstractNotifyListener;
67 import com.sun.javafx.embed.HostInterface;
68 import com.sun.javafx.geom.Path2D;
69 import com.sun.javafx.geom.transform.BaseTransform;
70 import com.sun.javafx.jmx.HighlightRegion;
71 import com.sun.javafx.perf.PerformanceTracker;
72 import com.sun.javafx.runtime.VersionInfo;
73 import com.sun.javafx.runtime.async.AsyncOperation;
74 import com.sun.javafx.runtime.async.AsyncOperationListener;
75 import com.sun.javafx.scene.SceneHelper;
76 import com.sun.javafx.scene.text.HitInfo;
77 import com.sun.javafx.scene.text.TextLayoutFactory;
78 import com.sun.javafx.sg.PGArc;
79 import com.sun.javafx.sg.PGBox;
80 import com.sun.javafx.sg.PGCanvas;
81 import com.sun.javafx.sg.PGCircle;
82 import com.sun.javafx.sg.PGCubicCurve;
83 import com.sun.javafx.sg.PGEllipse;
84 import com.sun.javafx.sg.PGExternalNode;
85 import com.sun.javafx.sg.PGGroup;
86 import com.sun.javafx.sg.PGImageView;
87 import com.sun.javafx.sg.PGLine;
88 import com.sun.javafx.sg.PGNode;
89 import com.sun.javafx.sg.PGPath;
90 import com.sun.javafx.sg.PGPolygon;
91 import com.sun.javafx.sg.PGPolyline;
92 import com.sun.javafx.sg.PGQuadCurve;
93 import com.sun.javafx.sg.PGRectangle;
94 import com.sun.javafx.sg.PGRegion;
95 import com.sun.javafx.sg.PGSVGPath;
96 import com.sun.javafx.sg.PGShape;
97 import com.sun.javafx.sg.PGText;
98 import com.sun.javafx.sg.PGAmbientLight;
99 import com.sun.javafx.sg.PGCamera;
100 import com.sun.javafx.sg.PGCylinder;
101 import com.sun.javafx.sg.PGLightBase;
102 import com.sun.javafx.sg.PGMeshView;
103 import com.sun.javafx.sg.PGParallelCamera;
104 import com.sun.javafx.sg.PGPerspectiveCamera;
641 public abstract PGSphere createPGSphere();
642 public abstract PGTriangleMesh createPGTriangleMesh();
643 public abstract PGMeshView createPGMeshView();
644
645 // Material
646 public abstract PGPhongMaterial createPGPhongMaterial();
647
648 // Lights
649 public abstract PGAmbientLight createPGAmbientLight();
650 public abstract PGPointLight createPGPointLight();
651
652 // Cameras
653 public abstract PGParallelCamera createPGParallelCamera();
654 public abstract PGPerspectiveCamera createPGPerspectiveCamera(boolean fixedEyePosition);
655
656 // TODO: Need to evaluate the lighting logic
657 public abstract List<PGLightBase> getLightsInScene();
658 public abstract boolean isLightsDirty();
659 public abstract void setLightsDirty(boolean lightsDirty);
660
661 public abstract PGExternalNode createPGExternalNode();
662
663 /**
664 * Tests whether the pixel on the given coordinates in the given image
665 * is non-empty (not fully transparent). Return value is not defined
666 * for pixels out of the image bounds.
667 */
668 public abstract boolean imageContains(Object image, float x, float y);
669
670 public abstract TKClipboard getSystemClipboard();
671
672 public abstract TKSystemMenu getSystemMenu();
673
674 public abstract TKClipboard getNamedClipboard(String name);
675
676 public boolean isSupported(ConditionalFeature feature) { return false; }
677
678 public abstract ScreenConfigurationAccessor setScreenConfigurationListener(TKScreenConfigurationListener listener);
679
680 public abstract Object getPrimaryScreen();
681
682 public abstract List<?> getScreens();
|