Klasse RowCanvas<R extends Row<?,?,?> >
java.lang.Object
javafx.scene.Node
javafx.scene.canvas.Canvas
impl.com.flexganttfx.skin.graphics.RowCanvas<R>
- Alle implementierten Schnittstellen:
Styleable, EventTarget
-
Eigenschaftsübersicht
EigenschaftenTypEigenschaftBeschreibungThe row property.The snap to pixel property.Von Klasse geerbte Eigenschaften Node
accessibleHelp, accessibleRoleDescription, accessibleRole, accessibleText, blendMode, boundsInLocal, boundsInParent, cacheHint, cache, clip, cursor, depthTest, disabled, disable, effectiveNodeOrientation, effect, eventDispatcher, focused, focusTraversable, hover, id, inputMethodRequests, layoutBounds, layoutX, layoutY, localToParentTransform, localToSceneTransform, managed, mouseTransparent, nodeOrientation, onContextMenuRequested, onDragDetected, onDragDone, onDragDropped, onDragEntered, onDragExited, onDragOver, onInputMethodTextChanged, onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragEntered, onMouseDragExited, onMouseDragged, onMouseDragOver, onMouseDragReleased, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, onRotate, onRotationFinished, onRotationStarted, onScrollFinished, onScroll, onScrollStarted, onSwipeDown, onSwipeLeft, onSwipeRight, onSwipeUp, onTouchMoved, onTouchPressed, onTouchReleased, onTouchStationary, onZoomFinished, onZoom, onZoomStarted, opacity, parent, pickOnBounds, pressed, rotate, rotationAxis, scaleX, scaleY, scaleZ, scene, style, translateX, translateY, translateZ, viewOrder, visible -
Feldübersicht
Von Klasse geerbte Felder Node
BASELINE_OFFSET_SAME_AS_HEIGHT -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungRowCanvas(GraphicsBase<R> graphics) Constructs a new row canvas for the given graphics control. -
Methodenübersicht
Modifikator und TypMethodeBeschreibungvoiddraw()Draws the canvas contents.getActivityBounds(double x, double y) Returns the activity bounds at the given coordinates.getActivityBounds(double x, double y, double w, double h) Returns the activity bounds within the given area.getActivityBounds(ActivityRef<?> activityRef) Returns the activity bounds for the given activity reference.Returns all activity bounds.getAllActivityBounds(double x, double y) Returns all activity bounds at the given coordinates.Returns the graphics control.getLayoutAt(double y) Returns the layout at the given y coordinate.getLayoutBoundsAt(double y) Returns the layout bounds at the given y coordinate.getRow()Ruft den Wert derrow-Eigenschaft ab.Returns the timeline model.booleanisDirty()Returns whether a redraw is pending.booleanReturns whether this canvas is resizable.booleanRuft den Wert dersnapToPixel-Eigenschaft ab.doubleprefHeight(double width) Returns the preferred height for the given width.doubleprefWidth(double height) Returns the preferred width for the given height.voidrequestRedraw(String reason) Requests a redraw for the given reason.voidrequestRedraw(String reason, Instant oldTime) Requests a redraw for the given reason.The row property.voidLegt den Wert derrow-Eigenschaft fest.voidsetSnapToPixel(boolean snap) Legt den Wert dersnapToPixel-Eigenschaft fest.doublesnapPositionX(double value) If this canvas' snapToPixel property is true, returns a value rounded to the nearest pixel in the horizontal direction, else returns the same value.doublesnapPositionY(double value) If this canvas' snapToPixel property is true, returns a value rounded to the nearest pixel in the vertical direction, else returns the same value.doublesnapSizeX(double value) If this canvas' snapToPixel property is true, returns a value ceiled to the nearest pixel in the horizontal direction, else returns the same value.doublesnapSizeY(double value) If this canvas' snapToPixel property is true, returns a value ceiled to the nearest pixel in the vertical direction, else returns the same value.doublesnapSpaceX(double value) If this canvas' snapToPixel property is true, returns a value rounded to the nearest pixel in the horizontal direction, else returns the same value.doublesnapSpaceY(double value) If this canvas' snapToPixel property is true, returns a value rounded to the nearest pixel in the vertical direction, else returns the same value.The snap to pixel property.Von Klasse geerbte Methoden Canvas
getGraphicsContext2D, getHeight, getWidth, heightProperty, setHeight, setWidth, widthPropertyVon Klasse geerbte Methoden Node
accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, executeAccessibleAction, fireEvent, focusedProperty, focusTraversableProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBaselineOffset, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClassCssMetaData, getClip, getContentBias, getCssMetaData, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInitialCursor, getInitialFocusTraversable, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, getViewOrder, hasProperties, hoverProperty, idProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookup, lookupAll, managedProperty, maxHeight, maxWidth, minHeight, minWidth, mouseTransparentProperty, nodeOrientationProperty, notifyAccessibleAttributeChanged, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, pseudoClassStateChanged, queryAccessibleAttribute, relocate, removeEventFilter, removeEventHandler, requestFocus, resize, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription, setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setViewOrder, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, viewOrderProperty, visiblePropertyVon Klasse geerbte Methoden Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden Styleable
getStyleableNode
-
Eigenschaftsdetails
-
row
-
snapToPixel
-
-
Konstruktordetails
-
RowCanvas
Constructs a new row canvas for the given graphics control.- Parameter:
graphics- the graphics control
-
-
Methodendetails
-
requestRedraw
-
getGraphics
Returns the graphics control.- Gibt zurück:
- the graphics control
-
rowProperty
-
setRow
Legt den Wert derrow-Eigenschaft fest.- Eigenschaftsbeschreibung:
- The row property.
- Parameter:
row- Wert für die Eigenschaftrow- Siehe auch:
-
getRow
Ruft den Wert derrow-Eigenschaft ab.- Eigenschaftsbeschreibung:
- The row property.
- Gibt zurück:
- Wert der Eigenschaft
row - Siehe auch:
-
getTimelineModel
Returns the timeline model.- Gibt zurück:
- the timeline model
-
isResizable
public boolean isResizable()Returns whether this canvas is resizable.- Setzt außer Kraft:
isResizablein KlasseNode- Gibt zurück:
- true if this canvas is resizable
-
prefHeight
public double prefHeight(double width) Returns the preferred height for the given width.- Setzt außer Kraft:
prefHeightin KlasseNode- Parameter:
width- the width- Gibt zurück:
- the preferred height
-
prefWidth
-
isDirty
public boolean isDirty()Returns whether a redraw is pending.- Gibt zurück:
- true if a redraw is pending
-
requestRedraw
Requests a redraw for the given reason.- Parameter:
reason- the redraw reason
-
draw
public void draw()Draws the canvas contents. -
getAllActivityBounds
Returns all activity bounds.- Gibt zurück:
- all activity bounds
-
getAllActivityBounds
Returns all activity bounds at the given coordinates.- Parameter:
x- the x coordinatey- the y coordinate- Gibt zurück:
- the activity bounds at the given coordinates
-
getActivityBounds
Returns the activity bounds at the given coordinates.- Parameter:
x- the x coordinatey- the y coordinate- Gibt zurück:
- the activity bounds at the given coordinates
-
getActivityBounds
Returns the activity bounds for the given activity reference.- Parameter:
activityRef- the activity reference- Gibt zurück:
- the activity bounds for the activity reference
-
getActivityBounds
Returns the activity bounds within the given area.- Parameter:
x- the x coordinatey- the y coordinatew- the widthh- the height- Gibt zurück:
- the activity bounds within the given area
-
getLayoutAt
Returns the layout at the given y coordinate.- Parameter:
y- the y coordinate- Gibt zurück:
- the layout at the given y coordinate
-
getLayoutBoundsAt
Returns the layout bounds at the given y coordinate.- Parameter:
y- the y coordinate- Gibt zurück:
- the layout bounds at the given y coordinate
-
snapToPixelProperty
The snap to pixel property.- Gibt zurück:
- the snap to pixel property
- Siehe auch:
-
setSnapToPixel
public void setSnapToPixel(boolean snap) Legt den Wert dersnapToPixel-Eigenschaft fest.- Eigenschaftsbeschreibung:
- The snap to pixel property.
- Parameter:
snap- Wert für die EigenschaftsnapToPixel- Siehe auch:
-
isSnapToPixel
public boolean isSnapToPixel()Ruft den Wert dersnapToPixel-Eigenschaft ab.- Eigenschaftsbeschreibung:
- The snap to pixel property.
- Gibt zurück:
- Wert der Eigenschaft
snapToPixel - Siehe auch:
-
snapSpaceX
public double snapSpaceX(double value) If this canvas' snapToPixel property is true, returns a value rounded to the nearest pixel in the horizontal direction, else returns the same value.- Parameter:
value- the space value to be snapped- Gibt zurück:
- value rounded to nearest pixel
-
snapSpaceY
public double snapSpaceY(double value) If this canvas' snapToPixel property is true, returns a value rounded to the nearest pixel in the vertical direction, else returns the same value.- Parameter:
value- the space value to be snapped- Gibt zurück:
- value rounded to nearest pixel
-
snapSizeX
public double snapSizeX(double value) If this canvas' snapToPixel property is true, returns a value ceiled to the nearest pixel in the horizontal direction, else returns the same value.- Parameter:
value- the size value to be snapped- Gibt zurück:
- value ceiled to nearest pixel
-
snapSizeY
public double snapSizeY(double value) If this canvas' snapToPixel property is true, returns a value ceiled to the nearest pixel in the vertical direction, else returns the same value.- Parameter:
value- the size value to be snapped- Gibt zurück:
- value ceiled to nearest pixel
-
snapPositionX
public double snapPositionX(double value) If this canvas' snapToPixel property is true, returns a value rounded to the nearest pixel in the horizontal direction, else returns the same value.- Parameter:
value- the position value to be snapped- Gibt zurück:
- value rounded to nearest pixel
-
snapPositionY
public double snapPositionY(double value) If this canvas' snapToPixel property is true, returns a value rounded to the nearest pixel in the vertical direction, else returns the same value.- Parameter:
value- the position value to be snapped- Gibt zurück:
- value rounded to nearest pixel
-