public class CSSFormat extends Object
Constructor and Description |
---|
CSSFormat() |
Modifier and Type | Method and Description |
---|---|
String |
getNewLine() |
String |
getPropertiesIndent() |
boolean |
getPropertiesInSeparateLines() |
boolean |
isRgbAsHex() |
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.
|
CSSFormat |
setRgbAsHex(boolean rgbAsHex) |
CSSFormat |
setUseSingleQuotes(boolean useSingleQuotes) |
CSSFormat |
setUseSourceStringValues(boolean useSourceStringValues) |
boolean |
useSingleQuotes() |
boolean |
useSourceStringValues() |
public boolean isRgbAsHex()
public CSSFormat setRgbAsHex(boolean rgbAsHex)
public boolean useSourceStringValues()
public CSSFormat setUseSourceStringValues(boolean useSourceStringValues)
public boolean useSingleQuotes()
public CSSFormat setUseSingleQuotes(boolean useSingleQuotes)
public boolean getPropertiesInSeparateLines()
public String getPropertiesIndent()
public CSSFormat setPropertiesInSeparateLines(int anIndent)
anIndent
- the number of blanks used for indentationpublic String getNewLine()
Copyright © 1999–2022. All rights reserved.