|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.dlsc.flexgantt.model.dateline.GridLine
public class GridLine
A class that combines a grid coordinate with the corresponding time point at the location.
IDatelineModel.getGrid(int, int, boolean)
Constructor Summary | |
---|---|
GridLine(int location,
long time)
Constructs a new grid line. |
Method Summary | |
---|---|
int |
getLocation()
Returns the location of the grid line (the x-coordinate). |
long |
getTime()
Returns the time represented the grid line location |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GridLine(int location, long time)
location
- the x-coordinate of the grid linetime
- the time given at the grid line locationMethod Detail |
---|
public long getTime()
public int getLocation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |