EchoPoint API - 3.0.0b5
App Webcontainer

echopoint.event
Class TagEvent

java.lang.Object
  extended by java.util.EventObject
      extended by nextapp.echo.app.event.ActionEvent
          extended by echopoint.event.TagEvent
All Implemented Interfaces:
Serializable

public class TagEvent
extends ActionEvent

An action event that is raised when a user clicks on a Tag in a TagCloud component.

Version:
$Id: TagEvent.java 120 2009-02-20 15:43:33Z sptrakesh $
Author:
Rakesh 2009-02-19
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TagEvent(TagCloud source, String command, Tag tag)
           
 
Method Summary
 TagCloud getSource()
          Over-ridden to return the properly type-cast component source from which the event was triggered.
 Tag getTag()
          Return the tag that was clicked to generate the action event.
 
Methods inherited from class nextapp.echo.app.event.ActionEvent
getActionCommand
 
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

TagEvent

public TagEvent(TagCloud source,
                String command,
                Tag tag)
Parameters:
source - The object from which the event originated
command - The action command string describing the action
tag - The tag that was selected.
Method Detail

getTag

public Tag getTag()
Return the tag that was clicked to generate the action event.

Returns:
The tag that was selected.

getSource

public TagCloud getSource()
Over-ridden to return the properly type-cast component source from which the event was triggered.

Overrides:
getSource in class EventObject
Returns:
The parent tag cloud component.

EchoPoint API - 3.0.0b5
App Webcontainer