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