org.jfree.layouting.input.style.parser.stylehandler.border

Class BorderWidthReadHandler

Implemented Interfaces:
CSSCompoundValueReadHandler, CSSValueReadHandler
Known Direct Subclasses:
ColumnRuleWidthReadHandler, TextDecorationWidthReadHandler

public class BorderWidthReadHandler
extends AbstractWidthReadHandler
implements CSSCompoundValueReadHandler

Creation-Date: 27.11.2005, 19:07:11
Author:
Thomas Morgner

Constructor Summary

BorderWidthReadHandler()
BorderWidthReadHandler(boolean allowPercentages, boolean allowAuto)

Method Summary

Map
createValues(LexicalUnit unit)
Parses the LexicalUnit and returns a map of (StyleKey, CSSValue) pairs.
StyleKey[]
getAffectedKeys()
protected CSSValue
parseWidth(LexicalUnit value)

Methods inherited from class org.jfree.layouting.input.style.parser.stylehandler.AbstractWidthReadHandler

createValue, isAllowAuto, isAllowPercentages, parseWidth

Constructor Details

BorderWidthReadHandler

public BorderWidthReadHandler()

BorderWidthReadHandler

protected BorderWidthReadHandler(boolean allowPercentages,
                                 boolean allowAuto)

Method Details

createValues

public Map createValues(LexicalUnit unit)
Parses the LexicalUnit and returns a map of (StyleKey, CSSValue) pairs.
Specified by:
createValues in interface CSSCompoundValueReadHandler
Parameters:
unit -
Returns:

getAffectedKeys

public StyleKey[] getAffectedKeys()
Specified by:
getAffectedKeys in interface CSSCompoundValueReadHandler

parseWidth

protected CSSValue parseWidth(LexicalUnit value)
Overrides:
parseWidth in interface AbstractWidthReadHandler