org.apache.wicket.application
Class ComponentInstantiationListenerCollection

java.lang.Object
  extended by org.apache.wicket.util.listener.ListenerCollection<IComponentInstantiationListener>
      extended by org.apache.wicket.application.ComponentInstantiationListenerCollection
All Implemented Interfaces:
java.io.Serializable, java.lang.Iterable<IComponentInstantiationListener>, IComponentInstantiationListener

public class ComponentInstantiationListenerCollection
extends ListenerCollection<IComponentInstantiationListener>
implements IComponentInstantiationListener

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.wicket.util.listener.ListenerCollection
ListenerCollection.INotifier<T>
 
Constructor Summary
ComponentInstantiationListenerCollection()
           
 
Method Summary
 void onInstantiation(Component component)
          Called for every component that is instantiated.
 
Methods inherited from class org.apache.wicket.util.listener.ListenerCollection
add, isAllowingDuplicates, isAllowingNulls, iterator, notify, notifyIgnoringExceptions, remove, reversedNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentInstantiationListenerCollection

public ComponentInstantiationListenerCollection()
Method Detail

onInstantiation

public void onInstantiation(Component component)
Description copied from interface: IComponentInstantiationListener
Called for every component that is instantiated. This method is called during construction, so do not depend on the construction being completed yet. The id is guaranteed to be set before this call.

Specified by:
onInstantiation in interface IComponentInstantiationListener
Parameters:
component - the component that is being instantiated.


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.