|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.xoetrope.optional.svg.tinyline.SVGEvent
public class SVGEvent
The SVGEvent class is used to provide contextual information about an event to the handler processing the event.
SVGT 1.1 only allows interactivity with declarative animation. The list of event-symbols available for a given event-base element is the list of event attributes available for the given element as defined by the SVG DTD, with the one difference that the leading 'on' is removed from the event name (i.e., the animation event name is 'click', not 'onclick').
| Field Summary | |
|---|---|
java.lang.Object |
data
The event data |
static int |
EVENT_ANIMATE
Internal Event. |
static int |
EVENT_BEGIN
Occurs when an animation element begins. |
static int |
EVENT_CLICK
Occurs when the pointing device button is clicked over an element. |
static int |
EVENT_END
Occurs when an animation element ends. |
static int |
EVENT_ERROR
The error event occurs when an element does not load properly or when an error occurs during script execution. |
static int |
EVENT_FOCUSHIDE
Occurs when a list of linked elements is being hided. |
static int |
EVENT_FOCUSIN
Occurs when an element receives focus. |
static int |
EVENT_FOCUSNEXT
Occurs when an focus is being shifted to the next linked element. |
static int |
EVENT_FOCUSOUT
Occurs when an element loses focus. |
static int |
EVENT_FOCUSPRESSED
Occurs when an focus is being shifted to the previous linked element. |
static int |
EVENT_FOCUSPREV
Occurs when an focus is being shifted to the previous linked element. |
static int |
EVENT_FOCUSSHOW
Occurs when a list of linked elements is being showed. |
static int |
EVENT_LOAD
The event is triggered at the point at which the user agent has fully parsed the element and its descendants and is ready to act appropriately upon that element, such as being ready to render the element to the target device. |
static java.lang.String[] |
EVENT_NAMES
The Event Names |
static int |
EVENT_ORIGVIEW
Occurs when a document view is being returned to the original one. |
static int |
EVENT_PAUSERESUME
Occurs when animations are being paused or resumed. |
static int |
EVENT_QUALITY
Occurs when an antialising is being switched on or off. |
static int |
EVENT_REPEAT
Occurs when an animation element repeats. |
static int |
EVENT_SCROLL
Occurs when a document view is being shifted along the X or Y or both axis |
static int |
EVENT_UNKNOWN
The unknown event. |
static int |
EVENT_UNLOAD
The unload event occurs when the DOM implementation removes a document from a window or frame. |
static int |
EVENT_UPDATE
Internal Event. |
static int |
EVENT_ZOOM
Occurs when the zoom level of a document view is being changed. |
EventTarget |
eventTarget
The event target |
int |
id
The event type |
SVGEvent |
next
The next event |
| Constructor Summary | |
|---|---|
SVGEvent(int id,
java.lang.Object data)
Creates a new SVGEvent object. |
|
| Method Summary | |
|---|---|
EventTarget |
getCurrentTarget()
uDOM: Returns the current EventTarget to which the event was originally dispatched. |
java.lang.String |
getType()
uDOM: Returns the event type |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String[] EVENT_NAMES
public static final int EVENT_ANIMATE
public static final int EVENT_BEGIN
public static final int EVENT_CLICK
public static final int EVENT_END
public static final int EVENT_ERROR
public static final int EVENT_FOCUSHIDE
public static final int EVENT_FOCUSIN
public static final int EVENT_FOCUSNEXT
public static final int EVENT_FOCUSOUT
public static final int EVENT_FOCUSPRESSED
public static final int EVENT_FOCUSPREV
public static final int EVENT_FOCUSSHOW
public static final int EVENT_LOAD
public static final int EVENT_ORIGVIEW
public static final int EVENT_PAUSERESUME
public static final int EVENT_QUALITY
public static final int EVENT_REPEAT
public static final int EVENT_SCROLL
public static final int EVENT_UNLOAD
public static final int EVENT_UPDATE
public static final int EVENT_ZOOM
public static final int EVENT_UNKNOWN
public int id
public java.lang.Object data
public EventTarget eventTarget
public SVGEvent next
| Constructor Detail |
|---|
public SVGEvent(int id,
java.lang.Object data)
id - The event type.data - The event data.| Method Detail |
|---|
public java.lang.String getType()
getType in interface Eventpublic EventTarget getCurrentTarget()
getCurrentTarget in interface Event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||