Subversion Repository Public Repository

litesoft

Diff Revisions 947 vs 948 for /trunk/Java/GWT/Client/src/com/google/gwt/gen2/table/client/property/FooterProperty.java

Diff revisions: vs.
  @@ -20,20 +20,16 @@
20 20 * column. The row indexes start from the top of the footer, such that all
21 21 * footers at the 0th index refer to the row directly below the data table.
22 22 */
23 - public class FooterProperty extends HeaderPropertyBase
24 - {
23 + public class FooterProperty extends HeaderPropertyBase {
25 24 /**
26 25 * Property type.
27 26 */
28 - public static final Type<FooterProperty> TYPE = new Type<FooterProperty>()
29 - {
27 + public static final Type<FooterProperty> TYPE = new Type<FooterProperty>() {
30 28 private FooterProperty instance;
31 29
32 30 @Override
33 - public FooterProperty getDefault()
34 - {
35 - if ( instance == null )
36 - {
31 + public FooterProperty getDefault() {
32 + if ( instance == null ) {
37 33 instance = new FooterProperty();
38 34 }
39 35 return instance;
  @@ -47,8 +43,7 @@
47 43 *
48 44 * @return the footer for the given row
49 45 */
50 - public Object getFooter( int row )
51 - {
46 + public Object getFooter( int row ) {
52 47 return super.getHeader( row );
53 48 }
54 49
  @@ -61,16 +56,14 @@
61 56 *
62 57 * @return the footer for the given row
63 58 */
64 - public Object getFooter( int row, int column )
65 - {
59 + public Object getFooter( int row, int column ) {
66 60 return getFooter( row );
67 61 }
68 62
69 63 /**
70 64 * @return get the number of footers below the column
71 65 */
72 - public int getFooterCount()
73 - {
66 + public int getFooterCount() {
74 67 return super.getHeaderCount();
75 68 }
76 69
  @@ -79,8 +72,7 @@
79 72 *
80 73 * @param row the row index from the top
81 74 */
82 - public void removeFooter( int row )
83 - {
75 + public void removeFooter( int row ) {
84 76 super.removeHeader( row );
85 77 }
86 78
  @@ -92,8 +84,7 @@
92 84 * @param row the row index from the top
93 85 * @param footer the footer
94 86 */
95 - public void setFooter( int row, Object footer )
96 - {
87 + public void setFooter( int row, Object footer ) {
97 88 super.setHeader( row, footer );
98 89 }
99 90
  @@ -102,8 +93,7 @@
102 93 *
103 94 * @param footerCount the number of footers
104 95 */
105 - public void setFooterCount( int footerCount )
106 - {
96 + public void setFooterCount( int footerCount ) {
107 97 super.setHeaderCount( footerCount );
108 98 }
109 99 }