Subversion Repository Public Repository

litesoft

Diff Revisions 949 vs 950 for /trunk/Java/GWT/Client/src/org/litesoft/GWT/forms/client/components/impls/input/FormRightAlignTextField.java

Diff revisions: vs.
  @@ -1,22 +1,22 @@
1 - // This Source Code is in the Public Domain per: http://unlicense.org
2 - package org.litesoft.GWT.forms.client.components.impls.input;
3 -
4 - import org.litesoft.GWT.forms.client.components.nonpublic.*;
5 - import org.litesoft.uispecification.*;
6 -
7 - import com.google.gwt.user.client.*;
8 -
9 - public class FormRightAlignTextField extends AbstractFormattableTextField {
10 - /**
11 - * @param pFieldLabel - empty means labelless
12 - * @param pLabelFont - null no label font adjustment
13 - * @param pTooltip - empty means no tooltip
14 - * @param pDisplayCharsWidth - null means floodX
15 - * @param pMaxChars - null means unlimited?
16 - */
17 - public FormRightAlignTextField( String pFieldLabel, UiFont pLabelFont, String pTooltip, Integer pDisplayCharsWidth, Integer pMaxChars ) {
18 - super( pTooltip, pDisplayCharsWidth, pMaxChars );
19 - DOM.setStyleAttribute( mInputWidget.getElement(), "textAlign", "right" );
20 - initialize( pFieldLabel, pLabelFont, pTooltip );
21 - }
22 - }
1 + // This Source Code is in the Public Domain per: http://unlicense.org
2 + package org.litesoft.GWT.forms.client.components.impls.input;
3 +
4 + import org.litesoft.GWT.forms.client.components.nonpublic.*;
5 + import org.litesoft.uispecification.*;
6 +
7 + import com.google.gwt.user.client.*;
8 +
9 + public class FormRightAlignTextField extends AbstractFormattableTextField {
10 + /**
11 + * @param pFieldLabel - empty means labelless
12 + * @param pLabelFont - null no label font adjustment
13 + * @param pTooltip - empty means no tooltip
14 + * @param pDisplayCharsWidth - null means floodX
15 + * @param pMaxChars - null means unlimited?
16 + */
17 + public FormRightAlignTextField( String pFieldLabel, UiFont pLabelFont, String pTooltip, Integer pDisplayCharsWidth, Integer pMaxChars ) {
18 + super( pTooltip, pDisplayCharsWidth, pMaxChars );
19 + DOM.setStyleAttribute( mInputWidget.getElement(), "textAlign", "right" );
20 + initialize( pFieldLabel, pLabelFont, pTooltip );
21 + }
22 + }