This site requires JavaScript, please enable it in your browser!
Greenfoot back

Comments for Scrolling

Return to Scrolling

darkmist255darkmist255

2012/6/28

Great work!
A new version of this scenario was uploaded on Fri Jun 29 10:17:08 UTC 2012 Better documentation and added the removedFromWorld methods in the scrollView and the Sliders, so they also remove their components.
A new version of this scenario was uploaded on Fri Jun 29 12:07:50 UTC 2012 -Added 2 new cells: SubtitleCell and ImageCell, I hope they're useful! -Better documentation -Added a new constructor in List, which takes an array of strings. It will display them with the default cells.
SPowerSPower

2012/6/29

@darkmist255 Thank you, I saw many people could use a scroll view, but almost nobody knew how to create one. I hope you can so something great with it! And would you please click 'like'? :)
A new version of this scenario was uploaded on Fri Jun 29 14:21:55 UTC 2012 Really small bug fix.
A new version of this scenario was uploaded on Mon Jul 02 09:35:12 UTC 2012 -Fixed bugs -Renamed List to ListView, because it was is a real pain if you want to use this List along with the List datatype (java.util.List)
-nic--nic-

2012/7/2

NIce!
SPowerSPower

2012/7/2

@-nic- Thanks! And, can you click 'like' please?
USBestUSBest

2012/7/3

Well done! It would be much better, if you would add, that you can scroll with the mousewheel, too! :)
SPowerSPower

2012/7/3

I'll take a look at it.
SPowerSPower

2012/7/3

I don't think that's possible with greenfoot, but it's possible with other IDEs
SPower, take a look at this scenario: http://www.greenfoot.org/scenarios/2828
Busch2207Busch2207

2013/1/4

Maybe take a look at the documentation of the 'Mouse'-class in this scenario: http://www.greenfoot.org/scenarios/3438 The class can help you to add a scrolling with the mouse wheel! :)
SPowerSPower

2013/1/4

Well, I've already tried it some time ago, but it seems there's a bug in the scroll bar class I'm using, and I guess I won't have time to look at it the coming time.