1 28 package net.sf.jasperreports.engine; 29 30 import java.awt.Color ; 31 32 33 40 public interface JRElement extends JRChild, JRStyleContainer 41 { 42 43 44 48 public static final byte POSITION_TYPE_FLOAT = 1; 49 50 51 55 public static final byte POSITION_TYPE_FIX_RELATIVE_TO_TOP = 2; 56 57 58 62 public static final byte POSITION_TYPE_FIX_RELATIVE_TO_BOTTOM = 3; 63 64 67 public static final byte MODE_OPAQUE = 1; 68 69 70 73 public static final byte MODE_TRANSPARENT = 2; 74 75 78 public static final byte STRETCH_TYPE_NO_STRETCH = 0; 79 80 84 public static final byte STRETCH_TYPE_RELATIVE_TO_TALLEST_OBJECT = 1; 85 86 90 public static final byte STRETCH_TYPE_RELATIVE_TO_BAND_HEIGHT = 2; 91 92 93 96 public String getKey(); 97 98 102 public byte getPositionType(); 103 104 108 public void setPositionType(byte positionType); 109 110 114 public byte getStretchType(); 115 116 120 public void setStretchType(byte stretchType); 121 122 127 public boolean isPrintRepeatedValues(); 128 129 132 public void setPrintRepeatedValues(boolean isPrintRepeatedValues); 133 134 135 142 public byte getMode(); 143 144 public Byte getOwnMode(); 145 146 152 public void setMode(byte mode); 153 154 public void setMode(Byte mode); 155 156 159 public int getX(); 160 161 164 public void setX(int x); 165 166 169 public int getY(); 170 171 174 public int getWidth(); 175 176 179 public void setWidth(int width); 180 181 184 public int getHeight(); 185 186 192 public boolean isRemoveLineWhenBlank(); 193 194 200 public void setRemoveLineWhenBlank(boolean isRemoveLineWhenBlank); 201 202 207 public boolean isPrintInFirstWholeBand(); 208 209 214 public void setPrintInFirstWholeBand(boolean isPrintInFirstWholeBand); 215 216 221 public boolean isPrintWhenDetailOverflows(); 222 223 228 public void setPrintWhenDetailOverflows(boolean isPrintWhenDetailOverflows); 229 230 233 public Color getForecolor(); 234 235 238 public Color getOwnForecolor(); 239 240 243 public void setForecolor(Color forecolor); 244 245 248 public Color getBackcolor(); 249 250 253 public Color getOwnBackcolor(); 254 255 258 public void setBackcolor(Color backcolor); 259 260 264 public JRExpression getPrintWhenExpression(); 265 266 271 public JRGroup getPrintWhenGroupChanges(); 272 273 278 public JRElementGroup getElementGroup(); 279 280 283 public void collectExpressions(JRExpressionCollector collector); 284 285 286 } 287 | Popular Tags |