jqueryui-vienna wrote:
> Hi,
>
> I tied to enhance my timeline with "first/previous/next/latest event"
> buttons to ease navigation.
>
> The implementation was more awkward that I expected, because the
> EventSource/EventIterator class only provides a next()/hasNext()
> method and doesn't allow to access previous events.
>
> Finally I resorted to the private EventIterator._events.getFirst()/
> getLast-Methods and it works ok. However, I wrote my own event
> iteration function and it would definitely be better to enhance
> EventIterator to get the desired functionality.
>   
There's also the getReverseIterator function, which would get you the 
reverse iterator.

> My second problem is the navigation through filtered events. When the
> user applies a filter, my buttons also jump to the invisible i.e.
> filtered out events.  How can I detect if an event is currently
> filtered out?
>   
If you have applied a filter function, then you can use the same filter 
function to check if an event is filtered out or now.

David


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to