Java Swing components like the JList have a cool method called
"ensureIndexIsVisible(index)".  If you call it with the index of one
the children in the list, it will scroll the list to make ensure that
this child item is visible to the end user.

Now I am working with Flex HBox and VBox components.  These components
have children that can be scrolled on off the viewable area of the
screen.  Is there a similar method that will help ensure the
visibility of a child component?  Is there a quick way to scroll to a
child to make it visible in an HBox?  Is there a quick way to ask a
child component if it is "visible", but when I say "visible" I am
really asking if it is currently being displayed in the viewable area
of a scrolling container.

Thanks for any help!

Reply via email to