com.guiseframework.platform
Class AbstractComponentDepictor.DepictedCompositeComponentListener

java.lang.Object
  extended by com.guiseframework.platform.AbstractComponentDepictor.DepictedCompositeComponentListener
All Implemented Interfaces:
CompositeComponentListener, GuiseEventListener, java.util.EventListener
Enclosing class:
AbstractComponentDepictor<C extends Component>

protected class AbstractComponentDepictor.DepictedCompositeComponentListener
extends java.lang.Object
implements CompositeComponentListener

A listener that marks this depiction as dirty if direct children are added or deleted.

Author:
Garret Wilson

Constructor Summary
protected AbstractComponentDepictor.DepictedCompositeComponentListener()
           
 
Method Summary
 void childComponentAdded(ComponentEvent childComponentEvent)
          Called when a child component is added to a composite component.
 void childComponentRemoved(ComponentEvent childComponentEvent)
          Called when a child component is removed from a composite component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractComponentDepictor.DepictedCompositeComponentListener

protected AbstractComponentDepictor.DepictedCompositeComponentListener()
Method Detail

childComponentAdded

public void childComponentAdded(ComponentEvent childComponentEvent)
Called when a child component is added to a composite component.

Specified by:
childComponentAdded in interface CompositeComponentListener
Parameters:
childComponentEvent - The event indicating the added child component and the target parent composite component.

childComponentRemoved

public void childComponentRemoved(ComponentEvent childComponentEvent)
Called when a child component is removed from a composite component.

Specified by:
childComponentRemoved in interface CompositeComponentListener
Parameters:
childComponentEvent - The event indicating the removed child component and the target parent composite component.


Copyright © 2005-2010 GlobalMentor, Inc. All Rights Reserved.