javax.media.j3d
Class ShaderAttributeArrayRetained.FloatArrayWrapper

java.lang.Object
  extended by javax.media.j3d.ShaderAttributeObjectRetained.AttrWrapper
      extended by javax.media.j3d.ShaderAttributeArrayRetained.ArrayWrapper
          extended by javax.media.j3d.ShaderAttributeArrayRetained.FloatArrayWrapper
Enclosing class:
ShaderAttributeArrayRetained

static class ShaderAttributeArrayRetained.FloatArrayWrapper
extends ShaderAttributeArrayRetained.ArrayWrapper


Field Summary
private  float[] value
           
 
Fields inherited from class javax.media.j3d.ShaderAttributeArrayRetained.ArrayWrapper
length
 
Constructor Summary
ShaderAttributeArrayRetained.FloatArrayWrapper()
           
 
Method Summary
(package private)  java.lang.Object get()
          Returns a copy of the wrapped object
(package private)  java.lang.Object getRef()
          Returns a reference to the internal primitive array used to wrap the object; note that the caller of this method must treat the data as read-only.
(package private)  void set(int index, java.lang.Object value)
          Sets the specified array element of the value of this shader attribute to the specified value.
(package private)  void set(java.lang.Object value)
          Stores a copy of the specified object in the wrapper object
 
Methods inherited from class javax.media.j3d.ShaderAttributeArrayRetained.ArrayWrapper
length
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

private float[] value
Constructor Detail

ShaderAttributeArrayRetained.FloatArrayWrapper

ShaderAttributeArrayRetained.FloatArrayWrapper()
Method Detail

set

void set(java.lang.Object value)
Description copied from class: ShaderAttributeObjectRetained.AttrWrapper
Stores a copy of the specified object in the wrapper object

Specified by:
set in class ShaderAttributeObjectRetained.AttrWrapper

set

void set(int index,
         java.lang.Object value)
Description copied from class: ShaderAttributeArrayRetained.ArrayWrapper
Sets the specified array element of the value of this shader attribute to the specified value.

Specified by:
set in class ShaderAttributeArrayRetained.ArrayWrapper

get

java.lang.Object get()
Description copied from class: ShaderAttributeObjectRetained.AttrWrapper
Returns a copy of the wrapped object

Specified by:
get in class ShaderAttributeObjectRetained.AttrWrapper

getRef

java.lang.Object getRef()
Description copied from class: ShaderAttributeObjectRetained.AttrWrapper
Returns a reference to the internal primitive array used to wrap the object; note that the caller of this method must treat the data as read-only. It is intended only as a means to pass data down to native methods.

Specified by:
getRef in class ShaderAttributeObjectRetained.AttrWrapper


Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.