iicm.vrml.pw
Class SFImage

java.lang.Object
  extended by iicm.vrml.pw.Field
      extended by iicm.vrml.pw.MultiField
          extended by iicm.vrml.pw.MFInt32
              extended by iicm.vrml.pw.SFImage

public class SFImage
extends MFInt32

SFImage - Field that holds an array of ints (32 bit) Copyright (c) 1996,97 IICM

Version:
0.1, latest change: 20 Jan 97
Author:
Michael Pichler, Karin Roschker

Field Summary
(package private) static int[] defimage
           
 
Fields inherited from class iicm.vrml.pw.MFInt32
values
 
Fields inherited from class iicm.vrml.pw.Field
changed, class_, F_EVENTIN, F_EVENTOUT, F_EXPOSEDFIELD, F_FIELD, fieldClassName, IS_KEYWORD, protoIS, protoIScontent, protoISfield, protoISname, readerror, receiver_, STR_EVENTIN, STR_EVENTOUT, STR_EXPOSEDFIELD, STR_FALSE, STR_FIELD, STR_NULL, STR_TRUE, STR_X3d_EVENTIN, STR_X3d_EVENTOUT, STR_X3d_EXPOSEDFIELD, STR_X3d_FIELD, timeOfChange_
 
Constructor Summary
SFImage()
           
SFImage(int[] vals)
           
SFImage(IntArray vals)
           
 
Method Summary
 java.lang.String fieldName()
          the field's type name
(package private)  Field newFieldInstance()
          create a new instance of the prototyped field changed flags etc. will be virgin (not taken from proto field)
(package private)  void readValue(VRMLparser parser)
          read and return field's values
(package private)  void writeValue(java.io.PrintStream os, java.util.Hashtable writtenrefs)
          write field's value(s) to an output stream
(package private)  void writeX3dValue(java.io.PrintStream os, java.util.Hashtable writtenrefs)
          write field's value(s) to an x3d output stream
 
Methods inherited from class iicm.vrml.pw.MFInt32
clearValues, copyValue, getValueCopy, getValueCount, getValueData, read1Value, setValue
 
Methods inherited from class iicm.vrml.pw.Field
addReceiver, disableRoutes, enableRoutes, fieldNameToX3d, getFieldClass, getFieldClassName, getIScontent, readBoolValue, readError, readFieldValue, readFloatValue, readIntValue, readISdeclaration, readISdeclaration, readStringValue, removeReceiver, routeExists, sendEvent, setEventCallback, setFieldClass, setIScontent, wasChanged, writeFieldValue, writeX3dFieldValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defimage

static final int[] defimage
Constructor Detail

SFImage

SFImage()

SFImage

SFImage(int[] vals)

SFImage

SFImage(IntArray vals)
Method Detail

fieldName

public java.lang.String fieldName()
Description copied from class: Field
the field's type name

Overrides:
fieldName in class MFInt32

newFieldInstance

Field newFieldInstance()
Description copied from class: Field
create a new instance of the prototyped field changed flags etc. will be virgin (not taken from proto field)

Overrides:
newFieldInstance in class MFInt32

readValue

void readValue(VRMLparser parser)
         throws java.io.IOException
Description copied from class: MultiField
read and return field's values

Overrides:
readValue in class MultiField
Throws:
java.io.IOException

writeValue

void writeValue(java.io.PrintStream os,
                java.util.Hashtable writtenrefs)
Description copied from class: Field
write field's value(s) to an output stream

Overrides:
writeValue in class MFInt32

writeX3dValue

void writeX3dValue(java.io.PrintStream os,
                   java.util.Hashtable writtenrefs)
Description copied from class: Field
write field's value(s) to an x3d output stream

Overrides:
writeX3dValue in class MFInt32