Subversion Repository Public Repository

litesoft

Diff Revisions 125 vs 133 for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/DefButtonNamedTypedFactoryText.java

Diff revisions: vs.
  @@ -7,6 +7,7 @@
7 7 public class DefButtonNamedTypedFactoryText extends DefButtonNamedTypedFactory
8 8 {
9 9 private String mText;
10 + private int mPreImageWidth,mPostImageWidth; // initialized to 0
10 11
11 12 public DefButtonNamedTypedFactoryText( DefButtonNamedTyped pTyped, String pText )
12 13 {
  @@ -24,4 +25,26 @@
24 25 {
25 26 return (mText != null) ? mText : getName();
26 27 }
28 +
29 + public int getPreImageWidth()
30 + {
31 + return mPreImageWidth;
32 + }
33 +
34 + public DefButtonNamedTypedFactoryText preImageWidth( int pPreImageWidth )
35 + {
36 + mPreImageWidth = pPreImageWidth;
37 + return this;
38 + }
39 +
40 + public int getPostImageWidth()
41 + {
42 + return mPostImageWidth;
43 + }
44 +
45 + public DefButtonNamedTypedFactoryText postImageWidth( int pPostImageWidth )
46 + {
47 + mPostImageWidth = pPostImageWidth;
48 + return this;
49 + }
27 50 }