1 28 package net.sf.jasperreports.engine; 29 30 31 37 public interface JRTextElement extends JRElement, JRAlignment, JRBox, JRFont 38 { 39 40 41 44 public static final byte TEXT_ALIGN_LEFT = HORIZONTAL_ALIGN_LEFT; 45 48 public static final byte TEXT_ALIGN_CENTER = HORIZONTAL_ALIGN_CENTER; 49 52 public static final byte TEXT_ALIGN_RIGHT = HORIZONTAL_ALIGN_RIGHT; 53 56 public static final byte TEXT_ALIGN_JUSTIFIED = HORIZONTAL_ALIGN_JUSTIFIED; 57 58 61 public static final byte ROTATION_NONE = 0; 62 63 66 public static final byte ROTATION_LEFT = 1; 67 68 71 public static final byte ROTATION_RIGHT = 2; 72 73 76 public static final byte ROTATION_UPSIDE_DOWN = 3; 77 78 81 public static final byte LINE_SPACING_SINGLE = 0; 82 83 86 public static final byte LINE_SPACING_1_1_2 = 1; 87 88 91 public static final byte LINE_SPACING_DOUBLE = 2; 92 93 94 99 public byte getTextAlignment(); 100 101 106 public void setTextAlignment(byte horizontalAlignment); 107 108 112 public byte getRotation(); 113 114 public Byte getOwnRotation(); 115 116 120 public void setRotation(byte rotation); 121 122 public void setRotation(Byte rotation); 123 124 128 public byte getLineSpacing(); 129 130 public Byte getOwnLineSpacing(); 131 135 public void setLineSpacing(byte lineSpacing); 136 137 public void setLineSpacing(Byte lineSpacing); 138 139 142 public boolean isStyledText(); 143 144 public Boolean isOwnStyledText(); 145 148 public void setStyledText(boolean isStyledText); 149 150 public void setStyledText(Boolean isStyledText); 151 152 156 public JRBox getBox(); 157 158 162 public JRFont getFont(); 163 164 165 } 166 | Popular Tags |