1 20 package org.openi.chart; 21 22 import com.tonbeller.jpivot.chart.ChartComponentTag; 23 import com.tonbeller.wcf.component.Component; 24 import com.tonbeller.wcf.controller.RequestContext; 25 import org.apache.log4j.Logger; 26 27 28 34 public class EnhancedChartTag extends ChartComponentTag { 35 private static Logger logger = Logger.getLogger(EnhancedChartTag.class); 36 protected float foregroundAlpha; 37 38 41 public Component createComponent(RequestContext context) 42 throws Exception { 43 logger.debug("creating my own stuff!"); 44 45 return new EnhancedChartComponent(this.getId(), null, this.getQuery(), 46 context); 47 } 48 49 52 public float getForegroundAlpha() { 53 return foregroundAlpha; 54 } 55 56 59 public void setForegroundAlpha(float foregroundAlpha) { 60 this.foregroundAlpha = foregroundAlpha; 61 } 62 } 63 | Popular Tags |