Bandinfo"
From Documentation
Tmillsclare (talk | contribs) m (Created page with 'init') |
Jimmyshiau (talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | {{ZKComponentReferencePageHeader}} | |
+ | |||
+ | = Bandinfo = | ||
+ | |||
+ | *Demonstration: [http://www.zkoss.org/zkdemo/userguide/#m9 SIMILE Timeline] | ||
+ | *Java API: N/A | ||
+ | *JavaScript API: N/A | ||
+ | |||
+ | = Employment/Purpose = | ||
+ | |||
+ | Defines the bandinfo of a timeline. | ||
+ | |||
+ | = Example = | ||
+ | |||
+ | [[Image:ZKCompRef_Timeline.png]] | ||
+ | |||
+ | <source lang="xml" > | ||
+ | <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> | ||
+ | </source> | ||
+ | |||
+ | |||
+ | |||
+ | =Supported events= | ||
+ | |||
+ | {| border="1" | width="100%" | ||
+ | ! <center>Name</center> | ||
+ | ! <center>Event Type</center> | ||
+ | |- | ||
+ | | <center><tt>onOccurEventSelect</tt></center> | ||
+ | | OccurEventSelectEvent | ||
+ | |||
+ | '''Description:''' | ||
+ | |||
+ | Denotes the Occur Event in the bandinfo component has been clicked by the user. | ||
+ | |||
+ | |- | ||
+ | | <center><tt>onBandScroll</tt></center> | ||
+ | | BandScrollEvent | ||
+ | |||
+ | '''Description:''' | ||
+ | |||
+ | Denotes the bandinfo component has been moved by the user. | ||
+ | |||
+ | |} | ||
+ | |||
+ | =Supported Children= | ||
+ | |||
+ | [[ZK_Component_Reference/Diagrams_and_Reports/Timeline/Hotzone | Hotzone]] | ||
+ | |||
+ | |||
+ | =Use cases= | ||
+ | |||
+ | [[ZK_Component_Reference/Diagrams_and_Reports/Timeline#Use_cases | Timeline ]] | ||
+ | |||
+ | =Version History= | ||
+ | |||
+ | {| border='1px' | width="100%" | ||
+ | ! Version !! Date !! Content | ||
+ | |- | ||
+ | | 5.0.2 | ||
+ | | 5/18/2010 | ||
+ | | Initialization | ||
+ | |} | ||
+ | |||
+ | {{ZKComponentReferencePageFooter}} |
Revision as of 06:37, 18 May 2010
Bandinfo
- Demonstration: SIMILE Timeline
- Java API: N/A
- JavaScript API: N/A
Employment/Purpose
Defines the bandinfo of a timeline.
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>
Supported events
OccurEventSelectEvent
Description: Denotes the Occur Event in the bandinfo component has been clicked by the user. | |
BandScrollEvent
Description: Denotes the bandinfo component has been moved by the user. |
Supported Children
Hotzone
Use cases
Version History
Version | Date | Content |
---|---|---|
5.0.2 | 5/18/2010 | Initialization |