com.cc.framework.ui.painter.def
Interface ColumnPainter

All Known Implementing Classes:
ColumnPainterBase

public interface ColumnPainter

Interface for all column painters

Version:
$Revision: 1.10 $
Author:
Harald Schulz

Method Summary
 void applyDesignRules(org.apache.ecs.html.TD cellElement, CellPainterContext cpctx)
          Applies all matching design rules to the cell
 void paintCell(org.apache.ecs.html.TD cellElement, CellPainterContext cpctx)
          Paints a single Cell
 void paintHeader(org.apache.ecs.html.TD headerElement, CellPainterContext cpctx)
          Paints the column header
 

Method Detail

paintCell

public void paintCell(org.apache.ecs.html.TD cellElement,
                      CellPainterContext cpctx)
               throws java.lang.Exception
Paints a single Cell

Parameters:
cellElement - The cell element
cpctx - the cell painter context
Throws:
java.lang.Exception - When an error occurs

applyDesignRules

public void applyDesignRules(org.apache.ecs.html.TD cellElement,
                             CellPainterContext cpctx)
                      throws java.lang.Exception
Applies all matching design rules to the cell

Parameters:
cellElement - the cell element
cpctx - the cell painter context
Throws:
java.lang.Exception - When an error occurs

paintHeader

public void paintHeader(org.apache.ecs.html.TD headerElement,
                        CellPainterContext cpctx)
                 throws java.lang.Exception
Paints the column header

Parameters:
headerElement - The header cell
cpctx - the cell painter context
Throws:
java.lang.Exception - When an error occurs


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.