Class TableConstraints

java.lang.Object
zleurtor.scanmanager.view.gui.TableConstraints

public class TableConstraints extends Object
The constraints used to render components contained in a table layout.
Author:
Zleurtor
  • Constructor Summary

    Constructors
    Constructor
    Description
    TableConstraints(int theRow, int theColumn, int theWidth, int theHeight)
    Constructs a new table layout constraints for the specified row, column, width and height.
  • Method Summary

    Modifier and Type
    Method
    Description
    final int
    Returns the column at which the component shall be start.
    final int
    Returns the number of cells occupied by the component vertically.
    final int
    Returns the row at which the component shall be start.
    final int
    Returns the number of cells occupied by the component horizontally.

    Methods inherited from class java.lang.Object

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

    • TableConstraints

      public TableConstraints(int theRow, int theColumn, int theWidth, int theHeight)
      Constructs a new table layout constraints for the specified row, column, width and height.
      Parameters:
      theRow - The row at which the component shall be start.
      theColumn - The column at which the component shall be start.
      theWidth - The number of cells occupied by the component horizontally.
      theHeight - The number of cells occupied by the component vertically.
  • Method Details

    • getRow

      public final int getRow()
      Returns the row at which the component shall be start.
      Returns:
      The row at which the component shall be start.
    • getColumn

      public final int getColumn()
      Returns the column at which the component shall be start.
      Returns:
      The column at which the component shall be start.
    • getWidth

      public final int getWidth()
      Returns the number of cells occupied by the component horizontally.
      Returns:
      The number of cells occupied by the component horizontally.
    • getHeight

      public final int getHeight()
      Returns the number of cells occupied by the component vertically.
      Returns:
      The number of cells occupied by the component vertically.