Package org.eclipse.birt.report.model.api

Examples of org.eclipse.birt.report.model.api.ColumnHandle


    lblHandle.setText("Cell x:x");
    CellHandle cell = gridHandle.getCell(1, 0);
    cell.getContent().add(lblHandle);

    // ############# create column
    ColumnHandle column = reportDesignHandle.getElementFactory().newTableColumn();
    DesignElement deColumn = column.getElement();
    gridHandle.getElement().add(deColumn, GridItem.COLUMN_SLOT);

    int rowCount3 = gridHandle.getRows().getCount(); // = 2
    int colCount3 = gridHandle.getColumns().getCount(); // = 2
View Full Code Here


    table.setProperty(IStyleModel.TEXT_ALIGN_PROP,
        DesignChoiceConstants.TEXT_ALIGN_CENTER);
    table.setWidth("80%");//$NON-NLS-1$
    table.setProperty(IReportItemModel.DATA_SET_PROP, "ds");//$NON-NLS-1$

    ColumnHandle ch = (ColumnHandle) table.getColumns().get(0);
    // ch.setProperty("Width", "3in");
    ch.getWidth().setStringValue("3in");

    PropertyHandle computedSet = table.getColumnBindings();
    cs1 = StructureFactory.createComputedColumn();
    cs2 = StructureFactory.createComputedColumn();
    cs3 = StructureFactory.createComputedColumn();
View Full Code Here

TOP

Related Classes of org.eclipse.birt.report.model.api.ColumnHandle

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.