Package org.jboss.seam.excel.ui.command

Examples of org.jboss.seam.excel.ui.command.UIMergeCells


     *            The number of columns to span
     */
    public void addWorksheetFooter(WorksheetItem item, int colspan) {
        currentColumnIndex = startColumnIndex;
        currentRowIndex = maxRowIndex;
        UIMergeCells mergeCommand = new UIMergeCells();
        mergeCommand.setStartColumn(currentColumnIndex);
        mergeCommand.setStartRow(currentRowIndex);
        mergeCommand.setEndColumn(currentColumnIndex + colspan - 1);
        mergeCommand.setEndRow(currentRowIndex);
        executeCommand(mergeCommand);
        addItem(item);
    }
View Full Code Here


     *            The item to add
     * @param colspan
     *            The number of columns to span
     */
    public void addWorksheetHeader(WorksheetItem item, int colspan) {
        UIMergeCells mergeCommand = new UIMergeCells();
        mergeCommand.setStartColumn(currentColumnIndex);
        mergeCommand.setStartRow(currentRowIndex);
        mergeCommand.setEndColumn(currentColumnIndex + colspan - 1);
        mergeCommand.setEndRow(currentRowIndex);
        executeCommand(mergeCommand);
        addItem(item);
        startRowIndex++;
    }
View Full Code Here

     *            The item to add
     * @param colspan
     *            The number of columns to span
     */
    public void addWorksheetHeader(WorksheetItem item, int colspan) {
        UIMergeCells mergeCommand = new UIMergeCells();
        mergeCommand.setStartColumn(currentColumnIndex);
        mergeCommand.setStartRow(currentRowIndex);
        mergeCommand.setEndColumn(currentColumnIndex + colspan - 1);
        mergeCommand.setEndRow(currentRowIndex);
        executeCommand(mergeCommand);
        addItem(item);
        startRowIndex++;
    }
View Full Code Here

     *            The number of columns to span
     */
    public void addWorksheetFooter(WorksheetItem item, int colspan) {
        currentColumnIndex = startColumnIndex;
        currentRowIndex = maxRowIndex;
        UIMergeCells mergeCommand = new UIMergeCells();
        mergeCommand.setStartColumn(currentColumnIndex);
        mergeCommand.setStartRow(currentRowIndex);
        mergeCommand.setEndColumn(currentColumnIndex + colspan - 1);
        mergeCommand.setEndRow(currentRowIndex);
        executeCommand(mergeCommand);
        addItem(item);
    }
View Full Code Here

TOP

Related Classes of org.jboss.seam.excel.ui.command.UIMergeCells

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.