Ejemplo n.º 1
0
  // ===========================================================
  // Methods
  // ===========================================================
  private void initPanel() {

    final GridPanelOptions opt = mOptions;
    final int rows = opt.getRowCount();
    final int cols = opt.getColCount();

    mCell = new RectangularShape[rows][cols];

    if (opt.isHasHeader()) mHeader = new RectangularShape[cols];
    if (opt.isHasFooter()) mFooter = new RectangularShape[cols];

    this.setColor(opt.getColor());
  }
Ejemplo n.º 2
0
 public void setFooterItem(final int pCol, RectangularShape pItem) {
   if (mOptions.isHasFooter()) setItem(ItemType.FOOTER, 0, pCol, pItem);
 }
Ejemplo n.º 3
0
 public RectangularShape getFooterItem(final int pCol) {
   if (mOptions.isHasFooter()) return mFooter[pCol];
   else return null;
 }