litesoft
Diff Revisions
49
vs
151
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/datatables/ClickableColumnDefinition.java
|
@@ -8,29 +8,29 @@ |
8 |
8 |
|
{ |
9 |
9 |
|
public ClickableColumnDefinition() |
10 |
10 |
|
{ |
11 |
|
- |
this(null); |
|
11 |
+ |
this( null ); |
12 |
12 |
|
} |
13 |
13 |
|
|
14 |
|
- |
public ClickableColumnDefinition(String pHeaderText) |
|
14 |
+ |
public ClickableColumnDefinition( String pHeaderText ) |
15 |
15 |
|
{ |
16 |
|
- |
super(pHeaderText); |
17 |
|
- |
align(HasHorizontalAlignment.ALIGN_CENTER); |
18 |
|
- |
clickHandler(this); |
|
16 |
+ |
super( pHeaderText ); |
|
17 |
+ |
align( HasHorizontalAlignment.ALIGN_CENTER ); |
|
18 |
+ |
clickHandler( this ); |
19 |
19 |
|
} |
20 |
20 |
|
|
21 |
21 |
|
@Override |
22 |
|
- |
public Object getCellValue(RowType pRowValue) |
|
22 |
+ |
public Object getCellValue( RowType pRowValue ) |
23 |
23 |
|
{ |
24 |
|
- |
return createClickable(pRowValue); |
|
24 |
+ |
return createClickable( pRowValue ); |
25 |
25 |
|
} |
26 |
26 |
|
|
27 |
27 |
|
@Override |
28 |
|
- |
public void execute(ColumnDefinition<RowType,?> colDef, int pRowIndex, RowType pRowValue) |
|
28 |
+ |
public void execute( ColumnDefinition<RowType, ?> colDef, int pRowIndex, RowType pRowValue ) |
29 |
29 |
|
{ |
30 |
|
- |
execute(pRowIndex, pRowValue); |
|
30 |
+ |
execute( pRowIndex, pRowValue ); |
31 |
31 |
|
} |
32 |
32 |
|
|
33 |
|
- |
protected abstract UIObject createClickable(RowType pRowValue); |
|
33 |
+ |
protected abstract UIObject createClickable( RowType pRowValue ); |
34 |
34 |
|
|
35 |
|
- |
protected abstract void execute(int pRowIndex, RowType pRowValue); |
|
35 |
+ |
protected abstract void execute( int pRowIndex, RowType pRowValue ); |
36 |
36 |
|
} |