Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Input Mask For Text Component
Input Mask For Text Component [message #439835] Fri, 16 July 2004 15:25
Vadalus is currently offline VadalusFriend
Messages: 24
Registered: July 2009
Junior Member
Hi all,

Can someone let me know whether there is an implementation of an
InputMask for a text entered in a Text component.

Specifically I am looking for dynamic conversion (as in NOT after the
user leaves the component, as in _when_ the user is typing)

1 = 1
10 = 10
100 = 100
1000 = 1,000
10000 = 10,000
1000000 = 1,000,000

etc...

I have seen something like this done via the VerifyListener in one of
the "Essential Data" libraries in the SWTWorkbench project. However,
their implementation only allow for static masks (#,###) which do not
address the problem above. I can start writing my own but would like to
know if anyone has implemented this already.

IBM had done this for SWING with the alphabeans (JFormattedTextField
only imposes the formatting after focus is lost)

L
Previous Topic:HowTo Eclipse 3.0 ToolItem Style?
Next Topic:Add basic pop up menu to view
Goto Forum:
  


Current Time: Fri Apr 26 17:31:55 GMT 2024

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

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

Back to the top