Package ca.cgjennings.layout
Class WeightStyleFactory
- java.lang.Object
-
- ca.cgjennings.layout.WeightStyleFactory
-
- All Implemented Interfaces:
ParametricStyleFactory
public class WeightStyleFactory 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 WeightStyleFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TextStyle
createStyle(MarkupRenderer renderer, java.lang.String[] parameters)
static WeightStyleFactory
getShared()
-
-
-
Method Detail
-
createStyle
public TextStyle createStyle(MarkupRenderer renderer, java.lang.String[] parameters)
- Specified by:
createStyle
in interfaceParametricStyleFactory
-
getShared
public static final WeightStyleFactory getShared()
-
-