1 34 35 package org.krysalis.jcharts.properties; 36 37 38 import org.krysalis.jcharts.Chart; 39 import org.krysalis.jcharts.test.HTMLGenerator; 40 import org.krysalis.jcharts.test.HTMLTestable; 41 42 43 49 public class PieChart3DProperties extends PieChart2DProperties implements HTMLTestable 50 { 51 private int depth = 15; 52 53 54 57 public PieChart3DProperties() 58 { 59 super(); 60 } 61 62 63 public int getDepth() 64 { 65 return depth; 66 } 67 68 69 public void setDepth( int depth ) 70 { 71 this.depth = depth; 72 } 73 74 75 80 public void toHTML( HTMLGenerator htmlGenerator ) 81 { 82 htmlGenerator.propertiesTableStart( "PieChart3DProperties" ); 83 htmlGenerator.addTableRow( "Depth", Integer.toString( this.depth ) ); 84 htmlGenerator.propertiesTableEnd(); 85 } 86 87 88 94 public void validate( Chart chart ) throws PropertyException 95 { 96 97 } 98 99 } 100 | Popular Tags |