// =========================================================== // 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()); }
public void setFooterItem(final int pCol, RectangularShape pItem) { if (mOptions.isHasFooter()) setItem(ItemType.FOOTER, 0, pCol, pItem); }
public RectangularShape getFooterItem(final int pCol) { if (mOptions.isHasFooter()) return mFooter[pCol]; else return null; }