org.apache.batik.anim.timing

Class TimingSpecifier

public abstract class TimingSpecifier extends Object

An abstract class for SMIL timing specifiers.
Field Summary
protected booleanisBegin
Whether this timing specifier is for a begin time or an end time.
protected TimedElementowner
The element that owns this timing specifier.
Constructor Summary
protected TimingSpecifier(TimedElement owner, boolean isBegin)
Creates a new TimingSpecifier object.
Method Summary
voiddeinitialize()
Deinitializes this timing specifier by removing any event listeners.
TimedElementgetOwner()
Returns the element that owns this timing specifier.
voidinitialize()
Initializes this timing specifier by adding the initial instance time to the owner's instance time list or setting up any event listeners.
booleanisBegin()
Returns true if this timing specifier is in the owner's begin list, false if it is in the owner's end list.
abstract booleanisEventCondition()
Returns whether this timing specifier is event-like (i.e., if it is an eventbase, accesskey or a repeat timing specifier).

Field Detail

isBegin

protected boolean isBegin
Whether this timing specifier is for a begin time or an end time.

owner

protected TimedElement owner
The element that owns this timing specifier.

Constructor Detail

TimingSpecifier

protected TimingSpecifier(TimedElement owner, boolean isBegin)
Creates a new TimingSpecifier object.

Method Detail

deinitialize

public void deinitialize()
Deinitializes this timing specifier by removing any event listeners. This should be overriden in descendant classes.

getOwner

public TimedElement getOwner()
Returns the element that owns this timing specifier.

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. This should be overriden in descendant classes.

isBegin

public boolean isBegin()
Returns true if this timing specifier is in the owner's begin list, false if it is in the owner's end list.

isEventCondition

public abstract boolean isEventCondition()
Returns whether this timing specifier is event-like (i.e., if it is an eventbase, accesskey or a repeat timing specifier).
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.