de.enough.polish.preprocess.backgrounds
Class DoubleGradientVerticalBackgroundConverter
java.lang.Object
de.enough.polish.preprocess.css.Converter
de.enough.polish.preprocess.css.BackgroundConverter
de.enough.polish.preprocess.backgrounds.DoubleGradientVerticalBackgroundConverter
public class DoubleGradientVerticalBackgroundConverter
- extends BackgroundConverter
Converter for de.enough.polish.ui.backgrounds.GradientVerticalBackground.
- Author:
- Tim Muders
| Methods inherited from class de.enough.polish.preprocess.css.Converter |
getUrl, isAlphaColor, parseAnchor, parseBoolean, parseColor, parseFloat, parseInt, parseInt, parseStroke, print, setColorConverter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DoubleGradientVerticalBackgroundConverter
public DoubleGradientVerticalBackgroundConverter()
createNewStatement
protected String createNewStatement(AttributesGroup map,
Style stlye,
StyleSheet styleSheet)
throws BuildException
- Description copied from class:
BackgroundConverter
- Creates the statement for a new background based on the given properties.
- Specified by:
createNewStatement in class BackgroundConverter
- Parameters:
map - the map containing all background settingsstlye - the parent stylestyleSheet - the style-sheet into which the style is embedded
- Returns:
- the new statement, e.g. "new de.enough.polish.ui.backgrounds.SimpleBackground( 0x000000 )"
no semicolon or comma must appended.
- Throws:
BuildException - when there are invalid CSS declarations in the given background