Subversion Repository Public Repository

litesoft

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

Diff revisions: vs.
  @@ -5,18 +5,15 @@
5 5
6 6 import com.google.gwt.user.client.ui.*;
7 7
8 - public class SizeableFileUpload extends AbstractSizeableComposite implements HasName
9 - {
8 + public class SizeableFileUpload extends AbstractSizeableComposite implements HasName {
10 9 private final FileUpload mFileUpload = new FileUpload();
11 10
12 - public SizeableFileUpload()
13 - {
11 + public SizeableFileUpload() {
14 12 initWidget( new ConstrainingSizeableOuterLayers( mFileUpload, "LayoutSizeableFileUpload" ) );
15 13 LLstretchableHorizontally();
16 14 }
17 15
18 - public SizeableFileUpload style( String pStyleName )
19 - {
16 + public SizeableFileUpload style( String pStyleName ) {
20 17 addStyleName( pStyleName );
21 18 return this;
22 19 }
  @@ -25,8 +22,7 @@
25 22 * Get the control's current value. This will be sent to the server when the
26 23 * form is submitted.
27 24 */
28 - public String getFilename()
29 - {
25 + public String getFilename() {
30 26 return mFileUpload.getFilename();
31 27 }
32 28
  @@ -34,13 +30,11 @@
34 30 * Get the control's name attribute. This will be sent to the server when
35 31 * the form is submitted.
36 32 */
37 - public String getName()
38 - {
33 + public String getName() {
39 34 return mFileUpload.getName();
40 35 }
41 36
42 - public void setName( String name )
43 - {
37 + public void setName( String name ) {
44 38 mFileUpload.setName( name );
45 39 }
46 40 }