org.openjump.swing.listener
Class InvokeMethodListSelectionListener

java.lang.Object
  extended by org.openjump.swing.listener.InvokeMethodListSelectionListener
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.ListSelectionListener

public class InvokeMethodListSelectionListener
extends java.lang.Object
implements javax.swing.event.ListSelectionListener

An ActionListener that invokes the method on the object when the action is performed.

Author:
Paul Austin

Constructor Summary
InvokeMethodListSelectionListener(java.lang.Object object, java.lang.String methodName)
           
InvokeMethodListSelectionListener(java.lang.Object object, java.lang.String methodName, boolean invokeLater)
           
InvokeMethodListSelectionListener(java.lang.Object object, java.lang.String methodName, java.lang.Object[] parameters)
           
InvokeMethodListSelectionListener(java.lang.Object object, java.lang.String methodName, java.lang.Object[] parameters, boolean invokeLater)
           
 
Method Summary
 void valueChanged(javax.swing.event.ListSelectionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvokeMethodListSelectionListener

public InvokeMethodListSelectionListener(java.lang.Object object,
                                         java.lang.String methodName)

InvokeMethodListSelectionListener

public InvokeMethodListSelectionListener(java.lang.Object object,
                                         java.lang.String methodName,
                                         boolean invokeLater)

InvokeMethodListSelectionListener

public InvokeMethodListSelectionListener(java.lang.Object object,
                                         java.lang.String methodName,
                                         java.lang.Object[] parameters)

InvokeMethodListSelectionListener

public InvokeMethodListSelectionListener(java.lang.Object object,
                                         java.lang.String methodName,
                                         java.lang.Object[] parameters,
                                         boolean invokeLater)
Method Detail

valueChanged

public void valueChanged(javax.swing.event.ListSelectionEvent e)
Specified by:
valueChanged in interface javax.swing.event.ListSelectionListener