1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package org.apache.myfaces.tobago.internal.component;
21
22 import org.apache.myfaces.tobago.layout.MeasureList;
23 import org.apache.myfaces.tobago.layout.SegmentJustify;
24
25
26
27
28
29
30 public abstract class AbstractUISegmentLayout extends AbstractUILayoutBase {
31
32 public static final String COMPONENT_FAMILY = "org.apache.myfaces.tobago.SegmentLayout";
33
34 @Override
35 public String toString() {
36 final StringBuilder builder = new StringBuilder(getClass().getSimpleName());
37 if (getExtraSmall() != null) {
38 builder.append("\n extraSmall=");
39 builder.append(getExtraSmall());
40 }
41 if (getSmall() != null) {
42 builder.append("\n small=");
43 builder.append(getSmall());
44 }
45 if (getMedium() != null) {
46 builder.append("\n medium=");
47 builder.append(getMedium());
48 }
49 if (getLarge() != null) {
50 builder.append("\n large=");
51 builder.append(getLarge());
52 }
53 if (getLarge() != null) {
54 builder.append("\n extraLarge=");
55 builder.append(getExtraLarge());
56 }
57 return builder.toString();
58 }
59
60 public abstract MeasureList getExtraSmall();
61
62 public abstract MeasureList getSmall();
63
64 public abstract MeasureList getMedium();
65
66 public abstract MeasureList getLarge();
67
68 public abstract MeasureList getExtraLarge();
69
70 public abstract String getMarginExtraSmall();
71
72 public abstract String getMarginSmall();
73
74 public abstract String getMarginMedium();
75
76 public abstract String getMarginLarge();
77
78 public abstract String getMarginExtraLarge();
79
80 public abstract SegmentJustify getJustify();
81 }