M3GToolkit 0.5.0

com.java4ever.m3g
Class HeaderObject

java.lang.Object
  extended bycom.java4ever.m3g.M3GObject
      extended bycom.java4ever.m3g.HeaderObject

public class HeaderObject
extends M3GObject


Field Summary
 
Fields inherited from class com.java4ever.m3g.M3GObject
ANIMATION_CONTROLLER, ANIMATION_TRACK, APPEARANCE, BACKGROUND, CAMERA, COMPOSITING_MODE, EXTERNAL_REFERENCE, FOG, GROUP, HEADER, IMAGE2D, KEYFRAME_SEQUENCE, LIGHT, MATERIAL, MESH, MORPHING_MESH, POLYGON_MODE, SKINNED_MESH, SPRITE3D, TEXTURE2D, TRIANGLE_STRIP_ARRAY, VERTEX_ARRAY, VERTEX_BUFFER, WORLD
 
Constructor Summary
HeaderObject()
           
 
Method Summary
 int getApproximateContentSize()
           
 java.lang.String getAuthoringField()
           
 int getObjectType()
           
 int getTotalFileSize()
           
 byte getVersionMayor()
           
 byte getVersionMinor()
           
 boolean isHasExternalReferences()
           
protected  void read(M3GInputStream is, java.util.ArrayList table)
           
 void setApproximateContentSize(int approximateContentSize)
           
 void setAuthoringField(java.lang.String authoringField)
           
 void setHasExternalReferences(boolean hasExternalReferences)
           
 void setTotalFileSize(int totalFileSize)
           
 void setVersionMayor(byte versionMayor)
           
 void setVersionMinor(byte versionMinor)
           
protected  void write(M3GOutputStream os, java.util.ArrayList table)
           
 
Methods inherited from class com.java4ever.m3g.M3GObject
buildReferenceTable, getObjectAtIndex, isRoot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeaderObject

public HeaderObject()
Method Detail

getVersionMayor

public byte getVersionMayor()

setVersionMayor

public void setVersionMayor(byte versionMayor)

getVersionMinor

public byte getVersionMinor()

setVersionMinor

public void setVersionMinor(byte versionMinor)

isHasExternalReferences

public boolean isHasExternalReferences()

setHasExternalReferences

public void setHasExternalReferences(boolean hasExternalReferences)

getTotalFileSize

public int getTotalFileSize()

setTotalFileSize

public void setTotalFileSize(int totalFileSize)

getApproximateContentSize

public int getApproximateContentSize()

setApproximateContentSize

public void setApproximateContentSize(int approximateContentSize)

getAuthoringField

public java.lang.String getAuthoringField()

setAuthoringField

public void setAuthoringField(java.lang.String authoringField)

getObjectType

public int getObjectType()
Specified by:
getObjectType in class M3GObject

read

protected void read(M3GInputStream is,
                    java.util.ArrayList table)
             throws java.io.IOException
Specified by:
read in class M3GObject
Throws:
java.io.IOException

write

protected void write(M3GOutputStream os,
                     java.util.ArrayList table)
              throws java.io.IOException
Specified by:
write in class M3GObject
Throws:
java.io.IOException

M3GToolkit 0.5.0

Copyright 2005 java4ever.com. All Rights Reserved.