|
TinyLine 2.5 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.tinyline.svg.SMILTime
public final class SMILTime
The SMILTime class is a datatype that represents times within
the timegraph. A SMILTime has a type, key values to describe the
time, and a boolean to indicate whether the values are currently
unresolved.
The 3GPP SMIL timing modules includes BasicInlineTiming,
MinMaxTiming, BasicTimeContainers, RepeatTiming and EventTiming.
For 'begin' and 'end' attributes either single offset-value or single event-value shall be allowed. Offsets shall not be supported with event-values.
SMILTime Types:
When a begin or end value refers to an event, or to the begin or active end of another element, it may not be possible to calculate the time value. For example, if an element is defined to begin on some event, the begin time will not be known until the event happens. Begin and end values like this are described as unresolved. When such a time becomes known (i.e. when it can be calculated as a presentation time), the time is said to be resolved.
| Field Summary | |
|---|---|
TinyString |
idValue
The even-based Id-value |
static int |
INDEFINITE
The time is indefinite if value equals INDEFINITE |
int |
offset
The offset value of clock value. |
static int |
SMIL_TIME_EVENT_BASED
|
static int |
SMIL_TIME_INDEFINITE
The type of the begin value (end value) |
static int |
SMIL_TIME_OFFSET
|
int |
type
The type of this SMILTime object. |
static int |
UNRESOLVED
The time is unresolved if value equals UNRESOLVED |
int |
value
Time of event, syncbase time etc. |
| Constructor Summary | |
|---|---|
SMILTime()
Contructs a new SMILTime object. |
|
SMILTime(int type)
Contructs a new SMILTime object. |
|
SMILTime(int type,
int offset,
TinyString idValue)
Contructs a new SMILTime object. |
|
SMILTime(SMILTime src)
Contructs a new SMILTime object as copy of the given 'src' SMILTime object. |
|
| Method Summary | |
|---|---|
void |
copyTo(SMILTime dst)
Copies this SMILTime object into the given 'dst' SMILTime object. |
boolean |
equalTo(SMILTime time)
Is time equal to this. |
int |
getResolvedOffset()
The clock value in seconds relative to the parent time container begin. |
boolean |
greaterThan(SMILTime time)
Returns true if the given 'time' is greater than |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public TinyString idValue
public static final int INDEFINITE
public int offset
public static final int SMIL_TIME_EVENT_BASED
public static final int SMIL_TIME_INDEFINITE
public static final int SMIL_TIME_OFFSET
public int type
public static final int UNRESOLVED
public int value
| Constructor Detail |
|---|
public SMILTime()
public SMILTime(int type)
type - The time value type
public SMILTime(int type,
int offset,
TinyString idValue)
type - The time value typeidValue - The even-based Id-valueoffset - The offset value of clock valuepublic SMILTime(SMILTime src)
| Method Detail |
|---|
public void copyTo(SMILTime dst)
public final boolean equalTo(SMILTime time)
time - Time value
public int getResolvedOffset()
public final boolean greaterThan(SMILTime time)
time - the given time value
|
TinyLine 2.5 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||