Xj3D 2.0 VRML/X3D Code API

vrml.eai.field
Class BaseField

java.lang.Object
  extended by vrml.eai.field.BaseField
Direct Known Subclasses:
EventIn, EventOut

public abstract class BaseField
extends java.lang.Object

The base representation of any VRML field. Provides a core set of services that all field types can use for introspection of classes.

Version:
1.0 7th March 1998

Field Summary
protected  int fieldType
          The type of values that this field represents.
static int MFColor
           
static int MFFloat
           
static int MFInt32
           
static int MFNode
           
static int MFRotation
           
static int MFString
           
static int MFTime
           
static int MFVec2f
           
static int MFVec3f
           
static int SFBool
           
static int SFColor
           
static int SFFloat
           
static int SFImage
           
static int SFInt32
           
static int SFNode
           
static int SFRotation
           
static int SFString
           
static int SFTime
           
static int SFVec2f
           
static int SFVec3f
           
protected static int UNSET_FIELD
           
 
Constructor Summary
protected BaseField(int type)
          Construct a new instance of a field.
 
Method Summary
 int getType()
          Get the basic type of this field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SFBool

public static final int SFBool
See Also:
Constant Field Values

SFColor

public static final int SFColor
See Also:
Constant Field Values

SFFloat

public static final int SFFloat
See Also:
Constant Field Values

SFImage

public static final int SFImage
See Also:
Constant Field Values

SFInt32

public static final int SFInt32
See Also:
Constant Field Values

SFNode

public static final int SFNode
See Also:
Constant Field Values

SFRotation

public static final int SFRotation
See Also:
Constant Field Values

SFString

public static final int SFString
See Also:
Constant Field Values

SFTime

public static final int SFTime
See Also:
Constant Field Values

SFVec2f

public static final int SFVec2f
See Also:
Constant Field Values

SFVec3f

public static final int SFVec3f
See Also:
Constant Field Values

MFColor

public static final int MFColor
See Also:
Constant Field Values

MFFloat

public static final int MFFloat
See Also:
Constant Field Values

MFInt32

public static final int MFInt32
See Also:
Constant Field Values

MFNode

public static final int MFNode
See Also:
Constant Field Values

MFRotation

public static final int MFRotation
See Also:
Constant Field Values

MFString

public static final int MFString
See Also:
Constant Field Values

MFTime

public static final int MFTime
See Also:
Constant Field Values

MFVec2f

public static final int MFVec2f
See Also:
Constant Field Values

MFVec3f

public static final int MFVec3f
See Also:
Constant Field Values

UNSET_FIELD

protected static final int UNSET_FIELD
See Also:
Constant Field Values

fieldType

protected int fieldType
The type of values that this field represents.

Constructor Detail

BaseField

protected BaseField(int type)
Construct a new instance of a field.

Parameters:
type - The type of the field
Method Detail

getType

public int getType()
Get the basic type of this field.

Returns:
The type as defined by one of the above values

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium