1 42 43 package org.jfree.chart.block; 44 45 49 public class BlockParams implements EntityBlockParams { 50 51 55 private boolean generateEntities; 56 57 62 private double translateX; 63 64 69 private double translateY; 70 71 74 public BlockParams() { 75 this.translateX = 0.0; 76 this.translateY = 0.0; 77 this.generateEntities = false; 78 } 79 80 86 public boolean getGenerateEntities() { 87 return this.generateEntities; 88 } 89 90 95 public void setGenerateEntities(boolean generate) { 96 this.generateEntities = generate; 97 } 98 99 105 public double getTranslateX() { 106 return this.translateX; 107 } 108 109 115 public void setTranslateX(double x) { 116 this.translateX = x; 117 } 118 119 125 public double getTranslateY() { 126 return this.translateY; 127 } 128 129 135 public void setTranslateY(double y) { 136 this.translateY = y; 137 } 138 139 } 140 | Popular Tags |