Package ca.cgjennings.layout
Class WidthStyleFactory
- java.lang.Object
-
- ca.cgjennings.layout.WidthStyleFactory
-
- All Implemented Interfaces:
ParametricStyleFactory
public class WidthStyleFactory extends java.lang.Object implements ParametricStyleFactory
Produce different text widths based on the parameter to the width tag.- Author:
- Chris Jennings
-
-
Constructor Summary
Constructors Constructor Description WidthStyleFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TextStyle
createStyle(MarkupRenderer renderer, java.lang.String[] parameters)
static WidthStyleFactory
getShared()
-
-
-
Method Detail
-
createStyle
public TextStyle createStyle(MarkupRenderer renderer, java.lang.String[] parameters)
- Specified by:
createStyle
in interfaceParametricStyleFactory
-
getShared
public static final WidthStyleFactory getShared()
-
-