Interface PanelBuilder

    • Method Detail

      • layout

        PanelBuilder layout​(LayoutManager layoutManager)
        Parameters:
        layoutManager - the layout manager
        Returns:
        this builder instance
      • add

        PanelBuilder add​(JComponent component)
        Parameters:
        component - the component to add
        Returns:
        this builder instance
      • add

        PanelBuilder add​(JComponent component,
                         Object constraints)
        Parameters:
        component - the component to add
        constraints - the layout constraints
        Returns:
        this builder instance
      • addAll

        PanelBuilder addAll​(JComponent... components)
        Parameters:
        components - the components to add
        Returns:
        this builder instance
      • builder

        static PanelBuilder builder()
        Returns:
        a panel builder
      • builder

        static PanelBuilder builder​(LayoutManager layout)
        Parameters:
        layout - the panel layout manager
        Returns:
        a panel builder
      • builder

        static PanelBuilder builder​(JPanel panel)
        Parameters:
        panel - the panel to configure
        Returns:
        a panel builder