Skip to main content



      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 05:58 Go to next message
Eclipse UserFriend
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 09:15 Go to previous messageGo to next message
Eclipse UserFriend
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 09:28 Go to previous messageGo to next message
Eclipse UserFriend
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 10:04 Go to previous messageGo to next message
Eclipse UserFriend
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 14:23 Go to previous messageGo to next message
Eclipse UserFriend
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 03:28 Go to previous message
Eclipse UserFriend
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: Mon Jul 07 08:46:09 EDT 2025

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

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

Back to the top