|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jeospace.simulation.ChronPeriod
Object for defining periods of virtual time used in simulation control.
Used for getting and setting the Chronometer's rate of
time passage.
Chronometer| Constructor Summary | |
ChronPeriod(ChronPeriod cp)
Construct a ChronPeriod object. |
|
ChronPeriod(int multiplier,
TimeUnit timeUnit)
Construct a ChronPeriod object. |
|
| Method Summary | |
int |
getMultiplier()
Return the multiplier component of the ChronPeriod. |
TimeUnit |
getTimeUnit()
Return the TimeUnit component of the ChronPeriod. |
void |
setMultiplier(int multiplier)
Set the multiplier component of the ChronPeriod. |
void |
setTimeUnit(TimeUnit timeUnit)
Set the TimeUnit component of the ChronPeriod. |
java.lang.String |
toString()
Return the String representation of the ChronPeriod. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ChronPeriod(int multiplier,
TimeUnit timeUnit)
ChronPeriod object.
multiplier - the multiplier of the TimeUnittimeUnit - the base chronometer time period.public ChronPeriod(ChronPeriod cp)
ChronPeriod object.
cp - a ChronPeriod object to duplicate.| Method Detail |
public int getMultiplier()
ChronPeriod.
public void setMultiplier(int multiplier)
ChronPeriod.
multiplier - the multiplierpublic TimeUnit getTimeUnit()
TimeUnit component of the ChronPeriod.
TimeUnitpublic void setTimeUnit(TimeUnit timeUnit)
TimeUnit component of the ChronPeriod.
timeUnit - the TimeUnitpublic java.lang.String toString()
String representation of the ChronPeriod.
String representation of the ChronPeriod.
|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||