Class ComponentInstantiationListenerCollection

    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.wicket.util.listener.ListenerCollection

        org.apache.wicket.util.listener.ListenerCollection.INotifier<T extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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, reversedNotifyIgnoringExceptions
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • 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.