Hi Mark,

Re: using EventIterator instead of EventReverseIterator was a failure

The problem was that the event layout on the band was all messed up. Didn't 
work at all. Visually, the failure was very obvious.

I think the issues revolve around the density of the events on the timeline. 
So fewer events, or lower density of events, fewer problems.

But for the sorts of events and Timelines in the examples in the Timeline 
source, definitely did not work out.

I believe that I tried it with the Monet timeline example.

Re your application: it may be that you'll need to specify the TrackNum. That 
way you can specifically set the location of the events.
Or you could use the automatic layout, but modify the original painter to 
handle the three events (main and two sub-events), specially as a group. Eg, 
include an eventID attribute with each event, and a "masterEventID" with the 
small events to give you a many to one relationship. Then have the original 
painter look for the masterEventID attribute.

Regards,

Larry



________________________________
From: M. Donovan <[email protected]>
To: SIMILE Widgets <[email protected]>
Sent: Wednesday, December 17, 2008 3:44:36 PM
Subject: getEventIterator vs. getEventReverseIterator


We have a scenario where the vertical alignment of events is
important.  For example, one event has a duration of 10 minutes and is
made up of two "sub-events", one taking 3 minutes and one taking 7
minutes.  We would like to display the top-level event first, with the
two "sub-events" directly below it - to allow our users to be able to
clearly see that relationship between the top-level event and the sub-
events.

I changed the paint function to use getEventIterator instead of
getEventReverseIterator and the events are displayed more closely to
what we would like to see.

Larry - I noticed that in another thread (
http://groups.google.com/group/simile-widgets/browse_thread/thread/024ddd610b87b308#
) you mentioned your experience using EventIterator instead of
EventReverseIterator was a failure.  Can you provide any insight into
what the issues/problems are with doing this?  What things should I
test and look for?

Thanks,
Mark




--~--~---------~--~----~------------~-------~--~----~
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