org.apache.tapestry.event
Class EventTarget
java.lang.Object
org.apache.tapestry.event.EventTarget
public class EventTarget
- extends Object
Represents a browser generated event "target". Most browser events will
have an event.target property, which is what this represents.
- Author:
- jkuhnert
Constructor Summary |
EventTarget(Map properties)
Creates a new target with an immutable set
of properties. |
EventTarget
public EventTarget(Map properties)
- Creates a new target with an immutable set
of properties.
- Parameters:
properties
- The properties of the target.
get
public Object get(String key)
- Gets a target object property. (Could be things like "id"
for html dom nodes, etc..)
- Parameters:
key
- The key of the property.
- Returns:
- The property value, or null if it doesn't exist.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.