litesoft
Diff Revisions
626
vs
632
for /trunk/GWT_Sandbox/FormEngine/src/com/temp/client/foundation/widget/NamedImageButton.java
|
@@ -4,7 +4,7 @@ |
4 |
4 |
|
import com.google.gwt.user.client.ui.Image; |
5 |
5 |
|
import com.google.gwt.user.client.ui.PushButton; |
6 |
6 |
|
|
7 |
|
- |
public class NamedImageButton extends CompositeButton { |
|
7 |
+ |
public class NamedImageButton extends CompositeButton<NamedImageButton> { |
8 |
8 |
|
public static final String UP = "Up"; |
9 |
9 |
|
public static final String HOVER = "Hover"; |
10 |
10 |
|
public static final String PRESSED = "Pressed"; |
|
@@ -70,7 +70,7 @@ |
70 |
70 |
|
} |
71 |
71 |
|
|
72 |
72 |
|
private static String createSafeHtmlElementWithIdAndStyle(String id, String name, String imageFaceName, String safeHtmlAltToolTip, String styleName) { |
73 |
|
- |
return createSafeHtmlElementWithImageUrl(id, name, safeHtmlAltToolTip, styleName, getImageUrl(name, imageFaceName)); |
|
73 |
+ |
return createSafeHtmlElementWithImageUrl(id, safeHtmlAltToolTip, styleName, getImageUrl(name, imageFaceName)); |
74 |
74 |
|
} |
75 |
75 |
|
|
76 |
76 |
|
} |