litesoft
Diff Revisions
49
vs
151
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/datatables/AbstractAccordionDetailView.java
|
@@ -1,11 +1,11 @@ |
1 |
1 |
|
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt |
2 |
2 |
|
package org.litesoft.GWT.client.widgets.datatables; |
3 |
3 |
|
|
4 |
|
- |
import com.google.gwt.user.client.ui.*; |
5 |
|
- |
|
6 |
4 |
|
import org.litesoft.GWT.client.*; |
7 |
5 |
|
import org.litesoft.core.util.*; |
8 |
6 |
|
|
|
7 |
+ |
import com.google.gwt.user.client.ui.*; |
|
8 |
+ |
|
9 |
9 |
|
public abstract class AbstractAccordionDetailView<RowType> extends Composite |
10 |
10 |
|
{ |
11 |
11 |
|
private String mPrefix = HTMLPanel.createUniqueId(); |
|
@@ -19,7 +19,6 @@ |
19 |
19 |
|
|
20 |
20 |
|
abstract public void populate( RowType pRowType ); |
21 |
21 |
|
|
22 |
|
- |
|
23 |
22 |
|
protected String id( String pID ) |
24 |
23 |
|
{ |
25 |
24 |
|
return mPrefix + pID; |
|
@@ -28,7 +27,7 @@ |
28 |
27 |
|
protected void setText( String pID, Object pValue ) |
29 |
28 |
|
{ |
30 |
29 |
|
String zText = UtilsGwt.toStringOrNull( pValue ); |
31 |
|
- |
if (pValue != null) |
|
30 |
+ |
if ( pValue != null ) |
32 |
31 |
|
{ |
33 |
32 |
|
mImpl.getElementById( id( pID ) ).setInnerText( zText ); |
34 |
33 |
|
} |