Class AccesskeyTimingSpecifier
java.lang.Object
org.apache.batik.anim.timing.TimingSpecifier
org.apache.batik.anim.timing.OffsetTimingSpecifier
org.apache.batik.anim.timing.EventLikeTimingSpecifier
org.apache.batik.anim.timing.AccesskeyTimingSpecifier
- All Implemented Interfaces:
EventListener
A class to handle SMIL access key timing specifiers.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected charThe accesskey.protected booleanWhether this access key specifier uses SVG 1.2 syntax.protected StringThe DOM 3 key name for SVG 1.2 access key specifiers.Fields inherited from class OffsetTimingSpecifier
offsetFields inherited from class TimingSpecifier
isBegin, owner -
Constructor Summary
ConstructorsConstructorDescriptionAccesskeyTimingSpecifier(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
Modifier and TypeMethodDescriptionvoidDeinitializes this timing specifier by removing any event listeners.voidhandleEvent(Event e) Handles key events fired by the eventbase element.voidInitializes this timing specifier by adding the initial instance time to the owner's instance time list or setting up any event listeners.voidInvoked to resolve an event-like timing specifier into an instance time.toString()Returns a string representation of this timing specifier.Methods inherited from class EventLikeTimingSpecifier
isEventConditionMethods inherited from class TimingSpecifier
getOwner, isBegin
-
Field Details
-
accesskey
protected char accesskeyThe accesskey. -
isSVG12AccessKey
protected boolean isSVG12AccessKeyWhether this access key specifier uses SVG 1.2 syntax. -
keyName
The DOM 3 key name for SVG 1.2 access key specifiers.
-
-
Constructor Details
-
AccesskeyTimingSpecifier
Creates a new AccesskeyTimingSpecifier object using SVG 1.1 or SMIL syntax. -
AccesskeyTimingSpecifier
Creates a new AccesskeyTimingSpecifier object using SVG 1.2 syntax.
-
-
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
-
deinitialize
public void deinitialize()Deinitializes this timing specifier by removing any event listeners.- Overrides:
deinitializein classTimingSpecifier
-
handleEvent
Handles key events fired by the eventbase element.- Specified by:
handleEventin interfaceEventListener
-
resolve
Invoked to resolve an event-like timing specifier into an instance time.- Specified by:
resolvein classEventLikeTimingSpecifier
-