litesoft
Diff Revisions
949
vs
950
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/datatables/RadioButtonSelectRegularTable.java
|
@@ -1,20 +1,20 @@ |
1 |
|
- |
// This Source Code is in the Public Domain per: http://unlicense.org |
2 |
|
- |
package org.litesoft.GWT.client.widgets.datatables; |
3 |
|
- |
|
4 |
|
- |
import com.google.gwt.event.logical.shared.*; |
5 |
|
- |
|
6 |
|
- |
public class RadioButtonSelectRegularTable<T> extends RegularTable<T> { |
7 |
|
- |
public RadioButtonSelectRegularTable( ListTableModel<T> pListTableModel, TableDefinitionPlus<T> pDefinition, SelectionHandler<T> pSelectionHandler ) { |
8 |
|
- |
super( pListTableModel, pDefinition ); |
9 |
|
- |
setSelectionPolicy( RowSelectionPolicy.RADIO ); |
10 |
|
- |
if ( pSelectionHandler != null ) { |
11 |
|
- |
addSelectionHandler( pSelectionHandler ); |
12 |
|
- |
} |
13 |
|
- |
} |
14 |
|
- |
|
15 |
|
- |
@Override |
16 |
|
- |
protected void onLoad() { |
17 |
|
- |
super.onLoad(); |
18 |
|
- |
loadData(); |
19 |
|
- |
} |
20 |
|
- |
} |
|
1 |
+ |
// This Source Code is in the Public Domain per: http://unlicense.org |
|
2 |
+ |
package org.litesoft.GWT.client.widgets.datatables; |
|
3 |
+ |
|
|
4 |
+ |
import com.google.gwt.event.logical.shared.*; |
|
5 |
+ |
|
|
6 |
+ |
public class RadioButtonSelectRegularTable<T> extends RegularTable<T> { |
|
7 |
+ |
public RadioButtonSelectRegularTable( ListTableModel<T> pListTableModel, TableDefinitionPlus<T> pDefinition, SelectionHandler<T> pSelectionHandler ) { |
|
8 |
+ |
super( pListTableModel, pDefinition ); |
|
9 |
+ |
setSelectionPolicy( RowSelectionPolicy.RADIO ); |
|
10 |
+ |
if ( pSelectionHandler != null ) { |
|
11 |
+ |
addSelectionHandler( pSelectionHandler ); |
|
12 |
+ |
} |
|
13 |
+ |
} |
|
14 |
+ |
|
|
15 |
+ |
@Override |
|
16 |
+ |
protected void onLoad() { |
|
17 |
+ |
super.onLoad(); |
|
18 |
+ |
loadData(); |
|
19 |
+ |
} |
|
20 |
+ |
} |