Package org.itsnat.comp.table

Examples of org.itsnat.comp.table.ItsNatTableHeaderCellRenderer


        ItsNatTableHeader tableHeader = getItsNatTableHeader();
        Element contentElem = getContentElementAt(column,element);

        elementList.prepareRendering(contentElem,isNew);

        ItsNatTableHeaderCellRenderer renderer = getItsNatTableHeaderCellRenderer();
        if (renderer != null)
            renderer.renderTableHeaderCell(tableHeader,column,columnValue,isSelected,cellHasFocus,contentElem,isNew);
    }
View Full Code Here


        return super.insertElementAtBase(index,anObject);
    }

    public void unrenderTableHeaderCell(int column)
    {
        ItsNatTableHeaderCellRenderer renderer = getItsNatTableHeaderCellRenderer();
        if (renderer == null) return;

        Element cellElem = getElementAt(column);
        if (cellElem == null) return;

        Element contentElem = getContentElementAt(column,cellElem);
        renderer.unrenderTableHeaderCell(getItsNatTableHeader(),column,contentElem);
    }
View Full Code Here

     * @param toIndex high index (inclusive).
     * @see org.itsnat.core.domutil.ElementListBase#removeElementRange(int,int)
     */
    public void removeElementRange(int fromIndex,int toIndex)
    {
        ItsNatTableHeaderCellRenderer renderer = getItsNatTableHeaderCellRenderer();
        if (renderer != null)
        {
            for(int i = fromIndex; i <= toIndex; i++)
                unrenderTableHeaderCell(i);
        }
View Full Code Here

     * Removes all header columns. The header is now empty.
     * @see org.itsnat.core.domutil.ElementListBase#removeAllElements()
     */
    public void removeAllElements()
    {
        ItsNatTableHeaderCellRenderer renderer = getItsNatTableHeaderCellRenderer();
        if (renderer != null)
        {
            int len = getLength();
            for(int i = 0; i < len; i++)
                unrenderTableHeaderCell(i);
View Full Code Here

TOP

Related Classes of org.itsnat.comp.table.ItsNatTableHeaderCellRenderer

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.