JavaScript is disabled on your browser.
Skip navigation links
com.steadystate.css.format

Class CSSFormat



  • public class CSSFormat
    extends Object 
    Format object that controls the output produced by toString(CssFormat).
    Author:
    rbri
    • Constructor Detail

      • CSSFormat

        public CSSFormat()
    • Method Detail

      • isRgbAsHex

        public boolean isRgbAsHex()
      • setRgbAsHex

        public CSSFormat setRgbAsHex(boolean rgbAsHex)
      • useSourceStringValues

        public boolean useSourceStringValues()
      • setUseSourceStringValues

        public CSSFormat setUseSourceStringValues(boolean useSourceStringValues)
      • useSingleQuotes

        public boolean useSingleQuotes()
      • setUseSingleQuotes

        public CSSFormat setUseSingleQuotes(boolean useSingleQuotes)
      • getPropertiesInSeparateLines

        public boolean getPropertiesInSeparateLines()
      • getPropertiesIndent

        public String getPropertiesIndent()
      • setPropertiesInSeparateLines

        public CSSFormat setPropertiesInSeparateLines(int anIndent)
        If this value is larger than -1 the individual properties from a rule are rendered in separate lines; the parameter defines the indentation level. Set this to -1 to disable the feature (default)
        Parameters:
        anIndent - the number of blanks used for indentation
        Returns:
        the format itself
      • getNewLine

        public String getNewLine()
Skip navigation links

Copyright © 1999–2022. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /