01: /*
02: * $RCSfile: ConstMFFloat.java,v $
03: *
04: * @(#)ConstMFFloat.java 1.9 98/11/05 20:40:19
05: *
06: * Copyright (c) 1996-1998 Sun Microsystems, Inc. All Rights Reserved.
07: *
08: * Sun grants you ("Licensee") a non-exclusive, royalty free, license to use,
09: * modify and redistribute this software in source and binary code form,
10: * provided that i) this copyright notice and license appear on all copies of
11: * the software; and ii) Licensee does not utilize the software in a manner
12: * which is disparaging to Sun.
13: *
14: * This software is provided "AS IS," without a warranty of any kind. ALL
15: * EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY
16: * IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
17: * NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE
18: * LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING
19: * OR DISTRIBUTING THE SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS
20: * LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT,
21: * INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
22: * CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF
23: * OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE
24: * POSSIBILITY OF SUCH DAMAGES.
25: *
26: * This software is not designed or intended for use in on-line control of
27: * aircraft, air traffic, aircraft navigation or aircraft communications; or in
28: * the design, construction, operation or maintenance of any nuclear
29: * facility. Licensee represents and warrants that it will not use or
30: * redistribute the Software for such purposes.
31: *
32: * $Revision: 1.2 $
33: * $Date: 2005/02/03 23:07:12 $
34: * $State: Exp $
35: */
36: /*
37: * @Author: Rick Goldberg
38: * @Author: Doug Gehringer
39: */
40: package vrml.field;
41:
42: /** Description of the Class */
43: public class ConstMFFloat extends vrml.ConstMField {
44:
45: org.jdesktop.j3d.loaders.vrml97.impl.ConstMFFloat impl;
46:
47: /**
48: *Constructor for the ConstMFFloat object
49: *
50: *@param init Description of the Parameter
51: */
52: public ConstMFFloat(
53: org.jdesktop.j3d.loaders.vrml97.impl.ConstMFFloat init) {
54: impl = init;
55: }
56:
57: /**
58: * Gets the value attribute of the ConstMFFloat object
59: *
60: *@param values Description of the Parameter
61: */
62: public void getValue(float values[]) {
63: impl.getValue(values);
64: }
65:
66: /**
67: * Description of the Method
68: *
69: *@param index Description of the Parameter
70: *@return Description of the Return Value
71: */
72: public float get1Value(int index) {
73: return impl.get1Value(index);
74: }
75:
76: /**
77: * Gets the size attribute of the ConstMFFloat object
78: *
79: *@return The size value
80: */
81: public int getSize() {
82: return impl.getSize();
83: }
84:
85: /**
86: * Description of the Method
87: *
88: *@return Description of the Return Value
89: */
90: public Object clone() {
91: return new ConstMFFloat(
92: (org.jdesktop.j3d.loaders.vrml97.impl.ConstMFFloat) impl
93: .clone());
94: }
95:
96: }
|