javafx.ui.canvas

View

Extends: Node, SizeableCanvasElement

A Canvas node that contains a Widget (Swing component). The contained widget will be sized to its preferred size.

Attributes

public antialias: Boolean
If true, the graphics context used to paint the widget will be anti-aliased. Defaults to false
public antialiasText: Boolean
If true, the graphics context used to paint the widget will use anti-aliasing for text. Defaults to false.
public content: Widget
The widget (Swing component) contained in this node
public fractionalMetrics: Boolean
If true, the graphics context used to paint the widget will use fractional metrics, otherwise integer metrics will be used. Defaults to false.
public size: java.awt.Dimension?
private zswing: net.java.javafx.jazz.component.ZSwing

Attributes Inherited from javafx.ui.canvas.Node

ag, alignmentTransform, antialiasClip, bounds, cachedCanvas, canAcceptDrop, cg, clip, clipNode, currentHeight, currentWidth, currentX, currentY, cursor, dragCount, exportAsDrag, exportDrag, fadeGroup, filter, filterGroup, focusable, focused, halign, hover, id, isSelectionRoot, mouseListener, mouseMotionListener, onDragEnter, onDragExit, onDrop, onKeyDown, onKeyTyped, onKeyUp, onMouseClicked, onMouseDragged, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, opacity, scaleToFitCanvas, selectable, sg, tg, toolTipText, valign, visible

Attributes Inherited from javafx.ui.canvas.CanvasElement

parentCanvasElement

Attributes Inherited from javafx.ui.canvas.Transformable

affineTransform, transform

Attributes Inherited from javafx.ui.canvas.SizeableCanvasElement

sizeToFitCanvas

Operations/Functions Inherited from javafx.ui.canvas.Node

createNode, doDragExport, getF3, getGlobalBounds, getNode, getVisualComponent, handleAcceptDrop, handleDragEnter, handleDragExit, handleDrop, installMouseListener, installMouseMotionListener, makeCanvasMouseEvent

Operations/Functions Inherited from javafx.ui.canvas.CanvasElement

getCanvas, getContainer, hasParent, lower, onSetCanvas, raise, toBack, toFront

Operations/Functions Inherited from javafx.ui.canvas.Transformable

onTransformChanged, updateTransform

Operations/Functions Inherited from javafx.ui.canvas.SizeableCanvasElement

onSizeToFitCanvas, setSize