Subversion Repository Public Repository

litesoft

Diff Revisions 150 vs 151 for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/datatables/PaddingProperty.java

Diff revisions: vs.
  @@ -5,10 +5,10 @@
5 5
6 6 public class PaddingProperty extends ColumnProperty
7 7 {
8 - private static PaddingProperty sDefaultLeft = new PaddingProperty(4);
9 - private static PaddingProperty sDefaultRight = new PaddingProperty(4);
10 - private static PaddingProperty sDefaultTop = new PaddingProperty(4);
11 - private static PaddingProperty sDefaultBottom = new PaddingProperty(4);
8 + private static PaddingProperty sDefaultLeft = new PaddingProperty( 4 );
9 + private static PaddingProperty sDefaultRight = new PaddingProperty( 4 );
10 + private static PaddingProperty sDefaultTop = new PaddingProperty( 4 );
11 + private static PaddingProperty sDefaultBottom = new PaddingProperty( 4 );
12 12
13 13 public static final Type<PaddingProperty> LEFT = new Type<PaddingProperty>()
14 14 {
  @@ -51,9 +51,9 @@
51 51 return sDefaultLeft.getValue();
52 52 }
53 53
54 - public static void setDefaultLeft(int pValue)
54 + public static void setDefaultLeft( int pValue )
55 55 {
56 - sDefaultLeft = new PaddingProperty(pValue);
56 + sDefaultLeft = new PaddingProperty( pValue );
57 57 }
58 58
59 59 public static int getDefaultRight()
  @@ -61,9 +61,9 @@
61 61 return sDefaultRight.getValue();
62 62 }
63 63
64 - public static void setDefaultRight(int pValue)
64 + public static void setDefaultRight( int pValue )
65 65 {
66 - sDefaultRight = new PaddingProperty(pValue);
66 + sDefaultRight = new PaddingProperty( pValue );
67 67 }
68 68
69 69 public static int getDefaultTop()
  @@ -71,9 +71,9 @@
71 71 return sDefaultTop.getValue();
72 72 }
73 73
74 - public static void setDefaultTop(int pValue)
74 + public static void setDefaultTop( int pValue )
75 75 {
76 - sDefaultTop = new PaddingProperty(pValue);
76 + sDefaultTop = new PaddingProperty( pValue );
77 77 }
78 78
79 79 public static int getDefaultBottom()
  @@ -81,22 +81,22 @@
81 81 return sDefaultBottom.getValue();
82 82 }
83 83
84 - public static void setDefaultBottom(int pValue)
84 + public static void setDefaultBottom( int pValue )
85 85 {
86 - sDefaultBottom = new PaddingProperty(pValue);
86 + sDefaultBottom = new PaddingProperty( pValue );
87 87 }
88 88
89 - public static void setDefaults(int pTop, int pRight, int pBottom, int pLeft)
89 + public static void setDefaults( int pTop, int pRight, int pBottom, int pLeft )
90 90 {
91 - setDefaultTop(pTop);
92 - setDefaultRight(pRight);
93 - setDefaultBottom(pBottom);
94 - setDefaultLeft(pLeft);
91 + setDefaultTop( pTop );
92 + setDefaultRight( pRight );
93 + setDefaultBottom( pBottom );
94 + setDefaultLeft( pLeft );
95 95 }
96 96
97 97 private final int mValue;
98 98
99 - private PaddingProperty(int pValue)
99 + private PaddingProperty( int pValue )
100 100 {
101 101 mValue = pValue;
102 102 }