public abstract class AbstractFlowEntry extends java.lang.Object implements IFlowEntry, java.lang.Comparable<AbstractFlowEntry>
FlowEntry
implementations.Constructor and Description |
---|
AbstractFlowEntry() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(AbstractFlowEntry o) |
abstract java.lang.Object |
getObject() |
Rectangle |
getObjectClickArea() |
double |
getPosition() |
Rectangle |
getValueClickArea() |
boolean |
isPointWithinObjectArea(Point point) |
boolean |
isPointWithinValueArea(Point point) |
abstract void |
setObject(java.lang.Object object) |
void |
setObjectClickArea(Rectangle rect) |
void |
setPosition(double position) |
void |
setValueClickArea(Rectangle rect) |
public abstract java.lang.Object getObject()
getObject
in interface IFlowEntry
FlowEntry
public abstract void setObject(java.lang.Object object)
setObject
in interface IFlowEntry
object
- The object to be used for this FlowEntry
public double getPosition()
getPosition
in interface IFlowEntry
FlowEntry
public void setPosition(double position)
setPosition
in interface IFlowEntry
position
- The position to be used for this FlowEntry
public Rectangle getValueClickArea()
getValueClickArea
in interface IFlowEntry
FlowEntry
.public void setValueClickArea(Rectangle rect)
setValueClickArea
in interface IFlowEntry
rect
- The area sensible for beeing clicked for editing the value
of this FlowEntry
.public Rectangle getObjectClickArea()
getObjectClickArea
in interface IFlowEntry
FlowEntry
.public void setObjectClickArea(Rectangle rect)
setObjectClickArea
in interface IFlowEntry
rect
- The area sensible for beeing clicked for editing the object
of this FlowEntry
.public boolean isPointWithinValueArea(Point point)
isPointWithinValueArea
in interface IFlowEntry
point
- The position to be checkedtrue
of the given point lies within the value area,
false
otherwise.public boolean isPointWithinObjectArea(Point point)
isPointWithinObjectArea
in interface IFlowEntry
point
- The position to be checkedtrue
of the given point lies within the object area,
false
otherwise.public int compareTo(AbstractFlowEntry o)
compareTo
in interface java.lang.Comparable<AbstractFlowEntry>