org.apache.batik.bridge

Class AnimationSupport

public abstract class AnimationSupport extends Object

Class that provides utilities for animation support.
Method Summary
static voidfireTimeEvent(EventTarget target, String eventType, Calendar time, int detail)
Fires a {@link TimeEvent} on the given {@link EventTarget}.
protected static ElementgetElementById(String id, Node n)
Returns the element with the given ID, using the given node as the context for the lookup.
static EventTargetgetEventTargetById(String id, Node n)
Returns the event target with the given ID, using the given node as the context for the lookup.
static TimedElementgetTimedElementById(String id, Node n)
Returns the timed element with the given ID, using the given node as the context for the lookup.

Method Detail

fireTimeEvent

public static void fireTimeEvent(EventTarget target, String eventType, Calendar time, int detail)
Fires a {@link TimeEvent} on the given {@link EventTarget}.

getElementById

protected static Element getElementById(String id, Node n)
Returns the element with the given ID, using the given node as the context for the lookup.

getEventTargetById

public static EventTarget getEventTargetById(String id, Node n)
Returns the event target with the given ID, using the given node as the context for the lookup.

getTimedElementById

public static TimedElement getTimedElementById(String id, Node n)
Returns the timed element with the given ID, using the given node as the context for the lookup.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.