org.apache.batik.dom.events

Class DOMUIEvent

public class DOMUIEvent extends AbstractEvent implements UIEvent

The UIEvent class provides specific contextual information associated with User Interface events.
Method Summary
intgetDetail()
DOM: Specifies some detail information about the Event, depending on the type of event.
AbstractViewgetView()
DOM: The view attribute identifies the AbstractView from which the event was generated.
voidinitUIEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, int detailArg)
DOM: The initUIEvent method is used to initialize the value of a UIEvent created through the DocumentEvent interface.
voidinitUIEventNS(String namespaceURIArg, String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, int detailArg)
DOM: Initializes this event object.
protected String[]split(String s)
Splits a whitespace separated string into tokens.

Method Detail

getDetail

public int getDetail()
DOM: Specifies some detail information about the Event, depending on the type of event.

getView

public AbstractView getView()
DOM: The view attribute identifies the AbstractView from which the event was generated.

initUIEvent

public void initUIEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, int detailArg)
DOM: The initUIEvent method is used to initialize the value of a UIEvent created through the DocumentEvent interface. This method may only be called before the UIEvent has been dispatched via the dispatchEvent method, though it may be called multiple times during that phase if necessary. If called multiple times, the final invocation takes precedence.

Parameters: typeArg Specifies the event type. canBubbleArg Specifies whether or not the event can bubble. cancelableArg Specifies whether or not the event's default action can be prevented. viewArg Specifies the Event's AbstractView. detailArg Specifies the Event's detail.

initUIEventNS

public void initUIEventNS(String namespaceURIArg, String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, int detailArg)
DOM: Initializes this event object.

split

protected String[] split(String s)
Splits a whitespace separated string into tokens.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.