| java.lang.Object com.sun.perseus.model.ModelEvent
ModelEvent | public class ModelEvent implements Event(Code) | | Events happen on a specific target and have a specific type.
See Also: EventListener See Also: EventSupport version: $Id: ModelEvent.java,v 1.5 2006/06/29 10:47:33 ln156897 Exp $ |
CHAR_UNDEFINED | final public static char CHAR_UNDEFINED(Code) | | Used when for undefined key char events
|
anchor | protected Anchor anchor(Code) | | The event's anchor is used to ease the implementation
of hyperlinking.
See Also: EventSupport |
eventTime | protected Time eventTime(Code) | | Time stamp. The time is in document simple time, i.e., in the
root container's time.
|
keyChar | protected char keyChar(Code) | | Used to provide the key character in a key event
|
repeatCount | protected int repeatCount(Code) | | Used to provide the repeat iteration in a repeat event
|
stopPropagation | protected boolean stopPropagation(Code) | | Controls whether or not the event's dispatch
should be stopped
|
ModelEvent | public ModelEvent(String type, ModelNode target)(Code) | | Parameters: type - the event's type. Should not be null. Parameters: target - the event's target. Should not be null. |
ModelEvent | public ModelEvent(String type, ModelNode target, char keyChar)(Code) | | Parameters: type - the event's type. Should not be null Parameters: target - the event's target. Should not be null. Parameters: keyChar - the event's character key |
getAnchor | public Anchor getAnchor()(Code) | | the current value of the anchor property |
getCurrentTarget | public EventTarget getCurrentTarget()(Code) | | this node's current target |
getKeyChar | public char getKeyChar()(Code) | | the key that was stroked. |
getStopPropagation | public boolean getStopPropagation()(Code) | | true if propagation should stop. false otherwise |
setAnchor | public void setAnchor(Anchor anchor)(Code) | | Parameters: anchor - the Event's associated Anchor throws: IllegalStateException - if the anchor property is not null |
stopPropagation | public void stopPropagation()(Code) | | Stops propagation of the Event during dispatch. See the
DOM Level 2 Event model specification for details.
|
|
|