Class X3DConcreteField

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.lang.StringBuilder validationResult
      Results log of local validation.
    • Method Summary

      Modifier and Type Method 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • validationResult

        protected static java.lang.StringBuilder validationResult
        Results log of local validation.
    • Constructor Detail

      • X3DConcreteField

        public X3DConcreteField()
    • Method Detail

      • getValidationResult

        public java.lang.String getValidationResult()
        Get output of results from prior validation, if any
        Returns:
        validation results (if any)
      • getTupleSize

        public static int getTupleSize​(java.lang.String fieldType)
        Compute tuple size for given type (for example, SFVec3f and MFVec3f have tupleSize of 3).
        Parameters:
        fieldType - of interest
        Returns:
        tuple size
      • initialize

        public abstract void initialize()
        Initialization sets default initial value.