1 package net.sourceforge.barbecue.output;
2
3 public class LabelLayoutFactory {
4
5 public static LabelLayout createOriginLayout(int x, int y) {
6 return new DefaultLabelLayout(x, y);
7 }
8
9 public static LabelLayout createCenteredLayout(int x, int y, int width) {
10 return new CenteredLabelLayout(x, y, width);
11 }
12
13 public static LabelLayout createMarginLayout(int x, int y, int width, int height) {
14 return new MarginLabelLayout(x, y, width, height);
15 }
16 }