Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » EditMask available?
EditMask available? [message #458458] Wed, 13 July 2005 15:46 Go to next message
Eclipse UserFriend
Is there an edit mask capable text control somewhere?

Thanks,
Alex.
Re: EditMask available? [message #458460 is a reply to message #458458] Wed, 13 July 2005 16:36 Go to previous messageGo to next message
Eclipse UserFriend
You can use verificationlistener to control the input of your textfield. In
Swing you just use the JTextVerifier, but SWT doesn't have anything as nice.

I am sure they'll fix that before 4.1 :).

Thanx,

- Kalman

"Alex Shneyderman" <alex@law.columbia.edu> wrote in message
news:<db3r7g$96k$1@news.eclipse.org>...

> Is there an edit mask capable text control somewhere?

>

> Thanks,

> Alex.

>

>

"Alex Shneyderman" <alex@law.columbia.edu> wrote in message
news:db3r7g$96k$1@news.eclipse.org...
> Is there an edit mask capable text control somewhere?
>
> Thanks,
> Alex.
>
Re: EditMask available? [message #458529 is a reply to message #458458] Thu, 14 July 2005 10:36 Go to previous message
Eclipse UserFriend
Here are some snippets that use the text verify listener to filter input:

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet19.java?rev=HEAD&a mp;content-type=text/vnd.viewcvs-markup
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet179.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup

"Alex Shneyderman" <alex@law.columbia.edu> wrote in message
news:db3r7g$96k$1@news.eclipse.org...
> Is there an edit mask capable text control somewhere?
>
> Thanks,
> Alex.
>
>
Previous Topic:Image Flicker With Mouse Move
Next Topic:New nested layout failure at 3.1RC1
Goto Forum:
  


Current Time: Mon Jul 07 02:20:12 EDT 2025

Powered by FUDForum. Page generated in 0.31119 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top