Class PageContentEvent


  • public class PageContentEvent
    extends java.lang.Object
    PageContentEvent that will be broadcast to the registered listeners of a PageContent if any beans are added to the PageContent or removed.
    Since:
    3.5
    • Constructor Detail

      • PageContentEvent

        public PageContentEvent​(PageContentEvent.Type type,
                                ContainerBean containerBean,
                                BackingBean backingBean,
                                PageContent.BeanLocation beanLocation)
        Constructor
        Parameters:
        type - event type: ADD or REMOVE
        containerBean - the ContainerBean of the PageContent
        backingBean - the bean is added or removed
        beanLocation - the location of the bean
    • Method Detail

      • getContainerBean

        public ContainerBean getContainerBean()
        Get the ContainerBean of the PageContent where the bean is added or removed.
        Returns:
        ContainerBean instance
      • getBackingBean

        public BackingBean getBackingBean()
        Get the bean that is added or removed.
        Returns:
        BackingBean instance
      • getBeanLocation

        public PageContent.BeanLocation getBeanLocation()
        Get the location of the bean added or removed.
        Returns:
        BeanLocation instance