|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.painter.def.col.ColumnPainterFactory
Factory for ColumnPainters. The painter instances are shared.
Field Summary | |
private static ColumnPainter |
defpainter
The default column painter instance |
private static java.util.Map |
painters
Column painters instances |
Constructor Summary | |
private |
ColumnPainterFactory()
Constructor |
Method Summary | |
static ColumnPainter |
createPainter(ColumnDesignModel column)
This method creates a concrete column painter for a given column object. |
static void |
registerColumnPainter(java.lang.Class columnClass,
ColumnPainter painter)
Registers a column painter for the given column class |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static ColumnPainter defpainter
private static java.util.Map painters
Constructor Detail |
private ColumnPainterFactory()
Method Detail |
public static void registerColumnPainter(java.lang.Class columnClass, ColumnPainter painter)
columnClass
- the columns classpainter
- Column painter instancepublic static ColumnPainter createPainter(ColumnDesignModel column)
column
- the concrete column object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |