Package org.eclipse.nebula.widgets.nattable.layer.cell

Examples of org.eclipse.nebula.widgets.nattable.layer.cell.DataCell


        int columnSpan = isAutoSpanEnabledForColumn(columnPosition, rowPosition) ? getColumnSpan(
                cellColumnPosition, cellRowPosition) : 1;
        int rowSpan = isAutoSpanEnabledForRow(columnPosition, rowPosition) ? getRowSpan(
                cellColumnPosition, cellRowPosition) : 1;

        return new DataCell(cellColumnPosition, cellRowPosition, columnSpan,
                rowSpan);
    }
View Full Code Here


        if (isSpanned) {
            cellColumnPosition -= columnPosition % BLOCK_SIZE;
            cellRowPosition -= rowPosition % BLOCK_SIZE;
        }

        return new DataCell(cellColumnPosition, cellRowPosition, columnSpan,
                rowSpan);
    }
View Full Code Here

        if (columnPosition < 0 || columnPosition >= getColumnCount()
                || rowPosition < 0 || rowPosition >= getRowCount()) {
            return null;
        }

        DataCell dataCell = getDataProvider().getCellByPosition(columnPosition,
                rowPosition);

        return new LayerCell(this, columnPosition, rowPosition, dataCell);
    }
View Full Code Here

            if (isSpanned) {
                cellColumnPosition -= columnPosition % BLOCK_SIZE;
                cellRowPosition -= rowPosition % BLOCK_SIZE;
            }

            return new DataCell(cellColumnPosition, cellRowPosition,
                    columnSpan, rowSpan);
        }
View Full Code Here

TOP

Related Classes of org.eclipse.nebula.widgets.nattable.layer.cell.DataCell

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.