KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > poi > hdf > model > hdftypes > definitions > TAPAbstractType


1
2 /* ====================================================================
3    Copyright 2002-2004 Apache Software Foundation
4
5    Licensed under the Apache License, Version 2.0 (the "License");
6    you may not use this file except in compliance with the License.
7    You may obtain a copy of the License at
8
9        http://www.apache.org/licenses/LICENSE-2.0
10
11    Unless required by applicable law or agreed to in writing, software
12    distributed under the License is distributed on an "AS IS" BASIS,
13    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14    See the License for the specific language governing permissions and
15    limitations under the License.
16 ==================================================================== */

17         
18
19
20 package org.apache.poi.hdf.model.hdftypes.definitions;
21
22
23
24 import org.apache.poi.util.BitField;
25 import org.apache.poi.util.LittleEndian;
26 import org.apache.poi.util.StringUtil;
27 import org.apache.poi.util.HexDump;
28 import org.apache.poi.hdf.model.hdftypes.HDFType;
29
30 /**
31  * Table Properties.
32  * NOTE: This source is automatically generated please do not modify this file. Either subclass or
33  * remove the record in src/records/definitions.
34
35  * @author S. Ryan Ackley
36  */

37 public abstract class TAPAbstractType
38     implements HDFType
39 {
40
41     private int field_1_jc;
42     private int field_2_dxaGapHalf;
43     private int field_3_dyaRowHeight;
44     private boolean field_4_fCantSplit;
45     private boolean field_5_fTableHeader;
46     private int field_6_tlp;
47     private short field_7_itcMac;
48     private short[] field_8_rgdxaCenter;
49     private TCAbstractType[] field_9_rgtc;
50     private byte[] field_10_rgshd;
51     private short[] field_11_brcBottom;
52     private short[] field_12_brcTop;
53     private short[] field_13_brcLeft;
54     private short[] field_14_brcRight;
55     private short[] field_15_brcVertical;
56     private short[] field_16_brcHorizontal;
57
58
59     public TAPAbstractType()
60     {
61
62     }
63
64     /**
65      * Size of record (exluding 4 byte header)
66      */

67     public int getSize()
68     {
69         return 4 + + 2 + 4 + 4 + 0 + 0 + 4 + 2 + 130 + 0 + 0 + 4 + 4 + 4 + 4 + 4 + 4;
70     }
71
72
73
74     /**
75      * Get the jc field for the TAP record.
76      */

77     public int getJc()
78     {
79         return field_1_jc;
80     }
81
82     /**
83      * Set the jc field for the TAP record.
84      */

85     public void setJc(int field_1_jc)
86     {
87         this.field_1_jc = field_1_jc;
88     }
89
90     /**
91      * Get the dxaGapHalf field for the TAP record.
92      */

93     public int getDxaGapHalf()
94     {
95         return field_2_dxaGapHalf;
96     }
97
98     /**
99      * Set the dxaGapHalf field for the TAP record.
100      */

101     public void setDxaGapHalf(int field_2_dxaGapHalf)
102     {
103         this.field_2_dxaGapHalf = field_2_dxaGapHalf;
104     }
105
106     /**
107      * Get the dyaRowHeight field for the TAP record.
108      */

109     public int getDyaRowHeight()
110     {
111         return field_3_dyaRowHeight;
112     }
113
114     /**
115      * Set the dyaRowHeight field for the TAP record.
116      */

117     public void setDyaRowHeight(int field_3_dyaRowHeight)
118     {
119         this.field_3_dyaRowHeight = field_3_dyaRowHeight;
120     }
121
122     /**
123      * Get the fCantSplit field for the TAP record.
124      */

125     public boolean getFCantSplit()
126     {
127         return field_4_fCantSplit;
128     }
129
130     /**
131      * Set the fCantSplit field for the TAP record.
132      */

133     public void setFCantSplit(boolean field_4_fCantSplit)
134     {
135         this.field_4_fCantSplit = field_4_fCantSplit;
136     }
137
138     /**
139      * Get the fTableHeader field for the TAP record.
140      */

141     public boolean getFTableHeader()
142     {
143         return field_5_fTableHeader;
144     }
145
146     /**
147      * Set the fTableHeader field for the TAP record.
148      */

149     public void setFTableHeader(boolean field_5_fTableHeader)
150     {
151         this.field_5_fTableHeader = field_5_fTableHeader;
152     }
153
154     /**
155      * Get the tlp field for the TAP record.
156      */

157     public int getTlp()
158     {
159         return field_6_tlp;
160     }
161
162     /**
163      * Set the tlp field for the TAP record.
164      */

165     public void setTlp(int field_6_tlp)
166     {
167         this.field_6_tlp = field_6_tlp;
168     }
169
170     /**
171      * Get the itcMac field for the TAP record.
172      */

173     public short getItcMac()
174     {
175         return field_7_itcMac;
176     }
177
178     /**
179      * Set the itcMac field for the TAP record.
180      */

181     public void setItcMac(short field_7_itcMac)
182     {
183         this.field_7_itcMac = field_7_itcMac;
184     }
185
186     /**
187      * Get the rgdxaCenter field for the TAP record.
188      */

189     public short[] getRgdxaCenter()
190     {
191         return field_8_rgdxaCenter;
192     }
193
194     /**
195      * Set the rgdxaCenter field for the TAP record.
196      */

197     public void setRgdxaCenter(short[] field_8_rgdxaCenter)
198     {
199         this.field_8_rgdxaCenter = field_8_rgdxaCenter;
200     }
201
202     /**
203      * Get the rgtc field for the TAP record.
204      */

205     public TCAbstractType[] getRgtc()
206     {
207         return field_9_rgtc;
208     }
209
210     /**
211      * Set the rgtc field for the TAP record.
212      */

213     public void setRgtc(TCAbstractType[] field_9_rgtc)
214     {
215         this.field_9_rgtc = field_9_rgtc;
216     }
217
218     /**
219      * Get the rgshd field for the TAP record.
220      */

221     public byte[] getRgshd()
222     {
223         return field_10_rgshd;
224     }
225
226     /**
227      * Set the rgshd field for the TAP record.
228      */

229     public void setRgshd(byte[] field_10_rgshd)
230     {
231         this.field_10_rgshd = field_10_rgshd;
232     }
233
234     /**
235      * Get the brcBottom field for the TAP record.
236      */

237     public short[] getBrcBottom()
238     {
239         return field_11_brcBottom;
240     }
241
242     /**
243      * Set the brcBottom field for the TAP record.
244      */

245     public void setBrcBottom(short[] field_11_brcBottom)
246     {
247         this.field_11_brcBottom = field_11_brcBottom;
248     }
249
250     /**
251      * Get the brcTop field for the TAP record.
252      */

253     public short[] getBrcTop()
254     {
255         return field_12_brcTop;
256     }
257
258     /**
259      * Set the brcTop field for the TAP record.
260      */

261     public void setBrcTop(short[] field_12_brcTop)
262     {
263         this.field_12_brcTop = field_12_brcTop;
264     }
265
266     /**
267      * Get the brcLeft field for the TAP record.
268      */

269     public short[] getBrcLeft()
270     {
271         return field_13_brcLeft;
272     }
273
274     /**
275      * Set the brcLeft field for the TAP record.
276      */

277     public void setBrcLeft(short[] field_13_brcLeft)
278     {
279         this.field_13_brcLeft = field_13_brcLeft;
280     }
281
282     /**
283      * Get the brcRight field for the TAP record.
284      */

285     public short[] getBrcRight()
286     {
287         return field_14_brcRight;
288     }
289
290     /**
291      * Set the brcRight field for the TAP record.
292      */

293     public void setBrcRight(short[] field_14_brcRight)
294     {
295         this.field_14_brcRight = field_14_brcRight;
296     }
297
298     /**
299      * Get the brcVertical field for the TAP record.
300      */

301     public short[] getBrcVertical()
302     {
303         return field_15_brcVertical;
304     }
305
306     /**
307      * Set the brcVertical field for the TAP record.
308      */

309     public void setBrcVertical(short[] field_15_brcVertical)
310     {
311         this.field_15_brcVertical = field_15_brcVertical;
312     }
313
314     /**
315      * Get the brcHorizontal field for the TAP record.
316      */

317     public short[] getBrcHorizontal()
318     {
319         return field_16_brcHorizontal;
320     }
321
322     /**
323      * Set the brcHorizontal field for the TAP record.
324      */

325     public void setBrcHorizontal(short[] field_16_brcHorizontal)
326     {
327         this.field_16_brcHorizontal = field_16_brcHorizontal;
328     }
329
330
331 } // END OF CLASS
332

333
334
335
336
Popular Tags