Package | Description |
---|---|
com.bbn.openmap.gui.time | |
com.bbn.openmap.time |
Modifier and Type | Method and Description |
---|---|
protected void |
TimerControlButtonPanel.checkClock(TimerStatus newStatus) |
protected void |
TimerControlButtonPanel.update(TimerStatus newStatus)
PropertyChangeListener Interface Method used to find out when the timer
has been stopped and started.
|
Modifier and Type | Field and Description |
---|---|
static TimerStatus |
TimerStatus.ACTIVE
Indicates that the clock is active and may be sending events.
|
static TimerStatus |
TimerStatus.BACKWARD
Indicates the clock is running, and time has been decremented by the
clock.
|
static TimerStatus |
TimerStatus.FORWARD
Indicates the clock is running, and time has been incremented by the
clock.
|
static TimerStatus |
TimerStatus.INACTIVE
Indicates that the clock is inactive and will not be sending events.
|
static TimerStatus |
TimerStatus.STEP_BACKWARD
Indicates that the clock has been moved incrementally backward, stepping
by a set value controlled by some other mechanism.
|
static TimerStatus |
TimerStatus.STEP_FORWARD
Indicates that the clock has been moved incrementally forward, stepping
by a set value controlled by some other mechanism.
|
static TimerStatus |
TimerStatus.STOPPED
Indicates that the clock is no longer running.
|
protected TimerStatus |
TimeEvent.timerStatus
Description of how/why time changed.
|
static TimerStatus |
TimerStatus.UPDATE
Used when the timer is moved to a specific value, not when the clock is
running incrementally.
|
Modifier and Type | Method and Description |
---|---|
TimerStatus |
TimeEvent.getTimerStatus()
Returns the String identifying the timer action (TIMER_FORWARD,
TIMER_STOPPED, TIMER_TIME_STATUS, ...).
|
Modifier and Type | Method and Description |
---|---|
protected void |
Clock.changeTimeBy(long amount,
boolean wrapAroundTimeLimits,
TimerStatus timeStatus)
Call setTime with the amount given added to the current time.
|
static TimeEvent |
TimeEvent.create(java.lang.Object src,
long time,
long systemTime,
long simTime,
TimerStatus timerStatus)
Create a time event, with the option of receiving the NO_TIME event if
the time is Long.MIN_VALUE and the system time and simulation time are
Long.MAX_VALUE.
|
protected void |
Clock.fireClockUpdate(TimerStatus timerStatus)
The method that delivers the current time status to the
TimeEventListeners.
|
protected void |
Clock.setTime(long t,
TimerStatus timeStatus)
The call to set the clock for all reasons.
|
Constructor and Description |
---|
TimeEvent(java.lang.Object src,
long systemTime,
long offsetTime,
long simTime,
TimerStatus timerStatus)
Create a time event.
|
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details