Class TableLayout

java.lang.Object
org.basex.gui.layout.TableLayout
All Implemented Interfaces:
LayoutManager

public final class TableLayout extends Object implements LayoutManager
This LayoutManager is similar to the GridLayout. The added components keep their minimum size even when the parent container is resized.
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
  • Constructor Details

    • TableLayout

      public TableLayout(int rows, int cols)
      Creates a table layout with the specified number of rows and columns.
      Parameters:
      rows - number of rows
      cols - number of columns
    • TableLayout

      public TableLayout(int rows, int cols, int hgap, int vgap)
      Creates a table layout with the specified number of rows and columns.
      Parameters:
      rows - number of rows
      cols - number of columns
      hgap - horizontal gap
      vgap - vertical gap
  • Method Details