Class PWContainer

  • Direct Known Subclasses:
    PWRowGroup, PWTab

    public abstract class PWContainer
    extends java.lang.Object
    Abstract class for "Containers" (row, group and tab)
    • Constructor Summary

      Constructors 
      Constructor Description
      PWContainer()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract PWContainer add​(PWContainer element)
      Add a container to the current element
      abstract PWContainer add​(PWWidget widget)
      Add a widget to the current element
      abstract void build​(org.eclipse.swt.widgets.Composite parent)
      Build the content of the container
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PWContainer

        public PWContainer()
    • Method Detail

      • add

        public abstract PWContainer add​(PWContainer element)
        Add a container to the current element
        Parameters:
        element - element to add
        Returns:
        the container
      • add

        public abstract PWContainer add​(PWWidget widget)
        Add a widget to the current element
        Parameters:
        widget - widget to add
        Returns:
        the container
      • build

        public abstract void build​(org.eclipse.swt.widgets.Composite parent)
        Build the content of the container
        Parameters:
        parent - parent composite