javafx.ui
Canvas
Extends: CanvasElement, Container, Widget
Attributes
- public canAcceptDrop: function(javafx.ui.canvas.CanvasDropEvent):Boolean?
attribute acceptDrop: function(e:CanvasDropEvent): Boolean
Optional handler called when the user drops an object into this canvas.
If it returns false, the drop is rejected.
- public content: Node*
- public dragNode: Node
- public dragValue
- public dropTargetNode: Node?
- public dropType: Class?
- Optional filter for the types of objects that may be dropped into this
canvas.
- protected focusBounds: net.java.javafx.jazz.util.ZBounds?
- protected focusRect: Rect?
- protected focusedNode: Node?
- public logPrefix: String
- public logRepaint: Boolean
- public onDragEnter: function(javafx.ui.canvas.CanvasDropEvent):*?
- public onDragExit: function(javafx.ui.canvas.CanvasDropEvent):*?
- public onDrop: function(javafx.ui.canvas.CanvasDropEvent):*?
- Optional handler called when the user drops an object into this canvas.
- protected root: net.java.javafx.jazz.ZTransformGroup
- public scaleToFit: Boolean
- protected scaleToFitList: Node*
- protected sizeToFitList: SizeableCanvasElement*
- public viewport: CanvasViewport
- protected zcanvas: net.java.javafx.jazz.util.ZCanvas
alignmentX,
alignmentY,
awtBackground,
awtFont,
awtForeground,
background,
border,
component,
componentOrientation,
cursor,
doubleBuffered,
enabled,
focusListener,
focusTraversalKeysEnabled,
focusable,
focused,
font,
foreground,
height,
inBoundsListener,
keyListener,
keyboardAction,
maximumSize,
minimumSize,
mouseListener,
mouseMotionListener,
mouseWheelListener,
onKeyDown,
onKeyTyped,
onKeyUp,
onMouseClicked,
onMouseDragged,
onMouseEntered,
onMouseExited,
onMouseMoved,
onMousePressed,
onMouseReleased,
onMouseWheelMoved,
opaque,
preferredSize,
size,
sizeToFitColumn,
sizeToFitRow,
toolTipText,
visible,
width,
x,
y
Operations/Functions
- private acceptDrop(value): Boolean
- public doExportAsDrag(e: CanvasDragEvent)
- private getDragNode(): Node
- private getDragValue(): Node
- protected getF3(obj: net.java.javafx.jazz.ZSceneGraphObject): Node
- private handleDragEnter(value)
- private handleDragExit(value)
- public pick(x: Number, y: Number, w: Number, h: Number): Node
- public print()
- private setDropValue(value)
Operations/Functions Inherited from javafx.ui.Widget
createComponent,
function():function(java.awt.event.KeyEvent):function(java.awt.event.KeyEvent):function(java.awt.event.KeyEvent):function(java.awt.event.KeyEvent):javafx.ui.KeyEvent,
getBounds,
getComponent,
getNonScrollPaneComponent,
installMouseListener,
installMouseMotionListener,
installMouseWheelListener,
makeKeyEvent,
makeMouseEvent,
makeMouseWheelEvent,
maximumSize,
minimumSize,
onSetOpaque,
preferredSize,
requestFocus,
setBounds,
size