org.barracudamvc.examples.ex4
Class SampleControlHandler

java.lang.Object
  extended byorg.barracudamvc.core.event.DefaultListenerFactory
      extended byorg.barracudamvc.examples.ex4.SampleControlHandler
All Implemented Interfaces:
ListenerFactory

public class SampleControlHandler
extends DefaultListenerFactory

A sample control event handler


Field Summary
 String name1
           
static String name2
           
 boolean sboolean
           
 byte sbyte
           
 char schar
           
 double sdouble
           
 float sfloat
           
 int sint
           
 long slong
           
 short sshort
           
 
Fields inherited from class org.barracudamvc.core.event.DefaultListenerFactory
id
 
Constructor Summary
SampleControlHandler()
           
 
Method Summary
 BaseEventListener getInstance()
          Get an instance of the underlying BaseEventListener
 String getListenerID()
          Get the Listener ID associated with this class of listener.
 void setName(String iname)
           
 void setSBoolean(boolean val)
           
 void setSByte(byte b)
           
 void setSChar(char c)
           
 void setSDouble(double d)
           
 void setSFloat(float f)
           
 void setSInt(int i)
           
 void setSLong(long l)
           
 void setSShort(short s)
           
 
Methods inherited from class org.barracudamvc.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

name1

public String name1

name2

public static String name2

sboolean

public boolean sboolean

sbyte

public byte sbyte

schar

public char schar

sdouble

public double sdouble

sfloat

public float sfloat

sint

public int sint

slong

public long slong

sshort

public short sshort
Constructor Detail

SampleControlHandler

public SampleControlHandler()
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

setName

public void setName(String iname)

setSBoolean

public void setSBoolean(boolean val)

setSByte

public void setSByte(byte b)

setSChar

public void setSChar(char c)

setSDouble

public void setSDouble(double d)

setSFloat

public void setSFloat(float f)

setSInt

public void setSInt(int i)

setSLong

public void setSLong(long l)

setSShort

public void setSShort(short s)


Copyright © 2004 BarracudaMVC.org All Rights Reserved.