GridContainer

Overview

Is a class that uses grid layout, where each cell is a container. To use as cell you need to create a class that extends from GridContainer.Cell.

This component only works until version 4.3.8.

Source Code

add(gc = new GridContainer(GridContainer.HORIZONTAL_ORIENTATION),LEFT,TOP,FILL,FILL);
   gc.setBackColor(Color.WHITE);
   Flick f = gc.getFlick();
   f.shortestFlick = 1000;
   f.longestFlick = 6000;
   gc.setPageSize(linhas,colunas);
   gc.setRowsPerPage(linhasPorPagina);
   Celula []cels = new Celula[TOTAL_ITEMS];
   for (int i = 0; i < cels.length; i++)
      cels[i] = new Celula(i);
   gc.setCells(cels);

Construtor

GridContainer(int orientation){}

Constructs a GridContainer with the given orientation

Methods

References

Last updated