001: /*
002: * $RCSfile: MFInt32.java,v $
003: *
004: * @(#)MFInt32.java 1.9 98/11/05 20:40:31
005: *
006: * Copyright (c) 1996-1998 Sun Microsystems, Inc. All Rights Reserved.
007: *
008: * Sun grants you ("Licensee") a non-exclusive, royalty free, license to use,
009: * modify and redistribute this software in source and binary code form,
010: * provided that i) this copyright notice and license appear on all copies of
011: * the software; and ii) Licensee does not utilize the software in a manner
012: * which is disparaging to Sun.
013: *
014: * This software is provided "AS IS," without a warranty of any kind. ALL
015: * EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY
016: * IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
017: * NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE
018: * LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING
019: * OR DISTRIBUTING THE SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS
020: * LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT,
021: * INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
022: * CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF
023: * OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE
024: * POSSIBILITY OF SUCH DAMAGES.
025: *
026: * This software is not designed or intended for use in on-line control of
027: * aircraft, air traffic, aircraft navigation or aircraft communications; or in
028: * the design, construction, operation or maintenance of any nuclear
029: * facility. Licensee represents and warrants that it will not use or
030: * redistribute the Software for such purposes.
031: *
032: * $Revision: 1.2 $
033: * $Date: 2005/02/03 23:07:14 $
034: * $State: Exp $
035: */
036: /*
037: * @Author: Rick Goldberg
038: * @Author: Doug Gehringer
039: */
040: package vrml.field;
041:
042: /** Description of the Class */
043: public class MFInt32 extends vrml.MField {
044: org.jdesktop.j3d.loaders.vrml97.impl.MFInt32 impl;
045:
046: /**
047: *Constructor for the MFInt32 object
048: *
049: *@param init Description of the Parameter
050: */
051: public MFInt32(org.jdesktop.j3d.loaders.vrml97.impl.MFInt32 init) {
052: super (init);
053: impl = init;
054: }
055:
056: /**
057: * Description of the Method
058: *
059: *@return Description of the Return Value
060: */
061: public Object clone() {
062: return new MFInt32(
063: (org.jdesktop.j3d.loaders.vrml97.impl.MFInt32) impl
064: .clone());
065: }
066:
067: /**
068: * Gets the value attribute of the MFInt32 object
069: *
070: *@param values Description of the Parameter
071: */
072: public void getValue(int[] values) {
073: impl.getValue(values);
074: }
075:
076: /**
077: * Sets the value attribute of the MFInt32 object
078: *
079: *@param values The new value value
080: */
081: public void setValue(int[] values) {
082: impl.setValue(values);
083: }
084:
085: /**
086: * Sets the value attribute of the MFInt32 object
087: *
088: *@param size The new value value
089: *@param values The new value value
090: */
091: public void setValue(int size, int[] values) {
092: impl.setValue(size, values);
093: }
094:
095: /**
096: * Sets the value attribute of the MFInt32 object
097: *
098: *@param f The new value value
099: */
100: public void setValue(ConstMFInt32 f) {
101: impl.setValue(f.impl);
102: }
103:
104: /**
105: * Description of the Method
106: *
107: *@param index Description of the Parameter
108: *@return Description of the Return Value
109: */
110: public int get1Value(int index) {
111: return impl.get1Value(index);
112: }
113:
114: /**
115: * Description of the Method
116: *
117: *@param index Description of the Parameter
118: *@param f Description of the Parameter
119: */
120: public void set1Value(int index, int f) {
121: impl.set1Value(index, f);
122: }
123:
124: /**
125: * Description of the Method
126: *
127: *@param index Description of the Parameter
128: *@param f Description of the Parameter
129: */
130: public void set1Value(int index, ConstSFInt32 f) {
131: impl.set1Value(index, f.impl);
132: }
133:
134: /**
135: * Description of the Method
136: *
137: *@param index Description of the Parameter
138: *@param f Description of the Parameter
139: */
140: public void set1Value(int index, SFInt32 f) {
141: impl.set1Value(index, f.impl);
142: }
143:
144: /**
145: * Adds a feature to the Value attribute of the MFInt32 object
146: *
147: *@param f The feature to be added to the Value attribute
148: */
149: public void addValue(int f) {
150: }
151:
152: /**
153: * Adds a feature to the Value attribute of the MFInt32 object
154: *
155: *@param f The feature to be added to the Value attribute
156: */
157: public void addValue(ConstSFInt32 f) {
158: impl.addValue(f.impl);
159: }
160:
161: /**
162: * Adds a feature to the Value attribute of the MFInt32 object
163: *
164: *@param f The feature to be added to the Value attribute
165: */
166: public void addValue(SFInt32 f) {
167: impl.addValue(f.impl);
168: }
169:
170: /**
171: * Description of the Method
172: *
173: *@param index Description of the Parameter
174: *@param f Description of the Parameter
175: */
176: public void insertValue(int index, int f) {
177: }
178:
179: /**
180: * Description of the Method
181: *
182: *@param index Description of the Parameter
183: *@param f Description of the Parameter
184: */
185: public void insertValue(int index, ConstSFInt32 f) {
186: impl.insertValue(index, f.impl);
187: }
188:
189: /**
190: * Description of the Method
191: *
192: *@param index Description of the Parameter
193: *@param f Description of the Parameter
194: */
195: public void insertValue(int index, SFInt32 f) {
196: impl.insertValue(index, f.impl);
197: }
198:
199: /**
200: * Gets the size attribute of the MFInt32 object
201: *
202: *@return The size value
203: */
204: public int getSize() {
205: return impl.getSize();
206: }
207:
208: /** Description of the Method */
209: public void clear() {
210: impl.clear();
211: }
212:
213: /**
214: * Description of the Method
215: *
216: *@param i Description of the Parameter
217: */
218: public void delete(int i) {
219: impl.delete(i);
220: }
221:
222: }
|