Class LengthValue

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected float value  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected LengthValue​(TemplateValue.ValueType type, float value)
      Init a breadth value with a given type and value.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      float getValue()
      Gets length value.
      • Methods inherited from class java.lang.Object

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

      • value

        protected float value
    • Constructor Detail

      • LengthValue

        protected LengthValue​(TemplateValue.ValueType type,
                              float value)
        Init a breadth value with a given type and value.
        Parameters:
        type - value type
        value - length value
    • Method Detail

      • getValue

        public float getValue()
        Gets length value.
        Returns:
        length value