public final class ActivityBounds
extends javafx.geometry.Rectangle2D
ActivityRenderer
). They are needed for hitpoint detection, so that
activities can be located based on x and y coordinates (e.g. mouse event
coordinates).Constructor and Description |
---|
ActivityBounds(ActivityRef<?> activityRef,
double x,
double y,
double width,
double height) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Activity |
getActivity() |
ActivityRef<?> |
getActivityRef() |
Layer |
getLayer() |
Layout |
getLayout() |
int |
getLineIndex() |
Position |
getPosition() |
Row<?,?,?> |
getRow() |
int |
hashCode() |
void |
setLayout(Layout layout) |
void |
setPosition(Position position) |
String |
toString() |
public ActivityBounds(ActivityRef<?> activityRef, double x, double y, double width, double height)
public final Activity getActivity()
public final Layer getLayer()
public final int getLineIndex()
public final Row<?,?,?> getRow()
public final ActivityRef<?> getActivityRef()
public final void setPosition(Position position)
public final Position getPosition()
public final void setLayout(Layout layout)
public final Layout getLayout()
public final int hashCode()
hashCode
in class javafx.geometry.Rectangle2D
public final boolean equals(Object obj)
equals
in class javafx.geometry.Rectangle2D
public String toString()
toString
in class javafx.geometry.Rectangle2D
Copyright © 2020 Dirk Lemmermann Software & Consulting. All rights reserved.