Class TableLayout

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class TableLayout
extends JPanel
Represents a HTML style table layout
See Also:
Serialized Form
  • Constructor Details

    • TableLayout

      public TableLayout()
  • Method Details

    • getCellpadding

      public int getCellpadding()
    • setCellpadding

      public void setCellpadding​(int cellpadding)
    • addCell

      public void addCell​(TableLayoutCell cell)
      Adds a new cell to the current grid
      Parameters:
      cell - the td component
    • nextRowIndex

      public int nextRowIndex()
      Creates a new row index for child tr tags
      Returns:
      nextRowIndex the row number