Package org.itsnat.core.domutil

Examples of org.itsnat.core.domutil.ListElementInfo


        if (node == null) return null;

        ElementListFreeImpl rows = getRowsAsElementListFree();
        if (rows.isEmpty()) return null;

        ListElementInfo rowInfo = getRowListElementInfoFromNode(node);
        if (rowInfo == null) return null; // No encontrado

        // Ahora en qu� celda concreta
        int row = rowInfo.getIndex();
        Element rowElem = rowInfo.getElement();
        ElementListBaseImpl columns = getColumnsOfRowElementList(row,rowElem);

        ListElementInfo cellInfo = columns.getListElementInfoFromNode(node);
        if (cellInfo == null) return null; // No deber�a ocurrir pero por si acaso
        return getTableCellElementInfo(rowInfo,cellInfo);
    }
View Full Code Here


        return getTableCellElementInfo(rowInfo,cellInfo);
    }

    public TableCellElementInfo getTableCellElementInfoAt(int row,int column)
    {
        ListElementInfo rowInfo = getRowListElementInfoAt(row);
        if (rowInfo == null) return null; // fuera de rango
        Element rowElem = rowInfo.getElement();
        ElementListBaseImpl columns = getColumnsOfRowElementList(row,rowElem);
        ListElementInfo cellInfo = columns.getListElementInfoAt(column);
        if (cellInfo == null) return null;
        return getTableCellElementInfo(rowInfo,cellInfo);
    }
View Full Code Here

TOP

Related Classes of org.itsnat.core.domutil.ListElementInfo

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.