org.enhydra.barracuda.examples.ex4
Class SampleViewHandler

java.lang.Object
  extended byorg.enhydra.barracuda.core.event.DefaultListenerFactory
      extended byorg.enhydra.barracuda.examples.ex4.SampleViewHandler
All Implemented Interfaces:
ListenerFactory

public class SampleViewHandler
extends DefaultListenerFactory

A sample view event handler


Field Summary
static String HANDLED_BY
           
 
Fields inherited from class org.enhydra.barracuda.core.event.DefaultListenerFactory
id
 
Constructor Summary
SampleViewHandler()
           
 
Method Summary
 BaseEventListener getInstance()
          Get an instance of the underlying BaseEventListener
 String getListenerID()
          Get the Listener ID associated with this class of listener.
 
Methods inherited from class org.enhydra.barracuda.core.event.DefaultListenerFactory
getID, notifyAlways
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HANDLED_BY

public static final String HANDLED_BY
See Also:
Constant Field Values
Constructor Detail

SampleViewHandler

public SampleViewHandler()
Method Detail

getInstance

public BaseEventListener getInstance()
Description copied from class: DefaultListenerFactory
Get an instance of the underlying BaseEventListener

Specified by:
getInstance in interface ListenerFactory
Specified by:
getInstance in class DefaultListenerFactory
Returns:
get an instance of the BaseEventListener

getListenerID

public String getListenerID()
Description copied from class: DefaultListenerFactory
Get the Listener ID associated with this class of listener. This will generally either be the class name of the listener that the factory creates

Specified by:
getListenerID in interface ListenerFactory
Specified by:
getListenerID in class DefaultListenerFactory
Returns:
the listener ID that describes this factory


Copyright © 2003 BarracudaMVC.org All Rights Reserved.