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 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
// This Source Code is in the Public Domain per: http://unlicense.org package org.litesoft.GWT.client.widgets; import com.google.gwt.user.client.*; public interface IExtendedTextBox extends IFocusWidget { /** * Gets a handle to the object's underlying DOM element. * * @return the object's browser element */ public Element getElement(); /** * Gets the maximum allowable length of the text box. * * @return the maximum length, in characters */ public int getMaxLength(); /** * Gets the number of visible characters in the text box. * * @return the number of visible characters */ public int getVisibleLength(); /** * Sets the maximum allowable length of the text box. * * @param length the maximum length, in characters */ public void setMaxLength( int length ); /** * Sets the number of visible characters in the text box. * * @param length the number of visible characters */ public void setVisibleLength( int length ); } |