Class NumberFontWeight

  • All Implemented Interfaces:
    FontWeight

    @Immutable
    public final class NumberFontWeight
    extends java.lang.Object
    implements FontWeight
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private float weight  
    • Constructor Summary

      Constructors 
      Constructor Description
      NumberFontWeight​(float weight)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      java.lang.String toString()  
      int weight​(int parentWeight)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • weight

        private final float weight
    • Constructor Detail

      • NumberFontWeight

        public NumberFontWeight​(float weight)
    • Method Detail

      • weight

        public int weight​(int parentWeight)
        Specified by:
        weight in interface FontWeight
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object