litesoft
Diff Revisions
947
vs
948
for /trunk/GWT_Sandbox/FormEngine/src/com/temp/client/foundation/widget/NamedHorizontalPanel.java
|
@@ -1,15 +1,14 @@ |
1 |
1 |
|
package com.temp.client.foundation.widget; |
2 |
2 |
|
|
3 |
|
- |
import com.google.gwt.user.client.ui.HasName; |
4 |
|
- |
import com.google.gwt.user.client.ui.HorizontalPanel; |
5 |
|
- |
import com.temp.shared.utils.StringUtils; |
|
3 |
+ |
import com.google.gwt.user.client.ui.*; |
|
4 |
+ |
import com.temp.shared.utils.*; |
6 |
5 |
|
|
7 |
6 |
|
public class NamedHorizontalPanel extends HorizontalPanel implements HasName { |
8 |
7 |
|
private String name; |
9 |
8 |
|
|
10 |
9 |
|
@Override |
11 |
|
- |
public void setName(String name) { |
12 |
|
- |
this.name = StringUtils.noEmpty(name); |
|
10 |
+ |
public void setName( String name ) { |
|
11 |
+ |
this.name = StringUtils.noEmpty( name ); |
13 |
12 |
|
} |
14 |
13 |
|
|
15 |
14 |
|
@Override |