[]
        
(Showing Draft Content)

FontInfo

Class FontInfo

java.lang.Object
com.grapecity.documents.excel.FontInfo

public final class FontInfo extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    boolean
    A bool value indicates whether the font is bold.
    boolean
    A bool value indicates whether the font is italic.
    Get or sets the name of font.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Check if the font info equals to another.
    int
    Returns a hash code for this instance.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • name

      public String name
      Get or sets the name of font.
    • bold

      public boolean bold
      A bool value indicates whether the font is bold.
    • italic

      public boolean italic
      A bool value indicates whether the font is italic.
  • Constructor Details

    • FontInfo

      public FontInfo()
  • Method Details

    • equals

      public boolean equals(Object obj)
      Check if the font info equals to another.
      Overrides:
      equals in class Object
      Parameters:
      obj - Another font info.
      Returns:
      True if the specified object is equal to this object, False otherwise.
    • hashCode

      public int hashCode()
      Returns a hash code for this instance.
      Overrides:
      hashCode in class Object
      Returns:
      A hash code for this instance, suitable for use in hashing algorithmsand data structures like a hash table.