: Download: FAQ: Licensing: Support: Contact ME
LwVCL Home
Introduction
Overview
Screen Shots
On-line Demos
Requirements
Further Plans
Docs
Tutorial
How-to (PDF)
API
FAQ
Download
Latest version

Home > J2SE > API

Overview  Package   Class  Tree  Deprecated  Index  Help 

org.zaval.lw.event
Class LwActionSupport

java.lang.Object
  |
  +--org.zaval.lw.event.LwActionSupport

public class LwActionSupport
extends java.lang.Object

This is utility class that can be used by a class that generates action events to support list of LwActionListener classes.


Constructor Summary
LwActionSupport()
           
 
Method Summary
 void addListener(LwActionListener l)
          Adds the specified action listener to the listeners list.
 void perform(java.lang.Object src, java.lang.Object data)
          Fires the specified action event to every member of the listeners list.
 void removeListener(LwActionListener l)
          Removes the specified listener from the listeners list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LwActionSupport

public LwActionSupport()
Method Detail

addListener

public void addListener(LwActionListener l)
Adds the specified action listener to the listeners list.
Parameters:
l - the specified listener.

removeListener

public void removeListener(LwActionListener l)
Removes the specified listener from the listeners list.
Parameters:
l - the specified listener.

perform

public void perform(java.lang.Object src,
                    java.lang.Object data)
Fires the specified action event to every member of the listeners list.
Parameters:
src - the specified event source.
data - the specified event related data.


: up