public final class DummyToolkit extends Toolkit
Toolkit.ImageAccessor, Toolkit.ImageRenderingContext, Toolkit.PaintAccessor, Toolkit.Task, Toolkit.WritableImageAccessor| Constructor and Description |
|---|
DummyToolkit() |
addPostSceneTkPulseListener, addSceneTkPulseListener, addShutdownHook, addStageTkPulseListener, addTkListener, checkFxUserThread, clampStopOffset, createLocalClipboard, exit, firePulse, getDefaultImageSmooth, getFxUserThread, getHighlightedRegions, getImageAccessor, getInputStream, getPaint, getPaintAccessor, getThemeName, getToolkit, getWritableImageAccessor, isFxUserThread, isMSAASupported, isSupported, loadMSWindowsLibraries, notifyLastNestedLoopExited, notifyShutdownHooks, notifyWindowListeners, pauseCurrentThread, pauseScenes, removePostSceneTkPulseListener, removeSceneTkPulseListener, removeShutdownHook, removeStageTkPulseListener, removeTkListener, resumeScenes, setFxUserThread, setImageAccessor, setLastTkPulseListener, setPaintAccessor, setWritableImageAccessor, stopDrag, toColor4f, toShadowModepublic boolean canStartNestedEventLoop()
ToolkitcanStartNestedEventLoop in class Toolkitpublic Object enterNestedEventLoop(Object key)
Toolkitrval
object supplied to the exitNestedEventLoop method call that unblocks it.enterNestedEventLoop in class Toolkitkey - the Object that identifies the nested event loop, which
must not be nullpublic void exitNestedEventLoop(Object key, Object rval)
ToolkitexitNestedEventLoop in class Toolkitkey - the Object that identifies the nested event loop, which
must not be nullrval - an Object that is returned to the caller of the
corresponding enterNestedEventLoop. This may be null.public TKStage createTKStage(Window peerWindow, boolean securityDialog, StageStyle stageStyle, boolean primary, Modality modality, TKStage owner, boolean rtl, AccessControlContext acc)
createTKStage in class Toolkitpublic TKStage createTKPopupStage(Window peerWindow, StageStyle popupStyle, TKStage owner, AccessControlContext acc)
createTKPopupStage in class Toolkitpublic TKStage createTKEmbeddedStage(HostInterface host, AccessControlContext acc)
createTKEmbeddedStage in class Toolkitpublic AppletWindow createAppletWindow(long parent, String serverName)
ToolkitcreateAppletWindow in class Toolkitparent - the native parent which will contain the primary stage
window(s). Used on Windows/Linux platforms.serverName - the name of CARemoteLayerServer which
will be used to register native layer. Used on Mac platform.public void closeAppletWindow()
ToolkitcloseAppletWindow in class Toolkitpublic TKSystemMenu getSystemMenu()
getSystemMenu in class Toolkitpublic ImageLoader loadImage(String url, int width, int height, boolean preserveRatio, boolean smooth)
public ImageLoader loadImage(InputStream stream, int width, int height, boolean preserveRatio, boolean smooth)
public AsyncOperation loadImageAsync(AsyncOperationListener<? extends ImageLoader> listener, String url, int width, int height, boolean preserveRatio, boolean smooth)
loadImageAsync in class Toolkitpublic ImageLoader loadPlatformImage(Object platformImage)
loadPlatformImage in class Toolkitpublic PlatformImage createPlatformImage(int w, int h)
createPlatformImage in class Toolkitpublic Future addRenderJob(RenderJob rj)
addRenderJob in class Toolkitpublic Map<Object,Object> getContextMap()
getContextMap in class Toolkitpublic int getRefreshRate()
getRefreshRate in class Toolkitpublic void setAnimationRunnable(DelayedRunnable animationRunnable)
setAnimationRunnable in class Toolkitpublic PerformanceTracker getPerformanceTracker()
getPerformanceTracker in class Toolkitpublic PerformanceTracker createPerformanceTracker()
createPerformanceTracker in class Toolkitpublic void waitFor(Toolkit.Task t)
protected Object createColorPaint(Color paint)
createColorPaint in class Toolkitprotected Object createLinearGradientPaint(LinearGradient paint)
createLinearGradientPaint in class Toolkitprotected Object createRadialGradientPaint(RadialGradient paint)
createRadialGradientPaint in class Toolkitprotected Object createImagePatternPaint(ImagePattern paint)
createImagePatternPaint in class Toolkitpublic void accumulateStrokeBounds(Shape shape, float[] bbox, StrokeType type, double strokewidth, StrokeLineCap cap, StrokeLineJoin join, float miterLimit, BaseTransform tx)
accumulateStrokeBounds in class Toolkitpublic boolean strokeContains(Shape shape, double x, double y, StrokeType type, double strokewidth, StrokeLineCap cap, StrokeLineJoin join, float miterLimit)
strokeContains in class Toolkitpublic Shape createStrokedShape(Shape shape, StrokeType pgtype, double strokewidth, StrokeLineCap pgcap, StrokeLineJoin pgjoin, float miterLimit, float[] dashArray, float dashOffset)
createStrokedShape in class Toolkitpublic int getKeyCodeForChar(String character)
getKeyCodeForChar in class Toolkitpublic Dimension2D getBestCursorSize(int preferredWidth, int preferredHeight)
getBestCursorSize in class Toolkitpublic int getMaximumCursorColors()
getMaximumCursorColors in class Toolkitpublic PathElement[] convertShapeToFXPath(Object shape)
convertShapeToFXPath in class Toolkitpublic HitInfo convertHitInfoToFX(Object hit)
convertHitInfoToFX in class Toolkitpublic Filterable toFilterable(Image img)
toFilterable in class Toolkitpublic FilterContext getFilterContext(Object config)
getFilterContext in class Toolkitpublic boolean isForwardTraversalKey(KeyEvent e)
isForwardTraversalKey in class Toolkitpublic boolean isBackwardTraversalKey(KeyEvent e)
isBackwardTraversalKey in class Toolkitpublic boolean isNestedLoopRunning()
isNestedLoopRunning in class Toolkitpublic AbstractMasterTimer getMasterTimer()
getMasterTimer in class Toolkitpublic FontLoader getFontLoader()
getFontLoader in class Toolkitpublic TextLayoutFactory getTextLayoutFactory()
getTextLayoutFactory in class Toolkitpublic Object createSVGPathObject(SVGPath svgpath)
createSVGPathObject in class Toolkitpublic Path2D createSVGPath2D(SVGPath svgpath)
createSVGPath2D in class Toolkitpublic boolean imageContains(Object image, float x, float y)
ToolkitimageContains in class Toolkitpublic TKClipboard getSystemClipboard()
getSystemClipboard in class Toolkitpublic TKClipboard getNamedClipboard(String name)
getNamedClipboard in class Toolkitpublic ScreenConfigurationAccessor setScreenConfigurationListener(TKScreenConfigurationListener listener)
setScreenConfigurationListener in class Toolkitpublic Object getPrimaryScreen()
getPrimaryScreen in class Toolkitpublic List<?> getScreens()
getScreens in class Toolkitpublic ScreenConfigurationAccessor getScreenConfigurationAccessor()
getScreenConfigurationAccessor in class Toolkitpublic void registerDragGestureListener(TKScene s, Set<TransferMode> tms, TKDragGestureListener l)
registerDragGestureListener in class Toolkitpublic void startDrag(TKScene scene, Set<TransferMode> tms, TKDragSourceListener l, Dragboard dragboard)
Toolkitpublic void enableDrop(TKScene s, TKDropTargetListener l)
enableDrop in class Toolkitpublic void installInputMethodRequests(TKScene scene, InputMethodRequests requests)
installInputMethodRequests in class Toolkitpublic Object renderToImage(Toolkit.ImageRenderingContext context)
renderToImage in class Toolkitpublic KeyCode getPlatformShortcutKey()
ToolkitKeyCode.CONTROL on Windows (Ctrl + C, Ctrl + V ...) and
KeyCode.META on MacOS (Cmd + C, Cmd + V ...).getPlatformShortcutKey in class Toolkitpublic CommonDialogs.FileChooserResult showFileChooser(TKStage ownerWindow, String title, File initialDirectory, String initialFileName, FileChooserType fileChooserType, List<FileChooser.ExtensionFilter> extensionFilters, FileChooser.ExtensionFilter selectedFilter)
showFileChooser in class Toolkitpublic File showDirectoryChooser(TKStage ownerWindow, String title, File initialDirectory)
showDirectoryChooser in class Toolkitpublic long getMultiClickTime()
getMultiClickTime in class Toolkitpublic int getMultiClickMaxX()
getMultiClickMaxX in class Toolkitpublic int getMultiClickMaxY()
getMultiClickMaxY in class Toolkitpublic void requestNextPulse()
requestNextPulse in class ToolkitCopyright © 2025. All rights reserved.