Subversion Repository Public Repository

litesoft

Diff Revisions 947 vs 948 for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/DefButtonNamedTypedFactoryImage.java

Diff revisions: vs.
  @@ -2,24 +2,20 @@
2 2
3 3 import org.litesoft.commonfoundation.typeutils.*;
4 4
5 - public class DefButtonNamedTypedFactoryImage extends DefButtonNamedTypedFactory
6 - {
5 + public class DefButtonNamedTypedFactoryImage extends DefButtonNamedTypedFactory {
7 6 private String mButtonImageRef;
8 7
9 - public DefButtonNamedTypedFactoryImage( DefButtonNamedTyped pTyped, Form pForm, String pButtonImageRef )
10 - {
8 + public DefButtonNamedTypedFactoryImage( DefButtonNamedTyped pTyped, Form pForm, String pButtonImageRef ) {
11 9 super( pTyped, pForm );
12 10 mButtonImageRef = Strings.noEmpty( pButtonImageRef );
13 11 }
14 12
15 13 @Override
16 - protected String getFormDescription()
17 - {
14 + protected String getFormDescription() {
18 15 return (mButtonImageRef == null) ? "" : "(" + mButtonImageRef + ")";
19 16 }
20 17
21 - public String getButtonImageRef()
22 - {
18 + public String getButtonImageRef() {
23 19 return (mButtonImageRef != null) ? mButtonImageRef : getName();
24 20 }
25 21 }