Class GridView.Pos

java.lang.Object
com.itextpdf.layout.renderer.GridView.Pos
Direct Known Subclasses:
GridView.Cursor
Enclosing class:
GridView

static class GridView.Pos extends Object
Represents position on a grid.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected int
    column index.
    protected int
    row index.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Pos(int y, int x)
    Creates a position from two integers.
    Creates a position from other position instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    int
     

    Methods inherited from class java.lang.Object

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

    • x

      protected int x
      column index.
    • y

      protected int y
      row index.
  • Constructor Details

    • Pos

      public Pos(int y, int x)
      Creates a position from two integers.
      Parameters:
      y - row index.
      x - column index.
    • Pos

      public Pos(GridView.Pos other)
      Creates a position from other position instance.
      Parameters:
      other - other position
  • Method Details

    • getX

      public int getX()
    • getY

      public int getY()