Subversion Repository Public Repository

litesoft

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.foundation.client.widget.table.datatableadapter;

import com.google.gwt.cell.client.*;
import com.temp.foundation.client.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 );
    }
}

Commits for litesoft/trunk/GWT_Sandbox/FormEngine/src/com/temp/foundation/client/widget/table/datatableadapter/DisableableCheckboxCell.java

Diff revisions: vs.
Revision Author Commited Message
965 GeorgeS picture GeorgeS Fri 01 Aug, 2014 03:20:35 +0000

!