instantreality 1.0

Field

All field objects provide the functions declared in this class.

Properties

TypePropertyDescriptionStandard

Functions

Return typeFunctionDescriptionStandard
StringgetName()

Returns the name of this field.

X3D3.0
numericgetType()

Returns the type of this field encoded as one of the constant values defined in the X3DConstants object.

X3D3.0
boolisReadable()

Returns true if this field is currently readable; false, otherwise.

X3D3.0
boolisWritable()

Returns true if this field is currently writable; false, otherwise.

X3D3.0
voidaddFieldCallback(String callbackFuncName, object callbackFuncObj)

The string is the name of the callback function to use. The object is any arbitrary identifying object that user code wishes to associate with the callback.

X3D3.0
voidremoveFieldCallback(String callbackFuncName)

The string is the name of the callback function to be removed on this field.

X3D3.0
ObjectgetValue()

Returns the value of the field.

Avalon
voidsetValue(Object o)

Sets the value of the field.

Avalon