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