de.enough.polish.preprocess.borders
Class TopBorderConverter
java.lang.Object
de.enough.polish.preprocess.css.Converter
de.enough.polish.preprocess.css.BorderConverter
de.enough.polish.preprocess.borders.TopBorderConverter
public class TopBorderConverter
- extends BorderConverter
Creates the source code for a simple border.
Copyright Enough Software 2004 - 2011
history
10-Mar-2004 - rob creation
- Author:
- Robert Virkus, robert@enough.de
| 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 |
TopBorderConverter
public TopBorderConverter()
- Creates a new simple border creator
createNewStatement
protected String createNewStatement(AttributesGroup border,
Style style,
StyleSheet styleSheet)
throws BuildException
- Description copied from class:
BorderConverter
- Creates the J2ME code for a new border based on the given properties.
- Specified by:
createNewStatement in class BorderConverter
- Parameters:
border - the map containing all border settingsstyle - the parent stylestyleSheet - the style-sheet into which the style is embedded
- Returns:
- the new statement, e.g. "new de.enough.polish.ui.borders.SimpleBorder( 0x000000, 1 )"
no semicolon or comma must appended.
- Throws:
BuildException - when there are invalid CSS declarations in the given background