|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjasi.sim.basic.value.AbstractSimValueType
jasi.sim.basic.value.AbstractComparableObject<Event>
jasi.sim.basic.event.AbstractEventBean
jasi.sim.basic.event.AbstractRepeatingEvent
public abstract class AbstractRepeatingEvent
Basic implementation for all events, that can be repeated. This event will change its time, whenever repeated, but not its priority.
| Field Summary |
|---|
| Fields inherited from interface jasi.sim.basic.event.Event |
|---|
COMPARATOR, DEFAULT_PRIORITY |
| Constructor Summary | |
|---|---|
protected |
AbstractRepeatingEvent()
Constructor for RepeatingEvent. |
protected |
AbstractRepeatingEvent(Time time)
Constructor for RepeatingEvent. |
protected |
AbstractRepeatingEvent(Time time,
EventListener l)
Constructor for RepeatingEvent. |
protected |
AbstractRepeatingEvent(Time time,
int priority)
Constructor for RepeatingEvent. |
protected |
AbstractRepeatingEvent(Time time,
int priority,
EventListener l)
Constructor for RepeatingEvent. |
| Method Summary | |
|---|---|
void |
finish()
Finish the repeating of this event. |
Time |
getEndTime()
Returns the end time, when to stop repeating. |
Time |
getInterval()
Returns the interval, to repeat this event. |
Event |
popped(Calendar calendar)
This event was popped from a calendar. |
abstract void |
repeat()
This method is called, when this event is repeated. |
void |
setEndTime(Time endTime)
Sets the end time, when to stop repeating. |
void |
setInterval(Time interval)
Sets the interval, to repeat this event. |
| Methods inherited from class jasi.sim.basic.event.AbstractEventBean |
|---|
addEventListener, calendar, compareTo, equals, getEventListeners, getId, getPriority, getTime, hashCode, imported, inform, isInitialized, isPopped, isPushed, pushed, removeEventListener, setId, setPriority, setTime, toString |
| Methods inherited from class jasi.sim.basic.value.AbstractComparableObject |
|---|
isEQ, isGE, isGT, isLE, isLT, isNE |
| Methods inherited from class jasi.sim.basic.value.AbstractSimValueType |
|---|
getContent |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jasi.sim.basic.value.ExtendedComparable |
|---|
isEQ, isGE, isGT, isLE, isLT, isNE |
| Constructor Detail |
|---|
protected AbstractRepeatingEvent(Time time,
int priority)
time - priority - protected AbstractRepeatingEvent(Time time)
time - protected AbstractRepeatingEvent()
protected AbstractRepeatingEvent(Time time,
int priority,
EventListener l)
time - priority - l -
protected AbstractRepeatingEvent(Time time,
EventListener l)
time - l - | Method Detail |
|---|
public abstract void repeat()
public final void finish()
public final Event popped(Calendar calendar)
popped in interface Eventpopped in class AbstractEventBeancalendar - The calendar which popped this event.
public final Time getInterval()
public final void setInterval(Time interval)
interval - The time interval to set. If null, repeating will be stopped.public final Time getEndTime()
public final void setEndTime(Time endTime)
endTime - The end time to set. If null, repeating will be stopped.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||