litesoft
Diff Revisions
49
vs
151
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/forms/client/components/impls/input/FormImageSelectURL.java
|
@@ -8,16 +8,14 @@ |
8 |
8 |
|
import org.litesoft.uispecification.*; |
9 |
9 |
|
|
10 |
10 |
|
import com.google.gwt.user.client.*; |
11 |
|
- |
import com.google.gwt.user.client.ui.*; |
12 |
11 |
|
import com.google.gwt.user.client.ui.Button; |
|
12 |
+ |
import com.google.gwt.user.client.ui.*; |
13 |
13 |
|
|
14 |
14 |
|
public class FormImageSelectURL extends FormImageSelector |
15 |
15 |
|
{ |
16 |
16 |
|
private TextBox mTextField; |
17 |
17 |
|
|
18 |
|
- |
public FormImageSelectURL( String pFieldLabel, UiFont pLabelFont, String pTooltip, boolean pViewOnly, |
19 |
|
- |
Integer pInitialWidth, boolean pWidthNotStretchable, Integer pInitialHeight, |
20 |
|
- |
boolean pHeightNotStretchable ) |
|
18 |
+ |
public FormImageSelectURL( String pFieldLabel, UiFont pLabelFont, String pTooltip, boolean pViewOnly, Integer pInitialWidth, boolean pWidthNotStretchable, Integer pInitialHeight, boolean pHeightNotStretchable ) |
21 |
19 |
|
{ |
22 |
20 |
|
super( pFieldLabel, pLabelFont, pTooltip, pViewOnly, pInitialWidth, pWidthNotStretchable, pInitialHeight, pHeightNotStretchable ); |
23 |
21 |
|
mPickerButtonTooltip = "Set Image URL"; |
|
@@ -48,8 +46,7 @@ |
48 |
46 |
|
|
49 |
47 |
|
public void setURL( String pURL ) |
50 |
48 |
|
{ |
51 |
|
- |
setCurrentResourceKeyNameURL( (null != (pURL = UtilsCommon.noEmpty( pURL ))) ? |
52 |
|
- |
new ResourceKeyNameURL( pURL, pURL, pURL ) : null ); |
|
49 |
+ |
setCurrentResourceKeyNameURL( (null != (pURL = UtilsCommon.noEmpty( pURL ))) ? new ResourceKeyNameURL( pURL, pURL, pURL ) : null ); |
53 |
50 |
|
} |
54 |
51 |
|
|
55 |
52 |
|
@Override |