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

public final class RowCanvas<R extends Row<?,?,?>> extends Canvas
  • Eigenschaftsdetails

  • Konstruktordetails

  • Methodendetails

    • requestRedraw

      public void requestRedraw(String reason, Instant oldTime)
    • getGraphics

      public GraphicsBase<R> getGraphics()
    • rowProperty

      public ObjectProperty<R> rowProperty()
      Gibt zurück:
      die Eigenschaft row
      Siehe auch:
    • setRow

      public void setRow(R row)
      Legt den Wert der row-Eigenschaft fest.
      Eigenschaftsbeschreibung:
      Parameter:
      row - Wert für die Eigenschaft row
      Siehe auch:
    • getRow

      public R getRow()
      Ruft den Wert der row-Eigenschaft ab.
      Eigenschaftsbeschreibung:
      Gibt zurück:
      Wert der Eigenschaft row
      Siehe auch:
    • getTimelineModel

      public TimelineModel<?> getTimelineModel()
    • isResizable

      public boolean isResizable()
      Setzt außer Kraft:
      isResizable in Klasse Node
    • prefHeight

      public double prefHeight(double width)
      Setzt außer Kraft:
      prefHeight in Klasse Node
    • prefWidth

      public double prefWidth(double height)
      Setzt außer Kraft:
      prefWidth in Klasse Node
    • isDirty

      public boolean isDirty()
    • requestRedraw

      public void requestRedraw(String reason)
    • draw

      public void draw()
    • getAllActivityBounds

      public List<ActivityBounds> getAllActivityBounds()
    • getAllActivityBounds

      public List<ActivityBounds> getAllActivityBounds(double x, double y)
    • getActivityBounds

      public ActivityBounds getActivityBounds(double x, double y)
    • getActivityBounds

      public ActivityBounds getActivityBounds(ActivityRef<?> activityRef)
    • getActivityBounds

      public List<ActivityBounds> getActivityBounds(double x, double y, double w, double h)
    • getLayoutAt

      public Layout getLayoutAt(double y)
    • getLayoutBoundsAt

      public Rectangle2D getLayoutBoundsAt(double y)
    • snapToPixelProperty

      public BooleanProperty snapToPixelProperty()
      Gibt zurück:
      die Eigenschaft snapToPixel
      Siehe auch:
    • setSnapToPixel

      public void setSnapToPixel(boolean snap)
      Legt den Wert der snapToPixel-Eigenschaft fest.
      Eigenschaftsbeschreibung:
      Parameter:
      snap - Wert für die Eigenschaft snapToPixel
      Siehe auch:
    • isSnapToPixel

      public boolean isSnapToPixel()
      Ruft den Wert der snapToPixel-Eigenschaft ab.
      Eigenschaftsbeschreibung:
      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