Bandinfo"
From Documentation
Tmillsclare (talk | contribs) |
Jumperchen (talk | contribs) |
||
Line 3: | Line 3: | ||
= Bandinfo = | = Bandinfo = | ||
− | *Demonstration: [http://www.zkoss.org/zkdemo/ | + | *Demonstration: [http://www.zkoss.org/zkdemo/reporting/timeline SIMILE Timeline] |
*Java API: N/A | *Java API: N/A | ||
− | *JavaScript API: | + | *JavaScript API: N/A |
+ | *Style Guide: N/A | ||
= Employment/Purpose = | = Employment/Purpose = | ||
Line 32: | Line 33: | ||
<source lang="xml" > | <source lang="xml" > | ||
<data> | <data> | ||
− | + | <event start="Oct 1 2010 00:00:00 GMT" end="Oct 1 2010 00:00:00 GMT" | |
− | + | title="Friend's wedding"> | |
− | + | I'm not sure precisely when my friend's wedding is. | |
</event> | </event> | ||
− | + | <event start="Oct 15 2010 11:00:00 GMT" end="Nov 1 2010 09:00:00 GMT" | |
− | + | isDuration="true" title="Writing Style Guide" image="http://simile.mit.edu/images/csail-logo.gif"> | |
− | + | A few days to write some documentation for | |
− | + | <a href="http://www.zkoss.org/doc/styleguide">Timeline</a> | |
− | + | . | |
− | + | </event> | |
− | + | <event start="Oct 23 2010 06:12:33 GMT" title="Trip to New York" | |
− | + | link="http://www.priceline.com/"> | |
− | + | Happy New Year ! | |
− | + | </event> | |
</data> | </data> | ||
</source> | </source> | ||
− | =Supported | + | =Supported Events= |
{| border="1" | width="100%" | {| border="1" | width="100%" | ||
Line 56: | Line 57: | ||
|- | |- | ||
| <center><tt>onOccurEventSelect</tt></center> | | <center><tt>onOccurEventSelect</tt></center> | ||
− | | [[ZK Component Reference/Events/OccurEventSelectEvent | OccurEventSelectEvent ]] | + | | '''Event:''' [[ZK Component Reference/Events/OccurEventSelectEvent | OccurEventSelectEvent ]] |
− | + | Denotes the Occur Event in the bandinfo component has been clicked by the user. | |
− | |||
− | |||
|- | |- | ||
| <center><tt>onBandScroll</tt></center> | | <center><tt>onBandScroll</tt></center> | ||
− | | [[ZK Component Reference/Events/BandScrollEvent | BandScrollEvent ]] | + | | '''Event:''' [[ZK Component Reference/Events/BandScrollEvent | BandScrollEvent ]] |
− | + | Denotes the bandinfo component has been moved by the user. | |
− | |||
− | |||
|} | |} | ||
+ | *Inherited Supported Events: [[ZK_Component_Reference/Base_Components/XulElement#Supported_Events | XulElement]] | ||
=Supported Children= | =Supported Children= | ||
Line 72: | Line 70: | ||
*[[ZK_Component_Reference/Diagrams_and_Reports/Timeline/Hotzone | Hotzone]] | *[[ZK_Component_Reference/Diagrams_and_Reports/Timeline/Hotzone | Hotzone]] | ||
− | =Use | + | =Use Cases= |
− | [[ZK_Component_Reference/Diagrams_and_Reports/Timeline# | + | [[ZK_Component_Reference/Diagrams_and_Reports/Timeline#Use_Cases | Timeline ]] |
=Version History= | =Version History= | ||
− | + | {{LastUpdated}} | |
{| border='1px' | width="100%" | {| border='1px' | width="100%" | ||
! Version !! Date !! Content | ! Version !! Date !! Content |
Revision as of 09:13, 17 November 2010
Bandinfo
- Demonstration: SIMILE Timeline
- Java API: N/A
- JavaScript API: N/A
- Style Guide: N/A
Employment/Purpose
Defines the bandinfo of a timeline.
A band layer is the main building block for timeline and it's the object that is responsible for painting the band itself.
Example
<timeline height="300px" width="100%">
<bandinfo width="70%" id="b1" intervalUnit="month"
intervalPixels="100" eventSourceUrl="misc/timeline_ex1.xml">
</bandinfo>
<bandinfo width="30%" intervalUnit="year" intervalPixels="200"
syncWith="b1" eventSourceUrl="misc/timeline_ex1.xml">
</bandinfo>
</timeline>
timeline_ex1.xml
<data>
<event start="Oct 1 2010 00:00:00 GMT" end="Oct 1 2010 00:00:00 GMT"
title="Friend's wedding">
I'm not sure precisely when my friend's wedding is.
</event>
<event start="Oct 15 2010 11:00:00 GMT" end="Nov 1 2010 09:00:00 GMT"
isDuration="true" title="Writing Style Guide" image="http://simile.mit.edu/images/csail-logo.gif">
A few days to write some documentation for
<a href="http://www.zkoss.org/doc/styleguide">Timeline</a>
.
</event>
<event start="Oct 23 2010 06:12:33 GMT" title="Trip to New York"
link="http://www.priceline.com/">
Happy New Year !
</event>
</data>
Supported Events
Event: OccurEventSelectEvent
Denotes the Occur Event in the bandinfo component has been clicked by the user. | |
Event: BandScrollEvent
Denotes the bandinfo component has been moved by the user. |
- Inherited Supported Events: XulElement
Supported Children
* Hotzone
Use Cases
Version History
Version | Date | Content |
---|---|---|