1 18 package org.apache.beehive.netui.databinding.datagrid.api.rendering; 19 20 import javax.servlet.jsp.JspContext ; 21 22 import org.apache.beehive.netui.tags.rendering.AbstractRenderAppender; 23 import org.apache.beehive.netui.databinding.datagrid.api.exceptions.CellDecoratorException; 24 25 38 public abstract class CellDecorator { 39 40 44 private CellDecorator _cellDecorator = null; 45 46 49 public CellDecorator() { 50 } 51 52 58 public CellDecorator(CellDecorator cellDecorator) { 59 this(); 60 _cellDecorator = cellDecorator; 61 } 62 63 68 public CellDecorator getNestedDecorator() { 69 return _cellDecorator; 70 } 71 72 77 public void setNestedDecorator(CellDecorator cellDecorator) { 78 _cellDecorator = cellDecorator; 79 } 80 81 91 public abstract void decorate(JspContext jspContext, AbstractRenderAppender appender, CellModel cellModel) 92 throws CellDecoratorException; 93 } 94 | Popular Tags |