Modifier and Type | Field and Description |
---|---|
Limit |
fromTime |
boolean |
overlaps |
Limit |
toTime |
int |
value |
int |
xEnd |
int |
xStart |
int |
yEnd |
int |
yStart |
Constructor and Description |
---|
GanttBar()
Constructor
|
GanttBar(Limit from,
Limit to,
BigDecimal globaltime,
int val)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
boolean |
insideBar(int x,
int y)
Is point (x,y) inside the bar?
|
String |
toString() |
public Limit fromTime
public Limit toTime
public int value
public int xStart
public int xEnd
public int yStart
public int yEnd
public boolean overlaps
public GanttBar()
public GanttBar(Limit from, Limit to, BigDecimal globaltime, int val)
from
- - The start timeto
- - The stop timeglobaltime
- - The global timeval
- - The associated Value of the barpublic boolean insideBar(int x, int y)
x
- - The coordinate xy
- - The coordinate ypublic Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
Copyright © 2014 Uppsala University and Aalborg University. All Rights Reserved.