com.tirsen.angkor.event
Class ActionSourceHelper

java.lang.Object
  |
  +--com.tirsen.angkor.event.ActionSourceHelper
All Implemented Interfaces:
ActionSource, java.io.Serializable

public class ActionSourceHelper
extends java.lang.Object
implements ActionSource, java.io.Serializable

Utility class for sending action events.

Version:
$Revision: 1.3 $
Author:
$Author: tirsen $
See Also:
Serialized Form

Constructor Summary
ActionSourceHelper(java.lang.Object source)
           
 
Method Summary
 void addActionListener(ActionListener listener)
           
 Action getAction()
           
 boolean hasListeners()
           
 void removeActionListener(ActionListener listener)
           
 void setAction(Action action)
           
 void signalActionEvent()
           
 void signalActionEvent(RenderContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionSourceHelper

public ActionSourceHelper(java.lang.Object source)
Method Detail

getAction

public Action getAction()
Specified by:
getAction in interface ActionSource

setAction

public void setAction(Action action)
Specified by:
setAction in interface ActionSource

addActionListener

public void addActionListener(ActionListener listener)
Specified by:
addActionListener in interface ActionSource

removeActionListener

public void removeActionListener(ActionListener listener)
Specified by:
removeActionListener in interface ActionSource

signalActionEvent

public void signalActionEvent(RenderContext context)

signalActionEvent

public void signalActionEvent()
Specified by:
signalActionEvent in interface ActionSource

hasListeners

public boolean hasListeners()


Copyright © 2002-2002 . All Rights Reserved.