Class HeaderStyles


  • public class HeaderStyles
    extends Object
    Control the display of the header..
    • Constructor Detail

      • HeaderStyles

        public HeaderStyles()
    • Method Detail

      • getColor

        public String getColor()
        Control the fore-ground color of the element..
        Returns:
        color
      • setColor

        public void setColor​(String color)
        setColor.
      • getDisplay

        public HeaderStyles.DisplayEnum getDisplay()
        Control the display of the header. Can only be set to 'none' over the default for hiding purposes..
        Returns:
        display
      • fontFamily

        public HeaderStyles fontFamily​(String fontFamily)
        fontFamily.
        Returns:
        HeaderStyles
      • getFontFamily

        public String getFontFamily()
        Control the font family of the text..
        Returns:
        fontFamily
      • setFontFamily

        public void setFontFamily​(String fontFamily)
        setFontFamily.
      • fontSize

        public HeaderStyles fontSize​(String fontSize)
        fontSize.
        Returns:
        HeaderStyles
      • getFontSize

        public String getFontSize()
        Control the font size of the text..
        Returns:
        fontSize
      • setFontSize

        public void setFontSize​(String fontSize)
        setFontSize.
      • fontStyle

        public HeaderStyles fontStyle​(String fontStyle)
        fontStyle.
        Returns:
        HeaderStyles
      • getFontStyle

        public String getFontStyle()
        Control the font style of the text..
        Returns:
        fontStyle
      • setFontStyle

        public void setFontStyle​(String fontStyle)
        setFontStyle.
      • fontWeight

        public HeaderStyles fontWeight​(Object fontWeight)
        fontWeight.
        Returns:
        HeaderStyles
      • getFontWeight

        public Object getFontWeight()
        Control the font weight of the text..
        Returns:
        fontWeight
      • setFontWeight

        public void setFontWeight​(Object fontWeight)
        setFontWeight.
      • textDecoration

        public HeaderStyles textDecoration​(String textDecoration)
        textDecoration.
        Returns:
        HeaderStyles
      • getTextDecoration

        public String getTextDecoration()
        Control the underline and other styles of the text..
        Returns:
        textDecoration
      • setTextDecoration

        public void setTextDecoration​(String textDecoration)
        setTextDecoration.
      • equals

        public boolean equals​(Object o)
        Compares objects.
        Overrides:
        equals in class Object
        Returns:
        true or false depending on comparison result.
      • hashCode

        public int hashCode()
        Returns the HashCode.
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Converts the given object to string.
        Overrides:
        toString in class Object