JSlider for scrolling through records

Questions and answers on developing, deploying and using plugins and JavaBeans

JSlider for scrolling through records

Postby crempp » Wed Sep 01, 2004 12:13 am

I am trying to use a JSlider for quick scrolling through a database of about 100,000 records. I have tried a few things but I think I am going in the wrong direction. In particular I would like to know how to make the JSlider call a method when it is changed.

Thanks,
Chad
crempp
 
Posts: 12
Joined: Thu Jul 01, 2004 6:40 pm
Location: Minneapolis

Postby simon » Wed Sep 01, 2004 9:51 am

Chad,

I have also been having similar problems implementing the JSlider. I put a post on here months ago, and still havent had any reply.

Simon
simon
 
Posts: 48
Joined: Thu Jun 03, 2004 4:43 pm
Location: UK

Postby bcusick » Wed Sep 01, 2004 6:55 pm

Hi Guys,

Servoy did NOT write the beans - and there is loads of documentation on the web for the included beans.

All beans beginning with "J" (JSlider, etc) came from Sun. Most of the other beans came from the IBM FreeWare project "AlphaBeans".

Hope this helps,

Bob Cusick
bcusick
 
Posts: 1255
Joined: Wed Apr 23, 2003 11:27 pm
Location: Thousand Oaks, CA USA

Postby crempp » Fri Sep 03, 2004 3:13 am

I am just curious how to make this or any bean execute a servoy method.
crempp
 
Posts: 12
Joined: Thu Jul 01, 2004 6:40 pm
Location: Minneapolis

jSlider for Servoy

Postby ellenmeserow » Wed Jan 19, 2005 9:24 am

I want to reactivate this thread -- has anyone made jSlider work to move through records in Servoy -- can you post sample code? pretty please? :)
ellenmeserow
 
Posts: 366
Joined: Sat Aug 07, 2004 10:18 pm
Location: Seattle, WA USA

Postby simon » Thu Jan 20, 2005 1:23 am

I have been watching this thread for a while, I have still yet to work out how to activate methods using the jslider. I can get the jslider working with my own java programs, but the theory does not apply when I try to get it to work within servoy.

I think there is enough interest in this topic for someone to justify putting an article in the servoy magazine!

Its not essential at the moment to my solution, but I would like to add this feature at some stage...so someone, please help :-)
simon
 
Posts: 48
Joined: Thu Jun 03, 2004 4:43 pm
Location: UK

Postby ROCLASI » Thu Jan 20, 2005 11:12 am

simon wrote: I can get the jslider working with my own java programs, but the theory does not apply when I try to get it to work within servoy.


So I understand you develop java applications.
Can't you make it so that it triggers a method?
Then in that method you can let it set the selected index of a foundset (or let it do whatever)
You can take the Tree View plugin as example.

To others reading this thread.
All the beans available (not Servoy Plugins) can only be 'talked to', They don't 'talk back'.
In other words you can't attach methods to their events.
Unless someone uses that bean to create a Servoy plugin, maybe Simon?
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium


Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 34 guests