Subversion Repository Public Repository

litesoft

Diff Revisions 949 vs 950 for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/IExtendedTextBox.java

Diff revisions: vs.
  @@ -1,41 +1,41 @@
1 - // This Source Code is in the Public Domain per: http://unlicense.org
2 - package org.litesoft.GWT.client.widgets;
3 -
4 - import com.google.gwt.user.client.*;
5 -
6 - public interface IExtendedTextBox extends IFocusWidget {
7 - /**
8 - * Gets a handle to the object's underlying DOM element.
9 - *
10 - * @return the object's browser element
11 - */
12 - public Element getElement();
13 -
14 - /**
15 - * Gets the maximum allowable length of the text box.
16 - *
17 - * @return the maximum length, in characters
18 - */
19 - public int getMaxLength();
20 -
21 - /**
22 - * Gets the number of visible characters in the text box.
23 - *
24 - * @return the number of visible characters
25 - */
26 - public int getVisibleLength();
27 -
28 - /**
29 - * Sets the maximum allowable length of the text box.
30 - *
31 - * @param length the maximum length, in characters
32 - */
33 - public void setMaxLength( int length );
34 -
35 - /**
36 - * Sets the number of visible characters in the text box.
37 - *
38 - * @param length the number of visible characters
39 - */
40 - public void setVisibleLength( int length );
41 - }
1 + // This Source Code is in the Public Domain per: http://unlicense.org
2 + package org.litesoft.GWT.client.widgets;
3 +
4 + import com.google.gwt.user.client.*;
5 +
6 + public interface IExtendedTextBox extends IFocusWidget {
7 + /**
8 + * Gets a handle to the object's underlying DOM element.
9 + *
10 + * @return the object's browser element
11 + */
12 + public Element getElement();
13 +
14 + /**
15 + * Gets the maximum allowable length of the text box.
16 + *
17 + * @return the maximum length, in characters
18 + */
19 + public int getMaxLength();
20 +
21 + /**
22 + * Gets the number of visible characters in the text box.
23 + *
24 + * @return the number of visible characters
25 + */
26 + public int getVisibleLength();
27 +
28 + /**
29 + * Sets the maximum allowable length of the text box.
30 + *
31 + * @param length the maximum length, in characters
32 + */
33 + public void setMaxLength( int length );
34 +
35 + /**
36 + * Sets the number of visible characters in the text box.
37 + *
38 + * @param length the number of visible characters
39 + */
40 + public void setVisibleLength( int length );
41 + }