Class WComponentGroup<T extends WComponent>

    • Constructor Detail

      • WComponentGroup

        public WComponentGroup()
    • Method Detail

      • addToGroup

        public void addToGroup​(T component)
        Add a component to this group.
        Parameters:
        component - the component to add.
      • removeFromGroup

        public void removeFromGroup​(T component)
        Remove a component from this group.
        Parameters:
        component - the component to add.
      • getComponents

        public List<T> getComponents()
        Returns:
        the list of WComponents in this group.
      • toString

        public String toString()
        Description copied from class: AbstractWComponent
        Creates a String representation of this component; usually for debugging purposes.
        Overrides:
        toString in class AbstractWComponent
        Returns:
        a String representation of this component, for debugging purposes.
      • getOrCreateComponentModel

        protected WComponentGroup.ComponentGroupModel getOrCreateComponentModel()
        Retrieves the model for this component so that it can be modified. If this method is called during request processing, and a session specific model does not yet exist, then a new model is created. Subclasses may override this method to narrow the return type to their specific model type.
        Overrides:
        getOrCreateComponentModel in class AbstractWComponent
        Returns:
        the model for this component