javafx.ui.canvas

Node

Extends: CanvasElement, Transformable

Common base class for all objects that appear in a Canvas.

Attributes

protected ag: net.java.javafx.jazz.ZAlignmentGroup
protected alignmentTransform: java.awt.geom.AffineTransform?
private antialiasClip: Boolean?
protected bounds: net.java.javafx.jazz.util.ZBounds?
private cachedCanvas: Canvas?
public canAcceptDrop: function(javafx.ui.canvas.CanvasDropEvent):Boolean?
private cg: net.java.javafx.jazz.ZClipGroup
public clip: Clip?
private clipNode: Node?
public currentHeight: Number
Read-only attribute returning the current height of this node.
public currentWidth: Number
Read-only attribute returning the current width of this node.
public currentX: Number?
Read-only attribute returning the current x coordinate of this node relative to its parent.
public currentY: Number?
Read-only attribute returning the current y coordinate of this node relative to its parent.
public cursor: Cursor?
Optional cursor to use when the mouse is over this node.
public dragCount: Number
public exportAsDrag: function():javafx.ui.canvas.CanvasDragEvent
public exportDrag: Boolean
protected fadeGroup: net.java.javafx.jazz.ZFadeGroup
public filter: Filter*
An optional list of Filters that will be applied to this node. If present whenever the content of this node changes a new buffered image will be created consisting of the result of applying the list of filters (in order) to the new content. The generated image will then be used to paint the node.
protected filterGroup: net.java.javafx.jazz.ZFilterGroup
public focusable: Boolean
public focused: Boolean
public halign: HorizontalAlignment?
Determines the horizontal alignment of this node relative to its origin.
public hover: Boolean
public id: String?
public isSelectionRoot: Boolean
protected mouseListener: net.java.javafx.jazz.event.ZMouseListener
protected mouseMotionListener: net.java.javafx.jazz.event.ZMouseMotionListener
public onDragEnter: function(javafx.ui.canvas.CanvasDropEvent):*?
public onDragExit: function(javafx.ui.canvas.CanvasDropEvent):*?
public onDrop: function(javafx.ui.canvas.CanvasDropEvent):*?
public onKeyDown: function(javafx.ui.KeyEvent):*?
public onKeyTyped: function(javafx.ui.KeyEvent):*?
public onKeyUp: function(javafx.ui.KeyEvent):*?
public onMouseClicked: function(javafx.ui.canvas.CanvasMouseEvent):*?
attribute onMouseClicked: function(e:CanvasMouseEvent)?

Optional handler for mouse click events
public onMouseDragged: function(javafx.ui.canvas.CanvasMouseEvent):*?
attribute onMouseDragged: function(e:CanvasMouseEvent)?

Optional handler for mouse drag events.
public onMouseEntered: function(javafx.ui.canvas.CanvasMouseEvent):*?
attribute onMouseEntered: function(e:CanvasMouseEvent)?

Optional handler for mouse enter events.
public onMouseExited: function(javafx.ui.canvas.CanvasMouseEvent):*?
attribute onMouseExited: function(e:CanvasMouseEvent)?

Optional handler for mouse exit events.
public onMouseMoved: function(javafx.ui.canvas.CanvasMouseEvent):*?
attribute onMouseMoved: function(e:CanvasMouseEvent)?

Optional handler for mouse motion events.
public onMousePressed: function(javafx.ui.canvas.CanvasMouseEvent):*?
attribute onMousePressed: function(e:CanvasMouseEvent)?

Optional handler for mouse press events.
public onMouseReleased: function(javafx.ui.canvas.CanvasMouseEvent):*?
attribute onMouseReleased: function(e:CanvasMouseEvent)?

Optional handler for mouse release events.
public opacity: Number?
A number between 0 and 1, 0 being transparent and 1 opaque.
public scaleToFitCanvas: Boolean
If true this node will be scaled to the size of its containing canvas.
public selectable: Boolean
Determines whether this node responds to mouse events, or other picking operations.
protected sg: net.java.javafx.jazz.ZNode
protected tg: net.java.javafx.jazz.ZTransformGroup
public toolTipText: String?
public valign: VerticalAlignment?
Determines the vertical alignment of this node relative to its origin.
public visible: Boolean
Determines whether this node is visible in the canvas. If set to false, this node and anything it contains will not be painted and will not receive events.

Attributes Inherited from javafx.ui.canvas.CanvasElement

parentCanvasElement

Attributes Inherited from javafx.ui.canvas.Transformable

affineTransform, transform

Operations/Functions

protected createNode(): net.java.javafx.jazz.ZNode
public doDragExport()
private getF3(obj: net.java.javafx.jazz.ZSceneGraphObject): Node
public getGlobalBounds(): java.awt.geom.Rectangle2D$Double
protected getNode(): net.java.javafx.jazz.ZNode
protected getVisualComponent(): net.java.javafx.jazz.ZVisualComponent
public handleAcceptDrop(e: CanvasDropEvent): Boolean
public handleDragEnter(e: CanvasDropEvent): Boolean
public handleDragExit(e: CanvasDropEvent): Boolean
public handleDrop(e: CanvasDropEvent)
protected installMouseListener()
protected installMouseMotionListener()
protected makeCanvasMouseEvent(e: net.java.javafx.jazz.event.ZMouseEvent)

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