Changes between Version 12 and Version 13 of PAGE_ELEMENT_GROUPING_R0


Ignore:
Timestamp:
05/21/09 10:13:54 (16 years ago)
Author:
kyli
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PAGE_ELEMENT_GROUPING_R0

    v12 v13  
    7878 * '''Note: Current design is done on behalf that we group Frames, but it can be changed quickly to support all kinds of page elements.''' 
    7979 * For the grouping to behave properly we should define a tree of groups and elements. 
     80  * ''Define an interface ElementContainer with the following methods: 
     81    * Prop<? extends ??> parentContainer(), providing the parent container of this element. 
     82    * RwListProp<PageElement> elements(), all the elements that a class implementing should provide.'' 
    8083  * Define an interface GroupContainer with the following methods: 
    8184   * Prop<? extends GroupContainer> parentContainer(), providing the parent GroupContainer of the class implementing it. 
    8285   * RwListProp<Group> containers(), all the containers that a class implementing should provide. 
    83   * Define a class Group which will handle grouping and ungrouping of frames. It will implement the GroupContainer. 
     86  * Define a class Group which will handle grouping and ungrouping of frames. It will implement the GroupContainer'', ElementContainer and will extend Resource''. 
    8487  * The Page would also implement the GroupContainer interface. 
     88  * ''The Frame will implement ElementContainer.'' 
    8589  * The parentContainer of the Group will be a Page. This means that the Group whose parent container is a Page is a root group. It also provides a list of containers that are Groups. The Group class will also contain a list of frames that are grouped in this group. 
    8690  * Page will not have a parentContainer. It will be initially set to null.