org.oddjob.images
Class IconEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.oddjob.images.IconEvent
All Implemented Interfaces:
Serializable

public class IconEvent
extends EventObject
implements Serializable

An event which encapsulates information about a variables value.

See Also:
Serialized Form
Author:
Rob Gordon

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
IconEvent(Iconic source, String iconId)
          Event constructor.
 
Method Summary
 String getIconId()
          Get the variable name.
 Iconic getSource()
           
 
Methods inherited from class java.util.EventObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IconEvent

public IconEvent(Iconic source,
                 String iconId)
Event constructor.

Parameters:
source - The source of the event.
id - The icon id.
Method Detail

getIconId

public String getIconId()
Get the variable name.

Returns:
The variable name.

getSource

public Iconic getSource()
Overrides:
getSource in class EventObject