Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Looking for a widget to pick an int
Looking for a widget to pick an int [message #459535] Wed, 10 August 2005 09:58 Go to next message
Vincent Etter is currently offline Vincent EtterFriend
Messages: 72
Registered: July 2009
Member
Hello !

I was wondering if this widget was available with SWT :

http://img359.imageshack.us/img359/2999/newcontrol8kr.jpg

Thanks in advance !

Vincent
Re: Looking for a widget to pick an int [message #459547 is a reply to message #459535] Wed, 10 August 2005 13:15 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
see org.eclipse.swt.widgets.Spinner (note: since 3.1)

"Vincent Etter" <vincent.etter@gmail.com> wrote in message
news:ddcj08$594$1@news.eclipse.org...
> Hello !
>
> I was wondering if this widget was available with SWT :
>
> http://img359.imageshack.us/img359/2999/newcontrol8kr.jpg
>
> Thanks in advance !
>
> Vincent
Re: Looking for a widget to pick an int [message #459550 is a reply to message #459547] Wed, 10 August 2005 13:28 Go to previous messageGo to next message
Vincent Etter is currently offline Vincent EtterFriend
Messages: 72
Registered: July 2009
Member
Grant Gayed a écrit :
> see org.eclipse.swt.widgets.Spinner (note: since 3.1)

Thanks a lot ! This is exactly what I was looking for ! Is there by the
way a widget like this to pick hours (e.g 11:30) (like in the date/time
properties in windows...) ?

Thanks !

Vincent
Re: Looking for a widget to pick an int [message #459577 is a reply to message #459550] Thu, 11 August 2005 14:04 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
There is not a widget in swt for doing this, though a custom one may exist
somewhere out there (?).

Grant

"Vincent Etter" <vincent.etter@gmail.com> wrote in message
news:ddcva9$k89$1@news.eclipse.org...
> Grant Gayed a
Re: Looking for a widget to pick an int [message #459589 is a reply to message #459577] Thu, 11 August 2005 18:23 Go to previous messageGo to next message
Andy Arhelger is currently offline Andy ArhelgerFriend
Messages: 62
Registered: July 2009
Member
Actually I need one of these too. As well as a date spinner.
A spinner shouldn't be very hard. I looked at the Swing code for
JSpinner and they use a JFormattedTextField then just format the field
for integer, time or date. I don't suppose SWT has anything like
JFormattedTextField do they?

Andy Arhelger

Grant Gayed wrote:
> There is not a widget in swt for doing this, though a custom one may exist
> somewhere out there (?).
>
> Grant
>
> "Vincent Etter" <vincent.etter@gmail.com> wrote in message
> news:ddcva9$k89$1@news.eclipse.org...
>
>>Grant Gayed a écrit :
>>
>>>see org.eclipse.swt.widgets.Spinner (note: since 3.1)
>>
>>Thanks a lot ! This is exactly what I was looking for ! Is there by the
>>way a widget like this to pick hours (e.g 11:30) (like in the date/time
>>properties in windows...) ?
>>
>>Thanks !
>>
>>Vincent
>
>
>
Re: Looking for a widget to pick an int [message #459603 is a reply to message #459589] Fri, 12 August 2005 07:28 Go to previous message
Stefan Langer is currently offline Stefan LangerFriend
Messages: 236
Registered: July 2009
Senior Member
for dates take a look at SWTCalendar or GFace (Google to find the
address since I can't find am at the moment

Andy Arhelger wrote:
> Actually I need one of these too. As well as a date spinner.
> A spinner shouldn't be very hard. I looked at the Swing code for
> JSpinner and they use a JFormattedTextField then just format the field
> for integer, time or date. I don't suppose SWT has anything like
> JFormattedTextField do they?
>
> Andy Arhelger
>
> Grant Gayed wrote:
>
>> There is not a widget in swt for doing this, though a custom one may
>> exist
>> somewhere out there (?).
>>
>> Grant
>>
>> "Vincent Etter" <vincent.etter@gmail.com> wrote in message
>> news:ddcva9$k89$1@news.eclipse.org...
>>
>>> Grant Gayed a écrit :
>>>
>>>> see org.eclipse.swt.widgets.Spinner (note: since 3.1)
>>>
>>>
>>> Thanks a lot ! This is exactly what I was looking for ! Is there by the
>>> way a widget like this to pick hours (e.g 11:30) (like in the date/time
>>> properties in windows...) ?
>>>
>>> Thanks !
>>>
>>> Vincent
>>
>>
>>
>>
Previous Topic:SWT_AWT bridge: Can I register Swing Events for SWT widgets?
Next Topic:How to control the behavior of disabled widgets
Goto Forum:
  


Current Time: Sun Apr 18 00:38:32 GMT 2021

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

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

Back to the top