|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfi.hut.tml.xsmiles.mlfc.timesheet.TimedElementImpl.Schedule
Inner class that holds all the information for this element's start or stop scheduling
| Constructor Summary | |
protected |
TimedElementImpl.Schedule()
|
| Method Summary | |
void |
addEvent(org.w3c.dom.events.EventTarget target,
java.lang.String event,
long ticks)
Sets a new dom event the TimedElement should listen to |
long |
getEventTime(org.w3c.dom.events.EventTarget target,
java.lang.String event)
Returns the offset of a certain event |
long |
getScheduledTime()
Get the time element's scheduled time |
boolean |
isIndefinite()
Is the time attribute set indefinite |
boolean |
isScheduled()
Is element scheduled to start on some fixed time, ie. |
void |
setIndefinite(boolean value)
Sets the time attribute as definite or indefinite |
void |
setScheduledTime(long ticks)
Set the fixed time for this schedule |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected TimedElementImpl.Schedule()
| Method Detail |
public void addEvent(org.w3c.dom.events.EventTarget target,
java.lang.String event,
long ticks)
target - the target element to listen toevent - the event that should be listenedticks - the offset of how long after the event is captured, the TimedElement should react
public long getEventTime(org.w3c.dom.events.EventTarget target,
java.lang.String event)
target - the target element of the eventevent - the event
public void setIndefinite(boolean value)
value - true to set indefinite, falsepublic boolean isIndefinite()
true if attribute is indefinitepublic boolean isScheduled()
true if the element is scheduledpublic void setScheduledTime(long ticks)
ticks - the time in ticks
java.lang.RuntimeException - if the element is already schedule, thus preventing a double schedulepublic long getScheduledTime()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||