org.jfree.layouting.input.swing.converter
public class FontConverter extends Object implements Converter
Constructor Summary | |
---|---|
FontConverter() |
Method Summary | |
---|---|
ConverterAttributeSet | convertToCSS(Object key, Object value, ConverterAttributeSet cssAttr, Element context)
Converts a style key and a style value to a CSS compatible style key and style value. |
protected ConverterAttributeSet | handleFontConstants(FontConstants fontConstant, Object value)
Handles the convertions of (StyleConstants.FontConstants key type.
|
Parameters: key The style key to convert. value The style value to convert. cssAttr The current converted CSS attributes for the current element. context The current Element.
Returns: The conversion result or null if no converstion has been done.
(StyleConstants.FontConstants
key type.
Parameters: fontConstant The style key. value The style value.
Returns: The conversion result or null if no converstion has been done.