com.iternum.swlink.activator
Class FocusLostActivator

java.lang.Object
  extended bycom.iternum.swlink.activator.AbstractActivator
      extended bycom.iternum.swlink.activator.FocusLostActivator
All Implemented Interfaces:
Activator, java.util.EventListener, java.awt.event.FocusListener

public class FocusLostActivator
extends AbstractActivator
implements java.awt.event.FocusListener

Author:
bankkar

Constructor Summary
FocusLostActivator()
          Creates an empty Activator.
FocusLostActivator(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.
 void focusGained(java.awt.event.FocusEvent pEvt)
          Needs to be imported to handle focus gained.
 void focusLost(java.awt.event.FocusEvent pEvt)
          Activates this Activators Activatable.
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.
 
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

FocusLostActivator

public FocusLostActivator()
Creates an empty Activator.


FocusLostActivator

public FocusLostActivator(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

focusGained

public void focusGained(java.awt.event.FocusEvent pEvt)
Needs to be imported to handle focus gained. No implementation body provided

Specified by:
focusGained in interface java.awt.event.FocusListener
Parameters:
pEvt - - The FocusEvent

focusLost

public void focusLost(java.awt.event.FocusEvent pEvt)
Activates this Activators Activatable.

Specified by:
focusLost in interface java.awt.event.FocusListener
Parameters:
pEvt - - The FocusEvent

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