com.sap.ui.core.client.event
Class Event

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.sap.ui.core.client.event.Event

public class Event
extends com.google.gwt.core.client.JavaScriptObject

The class Event is the wrapper for the Phoenix event JavaScriptObject.

Version:
1.0 - 07.02.2009 09:03:08, Revision Version: ($Revision: #3 $), Revision Date: ($Date: 2011/02/08 $)
Author:
peter.muessig@sap.com, Revision Author: ($Author: d039071 $)

Constructor Summary
protected Event()
          constructs the class Event
hidden due to JavaScriptObject restrictions
 
Method Summary
 String asString()
          returns the parameter value of the given key
 String getId()
          returns the id/type of the event
 com.google.gwt.json.client.JSONValue getParameter(String key)
          returns the parameter value of the given key
 com.google.gwt.json.client.JSONObject getParameters()
          returns the parameters
 com.google.gwt.core.client.JavaScriptObject getSource()
          returns the source of the event
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Event

protected Event()
constructs the class Event
hidden due to JavaScriptObject restrictions

Method Detail

getId

public final String getId()
returns the id/type of the event

Returns:
id/type of the event

getSource

public final com.google.gwt.core.client.JavaScriptObject getSource()
returns the source of the event

Returns:
source of the event

getParameters

public final com.google.gwt.json.client.JSONObject getParameters()
returns the parameters

Returns:
parameters JS map

getParameter

public final com.google.gwt.json.client.JSONValue getParameter(String key)
returns the parameter value of the given key

Parameters:
key - key of the parameter
Returns:
parameter value

asString

public final String asString()
returns the parameter value of the given key

Parameters:
key - key of the parameter
Returns:
parameter value


Copyright © 2011 SAP. All Rights Reserved.