Field
All field objects provide the functions declared in this class.
Properties
Type | Property | Description | Standard |
---|
Functions
Return type | Function | Description | Standard |
---|---|---|---|
String | getName() | Returns the name of this field.
| X3D3.0 |
numeric | getType() | Returns the type of this field encoded as one of the constant values defined in the X3DConstants object.
| X3D3.0 |
bool | isReadable() | Returns true if this field is currently readable; false, otherwise.
| X3D3.0 |
bool | isWritable() | Returns true if this field is currently writable; false, otherwise.
| X3D3.0 |
void | addFieldCallback(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 |
void | removeFieldCallback(String callbackFuncName) | The string is the name of the callback function to be removed on this field.
| X3D3.0 |
Object | getValue() | Returns the value of the field.
| Avalon |
void | setValue(Object o) | Sets the value of the field.
| Avalon |