Class DefaultProjectGridImpl


public abstract class DefaultProjectGridImpl extends ProjectGrid
ProjectGrid backed by map.
Author:
Kohsuke Kawaguchi, Centrum Systems
  • Constructor Details

    • DefaultProjectGridImpl

      public DefaultProjectGridImpl()
  • Method Details

    • set

      public void set(int row, int col, ProjectForm p)
      Mutable, but only for ProjectGridBuilder
      Parameters:
      row - position of the form
      col - position of the form
      p - The project to add. null to remove the value.
    • get

      public ProjectForm get(int row, int col)
      Gets the project at the specified location.
      Specified by:
      get in class Grid<ProjectForm>
      Parameters:
      row - position of the form
      col - position of the form
      Returns:
      possibly null.
    • getColumns

      public int getColumns()
      Description copied from class: Grid
      Width of the grid. Total number of columns.
      Specified by:
      getColumns in class Grid<ProjectForm>
      Returns:
      positive integer
    • getRows

      public int getRows()
      Description copied from class: Grid
      Height of the grid. Total number of rows.
      Specified by:
      getRows in class Grid<ProjectForm>
      Returns:
      positive integer