com.aptana.ide.scripting.events
Class Event

java.lang.Object
  extended by org.mozilla.javascript.ScriptableObject
      extended by com.aptana.ide.scripting.events.Event
All Implemented Interfaces:
java.io.Serializable, org.mozilla.javascript.ConstProperties, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.Scriptable
Direct Known Subclasses:
ActionsAddEvent, ActionsCreateSetEvent, ActionsDeleteEvent, ActionsDeleteSetEvent, ActionsExecuteEvent, ActionsSaveEvent, ContentChangedEvent, ErrorsChangedEvent, LocationChangedEvent, LocationChangingEvent, MenuSelectedEvent, PartActivatedEvent, PartClosedEvent, PartDeactivatedEvent, PartOpenedEvent, PreferenceChangedEvent, ProfilesAddCurrentEvent, ProfilesAddDropEvent, ProfilesAddProfileEvent, ProfilesDeleteEvent, ProfilesDeleteProfileEvent, ProfilesLinkStateChangedEvent, ProfilesMakeCurrentEvent, ProfilesMakeStaticEvent, ProfilesMoveDownEvent, ProfilesMoveUpEvent, ProfilesOpenProfileEvent, RefreshEvent

public class Event
extends org.mozilla.javascript.ScriptableObject

Author:
Kevin Lindsey
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mozilla.javascript.ScriptableObject
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
 
Fields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND
 
Constructor Summary
Event(java.lang.String type, java.lang.Object target)
          Create a new instance of Event
 
Method Summary
 java.lang.String getClassName()
           
 java.lang.Object getTarget()
          Get the target where this event was fired
 java.lang.String getType()
          Get the type of this event
 
Methods inherited from class org.mozilla.javascript.ScriptableObject
associateValue, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, equivalentValues, get, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Event

public Event(java.lang.String type,
             java.lang.Object target)
Create a new instance of Event

Parameters:
type - The event type
target - The object that threw this event
Method Detail

getClassName

public java.lang.String getClassName()
Specified by:
getClassName in interface org.mozilla.javascript.Scriptable
Specified by:
getClassName in class org.mozilla.javascript.ScriptableObject
See Also:
ScriptableObject.getClassName()

getTarget

public java.lang.Object getTarget()
Get the target where this event was fired

Returns:
Returns the source of this event

getType

public java.lang.String getType()
Get the type of this event

Returns:
Returns the string name of the type of this event