code: @Nonnegative
    public float getEffectiveValue (final float fAvailableHeight)
    {
      switch (m_eType)
      {
        case ABSOLUTE:
          return Math.min (m_fValue, fAvailableHeight);
        case PERCENTAGE:
          return fAvailableHeight * m_fValue / 100;
        default:
          throw new IllegalStateException ("Unsupported: " + m_eType + " - must be calculated outside!");
      }
    }
docs: Get the effective height based on the passed available height. This may not
  be called for star or auto height elements.
  
  @param fAvailableHeight
  The available height.
  @return The effective height to use.