org.apache.batik.anim.timing

Class SyncbaseTimingSpecifier

public class SyncbaseTimingSpecifier extends OffsetTimingSpecifier

A class to handle syncbase SMIL timing specifiers.
Field Summary
protected HashMapinstances
Map of Intervals to
protected TimedElementsyncbaseElement
The syncbase element.
protected StringsyncbaseID
The ID of the syncbase element.
protected booleansyncBegin
Whether this specifier specifies a sync to the begin or the end of the syncbase element.
Constructor Summary
SyncbaseTimingSpecifier(TimedElement owner, boolean isBegin, float offset, String syncbaseID, boolean syncBegin)
Creates a new SyncbaseTimingSpecifier object.
Method Summary
voidinitialize()
Initializes this timing specifier by adding the initial instance time to the owner's instance time list or setting up any event listeners.
booleanisEventCondition()
Returns whether this timing specifier is event-like (i.e., if it is an eventbase, accesskey or a repeat timing specifier).
StringtoString()
Returns a string representation of this timing specifier.

Field Detail

instances

protected HashMap instances
Map of Intervals to an InstanceTime.

syncbaseElement

protected TimedElement syncbaseElement
The syncbase element.

syncbaseID

protected String syncbaseID
The ID of the syncbase element.

syncBegin

protected boolean syncBegin
Whether this specifier specifies a sync to the begin or the end of the syncbase element.

Constructor Detail

SyncbaseTimingSpecifier

public SyncbaseTimingSpecifier(TimedElement owner, boolean isBegin, float offset, String syncbaseID, boolean syncBegin)
Creates a new SyncbaseTimingSpecifier object.

Method Detail

initialize

public void initialize()
Initializes this timing specifier by adding the initial instance time to the owner's instance time list or setting up any event listeners.

isEventCondition

public boolean isEventCondition()
Returns whether this timing specifier is event-like (i.e., if it is an eventbase, accesskey or a repeat timing specifier).

toString

public String toString()
Returns a string representation of this timing specifier.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.