Class RenderLength


  • public final class RenderLength
    extends Object
    Creation-Date: 09.07.2006, 21:03:12
    Author:
    Thomas Morgner
    • Constructor Detail

      • RenderLength

        public RenderLength​(long value,
                            boolean percentage)
    • Method Detail

      • getValue

        public long getValue()
      • isPercentage

        public boolean isPercentage()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • resolve

        public long resolve​(long parent)
      • resolve

        public long resolve​(long parent,
                            long auto)
      • resolveLength

        public static long resolveLength​(long parent,
                                         double rawvalue)
      • createFromRaw

        public static RenderLength createFromRaw​(double rawValue)
      • createPercentage

        public static RenderLength createPercentage​(double rawValue)
      • resolveToRenderLength

        public RenderLength resolveToRenderLength​(long parent)