public abstract class X3DConcreteField extends java.lang.Object implements X3DField
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.StringBuilder |
validationResult
Results log of local validation.
|
| Constructor and Description |
|---|
X3DConcreteField() |
| Modifier and Type | Method and Description |
|---|---|
void |
addX3DEventListener(X3DFieldEventListener newListener)
WARNING not tested
|
X3DConcreteFieldDefinition |
getDefinition()
WARNING not implemented
|
static int |
getTupleSize(java.lang.String fieldType)
Compute tuple size for given type (for example, SFVec3f and MFVec3f have tupleSize of 3).
|
java.lang.String |
getValidationResult()
Get output of results from prior validation, if any
|
abstract void |
initialize()
Initialization sets default initial value.
|
boolean |
isReadable()
Check whether field is readable, default /true/
|
boolean |
isWritable()
Check whether field is writable, default /true/
|
void |
removeX3DEventListener(X3DFieldEventListener listener)
WARNING not tested
|
void |
setReadable(boolean newValue)
Set whether field is readable
|
void |
setWritable(boolean newValue)
Set whether field is writable
|
protected static java.lang.StringBuilder validationResult
public java.lang.String getValidationResult()
public X3DConcreteFieldDefinition getDefinition()
getDefinition in interface X3DFieldpublic boolean isReadable()
isReadable in interface X3DFieldfieldObject.getAccessType(),
X3D Tooltips: accessTypepublic void setReadable(boolean newValue)
newValue - new status for readablefieldObject.getAccessType(),
X3D Tooltips: accessTypepublic boolean isWritable()
isWritable in interface X3DFieldfieldObject.getAccessType(),
X3D Tooltips: accessTypepublic void setWritable(boolean newValue)
newValue - new status for writablefieldObject.getAccessType(),
X3D Tooltips: accessTypepublic void addX3DEventListener(X3DFieldEventListener newListener)
addX3DEventListener in interface X3DFieldnewListener - The listener to addpublic void removeX3DEventListener(X3DFieldEventListener listener)
removeX3DEventListener in interface X3DFieldlistener - The listener to removepublic static int getTupleSize(java.lang.String fieldType)
fieldType - of interestpublic abstract void initialize()
Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.