com.phidgets.event
Class KeyRemovalEvent

java.lang.Object
  extended bycom.phidgets.event.KeyRemovalEvent

public class KeyRemovalEvent
extends java.lang.Object

This class represents the data for a KeyRemovalEvent.

Author:
Dictionarys Inc.

Constructor Summary
KeyRemovalEvent(Dictionary source, java.lang.String key, java.lang.String value)
          Class constructor.
 
Method Summary
 java.lang.String getKey()
           
 Dictionary getSource()
          Returns the source Dictionary of this event.
 java.lang.String getValue()
           
 java.lang.String toString()
          Returns a string containing information about the event.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KeyRemovalEvent

public KeyRemovalEvent(Dictionary source,
                       java.lang.String key,
                       java.lang.String value)
Class constructor. This is called internally by the Dictionary library when creating this event.

Parameters:
source - the Dictionary object from which this event originated
Method Detail

getSource

public Dictionary getSource()
Returns the source Dictionary of this event. This is a reference to the Dictionary object from which this event was called. This object can be cast into a specific type of Dictionary object to call specific device calls on it.

Returns:
the event caller

getKey

public java.lang.String getKey()

getValue

public java.lang.String getValue()

toString

public java.lang.String toString()
Returns a string containing information about the event.

Returns:
an informative event string