Class GridBagLayoutContainer

    • Constructor Detail

      • GridBagLayoutContainer

        public GridBagLayoutContainer​(Component owner)
        Konstruktor
        Parameters:
        owner - Owner
      • GridBagLayoutContainer

        public GridBagLayoutContainer​(int inseta,
                                      int insetb,
                                      int insetc,
                                      int insetd,
                                      Component owner)
        Konstruktor
        Parameters:
        inseta - Inset
        insetb - Inset
        insetc - Inset
        insetd - Inset
        owner - Owner
    • Method Detail

      • getGBC

        public GridBagConstraints getGBC​(int x,
                                         int y)
        Constraints erstellen
        Parameters:
        x - X-Position
        y - Y-Position
        Returns:
        Constraints
      • getGBC

        public GridBagConstraints getGBC​(int x,
                                         int y,
                                         int w,
                                         int h)
        Constraints erstellen
        Parameters:
        x - X-Position
        y - Y-Position
        w - Width
        h - Height
        Returns:
        Constraints
      • getGBC

        public GridBagConstraints getGBC​(int x,
                                         int y,
                                         int w,
                                         int h,
                                         double weightx,
                                         double weighty)
        Constraints erstellen
        Parameters:
        x - X-Position
        y - Y-Position
        w - Width
        h - Height
        weightx - X-Weight
        weighty - Y-Weight
        Returns:
        Constraints
      • getGBC

        public GridBagConstraints getGBC​(int x,
                                         int y,
                                         int w,
                                         int h,
                                         double weightx,
                                         double weighty,
                                         int fill)
        Constraints erstellen
        Parameters:
        x - X-Position
        y - Y-Position
        w - Width
        h - Height
        weightx - X-Weight
        weighty - Y-Weight
        fill - Fill
        Returns:
        Constraints
      • add

        public void add​(Component c,
                        int x,
                        int y)
        Parameters:
        c - Component
        x - X-Position
        y - Y-Position
      • add

        public void add​(Component c,
                        int x,
                        int y,
                        int w,
                        int h)
        Parameters:
        c - Component
        x - X-Position
        y - Y-Position
        w - Width
        h - Height
      • add

        public void add​(Component c,
                        int x,
                        int y,
                        int w,
                        int h,
                        double weightx,
                        double weighty)
        Parameters:
        c - Component
        x - X-Position
        y - Y-Position
        w - Width
        h - Height
        weightx - X-Weight
        weighty - Y-Weight