Package com.uppaal.model.system
Class GanttBar
- java.lang.Object
-
- com.uppaal.model.system.GanttBar
-
-
Constructor Summary
Constructors Constructor Description GanttBar()
ConstructorGanttBar(Limit from, Limit to, BigDecimal globaltime, int val)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
boolean
insideBar(int x, int y)
Is point (x,y) inside the bar?String
toString()
-
-
-
Constructor Detail
-
GanttBar
public GanttBar()
Constructor
-
GanttBar
public GanttBar(Limit from, Limit to, BigDecimal globaltime, int val)
Constructor- Parameters:
from
- - The start timeto
- - The stop timeglobaltime
- - The global timeval
- - The associated Value of the bar
-
-
Method Detail
-
insideBar
public boolean insideBar(int x, int y)
Is point (x,y) inside the bar?- Parameters:
x
- - The coordinate xy
- - The coordinate y- Returns:
- True - The point is inside the bar
-
clone
public Object clone() throws CloneNotSupportedException
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
-