All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
void |
accumulateStrokeBounds(Shape shape,
float[] bbox,
StrokeType pgtype,
double strokewidth,
StrokeLineCap pgcap,
StrokeLineJoin pgjoin,
float miterLimit,
BaseTransform tx) |
Future |
addRenderJob(RenderJob r) |
boolean |
canStartNestedEventLoop()
Indicates whether or not a nested event loop can be started
from the current thread in the current state.
|
void |
checkFxUserThread() |
void |
closeAppletWindow()
Perform cleanup in preparation for applet termination, including closing
the applet window.
|
HitInfo |
convertHitInfoToFX(Object hit) |
PathElement[] |
convertShapeToFXPath(Object shape) |
AppletWindow |
createAppletWindow(long parent,
String serverName)
Creates an AppletWindow using the provided window pointer as the parent
window.
|
protected Object |
createColorPaint(Color color) |
protected Object |
createImagePatternPaint(ImagePattern paint) |
protected Object |
createLinearGradientPaint(LinearGradient paint) |
PerformanceTracker |
createPerformanceTracker() |
PlatformImage |
createPlatformImage(int w,
int h) |
protected Object |
createRadialGradientPaint(RadialGradient paint) |
Shape |
createStrokedShape(Shape shape,
StrokeType pgtype,
double strokewidth,
StrokeLineCap pgcap,
StrokeLineJoin pgjoin,
float miterLimit,
float[] dashArray,
float dashOffset) |
Path2D |
createSVGPath2D(SVGPath svgpath) |
Object |
createSVGPathObject(SVGPath svgpath) |
TKStage |
createTKEmbeddedStage(HostInterface host,
AccessControlContext acc) |
TKStage |
createTKPopupStage(Window peerWindow,
StageStyle popupStyle,
TKStage owner,
AccessControlContext acc) |
TKStage |
createTKStage(Window peerWindow,
boolean securityDialog,
StageStyle stageStyle,
boolean primary,
Modality modality,
TKStage owner,
boolean rtl,
AccessControlContext acc) |
void |
defer(Runnable runnable) |
void |
dispose() |
void |
enableDrop(TKScene s,
TKDropTargetListener l) |
Object |
enterNestedEventLoop(Object key)
Enter a nested event loop and block until the corresponding
exitNestedEventLoop call is made.
|
void |
exit() |
void |
exitNestedEventLoop(Object key,
Object rval)
Exit a nested event loop and unblock the caller of the
corresponding enterNestedEventLoop.
|
Dimension2D |
getBestCursorSize(int preferredWidth,
int preferredHeight) |
Map<Object,Object> |
getContextMap() |
FilterContext |
getFilterContext(Object config) |
FontLoader |
getFontLoader() |
protected static Thread |
getFxUserThread() |
int |
getKeyCodeForChar(String character) |
AbstractMasterTimer |
getMasterTimer() |
int |
getMaximumCursorColors() |
float |
getMaxRenderScale() |
int |
getMultiClickMaxX() |
int |
getMultiClickMaxY() |
long |
getMultiClickTime() |
TKClipboard |
getNamedClipboard(String name) |
PerformanceTracker |
getPerformanceTracker() |
Object |
getPrimaryScreen() |
int |
getRefreshRate() |
ScreenConfigurationAccessor |
getScreenConfigurationAccessor() |
List<?> |
getScreens() |
TKClipboard |
getSystemClipboard() |
TKSystemMenu |
getSystemMenu() |
TextLayoutFactory |
getTextLayoutFactory() |
String |
getThemeName() |
boolean |
imageContains(Object image,
float x,
float y)
Tests whether the pixel on the given coordinates in the given image
is non-empty (not fully transparent).
|
boolean |
init() |
void |
installInputMethodRequests(TKScene scene,
InputMethodRequests requests) |
boolean |
isBackwardTraversalKey(KeyEvent e) |
boolean |
isForwardTraversalKey(KeyEvent e) |
boolean |
isMSAASupported() |
boolean |
isNestedLoopRunning() |
boolean |
isSupported(ConditionalFeature feature) |
ImageLoader |
loadImage(InputStream stream,
int width,
int height,
boolean preserveRatio,
boolean smooth) |
ImageLoader |
loadImage(String url,
int width,
int height,
boolean preserveRatio,
boolean smooth) |
AbstractRemoteResource<? extends ImageLoader> |
loadImageAsync(AsyncOperationListener listener,
String url,
int width,
int height,
boolean preserveRatio,
boolean smooth) |
ImageLoader |
loadPlatformImage(Object platformImage) |
protected void |
pulse() |
void |
registerDragGestureListener(TKScene s,
Set<TransferMode> tm,
TKDragGestureListener l) |
Object |
renderToImage(Toolkit.ImageRenderingContext p) |
void |
requestNextPulse() |
static <T> T |
runWithoutRenderLock(Supplier<T> supplier)
Runs the specified supplier, releasing the renderLock if needed.
|
static <T> T |
runWithRenderLock(Supplier<T> supplier)
Runs the specified supplier, first acquiring the renderLock.
|
void |
setAnimationRunnable(DelayedRunnable animationRunnable) |
ScreenConfigurationAccessor |
setScreenConfigurationListener(TKScreenConfigurationListener listener) |
File |
showDirectoryChooser(TKStage ownerWindow,
String title,
File initialDirectory) |
CommonDialogs.FileChooserResult |
showFileChooser(TKStage ownerWindow,
String title,
File initialDirectory,
String initialFileName,
FileChooserType fileChooserType,
List<FileChooser.ExtensionFilter> extensionFilters,
FileChooser.ExtensionFilter selectedFilter) |
void |
startDrag(TKScene scene,
Set<TransferMode> tm,
TKDragSourceListener l,
Dragboard dragboard)
This function is called when a drag originates within a JavaFX application.
|
void |
startup(Runnable userStartupRunnable)
This method is invoked by PlatformImpl.
|
boolean |
strokeContains(Shape shape,
double x,
double y,
StrokeType pgtype,
double strokewidth,
StrokeLineCap pgcap,
StrokeLineJoin pgjoin,
float miterLimit) |
Filterable |
toFilterable(Image img) |
void |
waitFor(Toolkit.Task t) |