litesoft
Diff Revisions
947
vs
948
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/datatables/RadioButtonSelectRegularTable.java
|
@@ -3,21 +3,17 @@ |
3 |
3 |
|
|
4 |
4 |
|
import com.google.gwt.event.logical.shared.*; |
5 |
5 |
|
|
6 |
|
- |
public class RadioButtonSelectRegularTable<T> extends RegularTable<T> |
7 |
|
- |
{ |
8 |
|
- |
public RadioButtonSelectRegularTable( ListTableModel<T> pListTableModel, TableDefinitionPlus<T> pDefinition, SelectionHandler<T> pSelectionHandler ) |
9 |
|
- |
{ |
|
6 |
+ |
public class RadioButtonSelectRegularTable<T> extends RegularTable<T> { |
|
7 |
+ |
public RadioButtonSelectRegularTable( ListTableModel<T> pListTableModel, TableDefinitionPlus<T> pDefinition, SelectionHandler<T> pSelectionHandler ) { |
10 |
8 |
|
super( pListTableModel, pDefinition ); |
11 |
9 |
|
setSelectionPolicy( RowSelectionPolicy.RADIO ); |
12 |
|
- |
if ( pSelectionHandler != null ) |
13 |
|
- |
{ |
|
10 |
+ |
if ( pSelectionHandler != null ) { |
14 |
11 |
|
addSelectionHandler( pSelectionHandler ); |
15 |
12 |
|
} |
16 |
13 |
|
} |
17 |
14 |
|
|
18 |
15 |
|
@Override |
19 |
|
- |
protected void onLoad() |
20 |
|
- |
{ |
|
16 |
+ |
protected void onLoad() { |
21 |
17 |
|
super.onLoad(); |
22 |
18 |
|
loadData(); |
23 |
19 |
|
} |