com.tensegrity.gui.container
Class ActivationListener

java.lang.Object
  extended byjava.awt.event.ContainerAdapter
      extended bycom.tensegrity.gui.container.ActivationListener
All Implemented Interfaces:
java.awt.event.ContainerListener, java.util.EventListener, java.awt.event.FocusListener

public final class ActivationListener
extends java.awt.event.ContainerAdapter
implements java.awt.event.FocusListener

ApplicationMouseListener

Version:
$Id: ActivationListener.java,v 1.7 2005/09/21 14:46:42 BurkhardWick Exp $
Author:
GillesIachelini, BurkhardWick

Method Summary
static void addListenerTo(java.awt.Component comp)
          Adds a focus listener to the given component and if it is a container to all children as well
 void componentAdded(java.awt.event.ContainerEvent e)
           
 void componentRemoved(java.awt.event.ContainerEvent e)
           
 void focusGained(java.awt.event.FocusEvent e)
           
 void focusLost(java.awt.event.FocusEvent e)
           
static void removeListenerFrom(java.awt.Component comp)
          Removes a focus listener from the given component and if it is a container from all children as well
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addListenerTo

public static void addListenerTo(java.awt.Component comp)
Adds a focus listener to the given component and if it is a container to all children as well

Parameters:
comp - The component to add a focus listener to

removeListenerFrom

public static void removeListenerFrom(java.awt.Component comp)
Removes a focus listener from the given component and if it is a container from all children as well

Parameters:
comp - The component to remove a focus listener from

focusGained

public void focusGained(java.awt.event.FocusEvent e)
Specified by:
focusGained in interface java.awt.event.FocusListener

focusLost

public void focusLost(java.awt.event.FocusEvent e)
Specified by:
focusLost in interface java.awt.event.FocusListener

componentAdded

public void componentAdded(java.awt.event.ContainerEvent e)
Specified by:
componentAdded in interface java.awt.event.ContainerListener

componentRemoved

public void componentRemoved(java.awt.event.ContainerEvent e)
Specified by:
componentRemoved in interface java.awt.event.ContainerListener


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.