echopoint.event
Class TagEvent
java.lang.Object
java.util.EventObject
nextapp.echo.app.event.ActionEvent
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
|
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. |
TagEvent
public TagEvent(TagCloud source,
String command,
Tag tag)
- Parameters:
source - The object from which the event originatedcommand - The action command string describing the actiontag - The tag that was selected.
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.