org.apache.batik.anim.timing

Class AccesskeyTimingSpecifier

public class AccesskeyTimingSpecifier extends EventLikeTimingSpecifier implements EventListener

A class to handle SMIL access key timing specifiers.
Field Summary
protected characcesskey
The accesskey.
protected booleanisSVG12AccessKey
Whether this access key specifier uses SVG 1.2 syntax.
protected StringkeyName
The DOM 3 key name for SVG 1.2 access key specifiers.
Constructor Summary
AccesskeyTimingSpecifier(TimedElement owner, boolean isBegin, float offset, char accesskey)
Creates a new AccesskeyTimingSpecifier object using SVG 1.1 or SMIL syntax.
AccesskeyTimingSpecifier(TimedElement owner, boolean isBegin, float offset, String keyName)
Creates a new AccesskeyTimingSpecifier object using SVG 1.2 syntax.
Method Summary
voiddeinitialize()
Deinitializes this timing specifier by removing any event listeners.
voidhandleEvent(Event e)
Handles key events fired by the eventbase element.
voidinitialize()
Initializes this timing specifier by adding the initial instance time to the owner's instance time list or setting up any event listeners.
voidresolve(Event e)
Invoked to resolve an event-like timing specifier into an instance time.
StringtoString()
Returns a string representation of this timing specifier.

Field Detail

accesskey

protected char accesskey
The accesskey.

isSVG12AccessKey

protected boolean isSVG12AccessKey
Whether this access key specifier uses SVG 1.2 syntax.

keyName

protected String keyName
The DOM 3 key name for SVG 1.2 access key specifiers.

Constructor Detail

AccesskeyTimingSpecifier

public AccesskeyTimingSpecifier(TimedElement owner, boolean isBegin, float offset, char accesskey)
Creates a new AccesskeyTimingSpecifier object using SVG 1.1 or SMIL syntax.

AccesskeyTimingSpecifier

public AccesskeyTimingSpecifier(TimedElement owner, boolean isBegin, float offset, String keyName)
Creates a new AccesskeyTimingSpecifier object using SVG 1.2 syntax.

Method Detail

deinitialize

public void deinitialize()
Deinitializes this timing specifier by removing any event listeners.

handleEvent

public void handleEvent(Event e)
Handles key events fired by the eventbase element.

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.

resolve

public void resolve(Event e)
Invoked to resolve an event-like timing specifier into an instance time.

toString

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