org.jfree.layouting.input.swing.converter
Class ParagraphConverter
java.lang.Object
org.jfree.layouting.input.swing.converter.ParagraphConverter
- Converter
public class ParagraphConverter
extends java.lang.Object
This class handles convertions of paragraph style attributes to css style attributes.
ParagraphConverter
public ParagraphConverter()
convertToCSS
public 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.
A conversion can result in more than one key and value.
- convertToCSS in interface Converter
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.
- The conversion result or null if no converstion has been done.