Class SyncbaseTimingSpecifier
java.lang.Object
org.apache.batik.anim.timing.TimingSpecifier
org.apache.batik.anim.timing.OffsetTimingSpecifier
org.apache.batik.anim.timing.SyncbaseTimingSpecifier
A class to handle syncbase SMIL timing specifiers.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected HashMapMap ofIntervals to anInstanceTime.protected TimedElementThe syncbase element.protected StringThe ID of the syncbase element.protected booleanWhether this specifier specifies a sync to the begin or the end of the syncbase element.Fields inherited from class OffsetTimingSpecifier
offsetFields inherited from class TimingSpecifier
isBegin, owner -
Constructor Summary
ConstructorsConstructorDescriptionSyncbaseTimingSpecifier(TimedElement owner, boolean isBegin, float offset, String syncbaseID, boolean syncBegin) Creates a new SyncbaseTimingSpecifier object. -
Method Summary
Modifier and TypeMethodDescriptionvoidInitializes this timing specifier by adding the initial instance time to the owner's instance time list or setting up any event listeners.booleanReturns whether this timing specifier is event-like (i.e., if it is an eventbase, accesskey or a repeat timing specifier).toString()Returns a string representation of this timing specifier.Methods inherited from class TimingSpecifier
deinitialize, getOwner, isBegin
-
Field Details
-
syncbaseID
The ID of the syncbase element. -
syncbaseElement
The syncbase element. -
syncBegin
protected boolean syncBeginWhether this specifier specifies a sync to the begin or the end of the syncbase element. -
instances
Map ofIntervals to anInstanceTime.
-
-
Constructor Details
-
SyncbaseTimingSpecifier
public SyncbaseTimingSpecifier(TimedElement owner, boolean isBegin, float offset, String syncbaseID, boolean syncBegin) Creates a new SyncbaseTimingSpecifier object.
-
-
Method Details
-
toString
Returns a string representation of this timing specifier.- Overrides:
toStringin classOffsetTimingSpecifier
-
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.- Overrides:
initializein classOffsetTimingSpecifier
-
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).- Overrides:
isEventConditionin classOffsetTimingSpecifier
-