com.iternum.swlink.activator
Class SelectionChangedActivator

java.lang.Object
  extended bycom.iternum.swlink.activator.AbstractActivator
      extended bycom.iternum.swlink.activator.SelectionChangedActivator
All Implemented Interfaces:
Activator, java.util.EventListener, javax.swing.event.ListSelectionListener

public class SelectionChangedActivator
extends AbstractActivator
implements javax.swing.event.ListSelectionListener

Author:
bankkar

Constructor Summary
SelectionChangedActivator()
          Creates an empty Activator.
SelectionChangedActivator(java.lang.Object pSource)
          Creates a Link with a source and a target.
 
Method Summary
protected  void deregisterFromSource()
          Removes this Activator as an FocusListener from its source object.
protected  void registerWithSource()
          Adds this Activator as a FocusListener to its source object.
 void setActivatorParam(java.util.Map pParam)
          This method is not supported for this Activator.
 void valueChanged(javax.swing.event.ListSelectionEvent pEvt)
          Activates the Activatable.
 
Methods inherited from class com.iternum.swlink.activator.AbstractActivator
close, getActivatable, getSource, setActivatable, setSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectionChangedActivator

public SelectionChangedActivator()
Creates an empty Activator.


SelectionChangedActivator

public SelectionChangedActivator(java.lang.Object pSource)
Creates a Link with a source and a target.

Parameters:
pSource - the source object
Method Detail

registerWithSource

protected void registerWithSource()
Adds this Activator as a FocusListener to its source object.

Specified by:
registerWithSource in class AbstractActivator

deregisterFromSource

protected void deregisterFromSource()
Removes this Activator as an FocusListener from its source object.

Specified by:
deregisterFromSource in class AbstractActivator

valueChanged

public void valueChanged(javax.swing.event.ListSelectionEvent pEvt)
Activates the Activatable.

Specified by:
valueChanged in interface javax.swing.event.ListSelectionListener
Parameters:
pEvt - - The ListSelectionEvent

setActivatorParam

public void setActivatorParam(java.util.Map pParam)
This method is not supported for this Activator.

Specified by:
setActivatorParam in interface Activator
Parameters:
pParam - Not supported