Subversion Repository Public Repository

litesoft

Diff Revisions 475 vs 948 for /trunk/Java/GWT/Client/src/com/google/gwt/gen2/table/client/CellEditor.java

Diff revisions: vs.
  @@ -20,16 +20,14 @@
20 20 *
21 21 * @param <ColType> the data type of the column
22 22 */
23 - public interface CellEditor<ColType>
24 - {
23 + public interface CellEditor<ColType> {
25 24 /**
26 25 * Callback for {@link CellEditor}. The callback will be used when the user
27 26 * finishes editing the cell.
28 27 *
29 28 * @param <ColType> the data type of the column
30 29 */
31 - public static interface Callback<ColType>
32 - {
30 + public static interface Callback<ColType> {
33 31 /**
34 32 * Use this callback to return a new row value to the table.
35 33 *
  @@ -49,8 +47,7 @@
49 47 /**
50 48 * The information about the cell to edit.
51 49 */
52 - public static class CellEditInfo
53 - {
50 + public static class CellEditInfo {
54 51 /**
55 52 * The cell index.
56 53 */
  @@ -73,8 +70,7 @@
73 70 * @param rowIndex the row index
74 71 * @param cellIndex the cell index
75 72 */
76 - public CellEditInfo( HTMLTable table, int rowIndex, int cellIndex )
77 - {
73 + public CellEditInfo( HTMLTable table, int rowIndex, int cellIndex ) {
78 74 this.table = table;
79 75 this.rowIndex = rowIndex;
80 76 this.cellIndex = cellIndex;
  @@ -83,24 +79,21 @@
83 79 /**
84 80 * @return the cell index
85 81 */
86 - public int getCellIndex()
87 - {
82 + public int getCellIndex() {
88 83 return cellIndex;
89 84 }
90 85
91 86 /**
92 87 * @return the row index
93 88 */
94 - public int getRowIndex()
95 - {
89 + public int getRowIndex() {
96 90 return rowIndex;
97 91 }
98 92
99 93 /**
100 94 * @return the table that opened the editor
101 95 */
102 - public HTMLTable getTable()
103 - {
96 + public HTMLTable getTable() {
104 97 return table;
105 98 }
106 99 }