Subversion Repository Public Repository

litesoft

Diff Revisions 947 vs 948 for /trunk/GWT_Sandbox/FormEngine/src/com/temp/client/foundation/widget/table/datatableadapter/DisableableCheckboxCell.java

Diff revisions: vs.
  @@ -1,22 +1,20 @@
1 1 package com.temp.client.foundation.widget.table.datatableadapter;
2 2
3 -
4 - import com.temp.client.foundation.widget.table.cell.AbstractDisableableBooleanEditableCell;
5 -
6 - import com.google.gwt.cell.client.CheckboxCell;
3 + import com.google.gwt.cell.client.*;
4 + import com.temp.client.foundation.widget.table.cell.*;
7 5
8 6 public abstract class DisableableCheckboxCell extends AbstractDisableableBooleanEditableCell {
9 7 private static CellHtmlProvider HTML_PROVIDER = new CellHtmlProvider( //
10 - "<input type='checkbox' tabindex='-1' checked/>", //
11 - "<input type='checkbox' tabindex='-1'/>", //
12 - "<input type='checkbox' tabindex='-1' disabled='disabled' checked/>", //
13 - "<input type='checkbox' tabindex='-1' disabled='disabled'/>");
8 + "<input type='checkbox' tabindex='-1' checked/>", //
9 + "<input type='checkbox' tabindex='-1'/>", //
10 + "<input type='checkbox' tabindex='-1' disabled='disabled' checked/>", //
11 + "<input type='checkbox' tabindex='-1' disabled='disabled'/>" );
14 12
15 13 /**
16 14 * Construct a new {@link CheckboxCell}.
17 15 */
18 16 public DisableableCheckboxCell() {
19 - this(false);
17 + this( false );
20 18 }
21 19
22 20 /**
  @@ -24,17 +22,17 @@
24 22 *
25 23 * @param isSelectBox true if the cell controls the selection state
26 24 */
27 - public DisableableCheckboxCell(boolean isSelectBox) {
28 - this(isSelectBox, isSelectBox);
25 + public DisableableCheckboxCell( boolean isSelectBox ) {
26 + this( isSelectBox, isSelectBox );
29 27 }
30 28
31 29 /**
32 30 * Construct a new {@link CheckboxCell} that optionally controls selection.
33 31 *
34 32 * @param dependsOnSelection true if the cell depends on the selection state
35 - * @param handlesSelection true if the cell modifies the selection state
33 + * @param handlesSelection true if the cell modifies the selection state
36 34 */
37 - public DisableableCheckboxCell(boolean dependsOnSelection, boolean handlesSelection) {
38 - super(dependsOnSelection, handlesSelection, HTML_PROVIDER);
35 + public DisableableCheckboxCell( boolean dependsOnSelection, boolean handlesSelection ) {
36 + super( dependsOnSelection, handlesSelection, HTML_PROVIDER );
39 37 }
40 38 }