Public Member Functions | Protected Attributes

nsDisplayListSet Class Reference

This is passed as a parameter to nsIFrame::BuildDisplayList. More...

#include <nsDisplayList.h>

Inheritance diagram for nsDisplayListSet:
Collaboration diagram for nsDisplayListSet:

List of all members.

Public Member Functions

nsDisplayListBorderBackground () const
nsDisplayListBlockBorderBackgrounds () const
nsDisplayListFloats () const
nsDisplayListPositionedDescendants () const
nsDisplayListOutlines () const
nsDisplayListContent () const
 nsDisplayListSet (nsDisplayList *aBorderBackground, nsDisplayList *aBlockBorderBackgrounds, nsDisplayList *aFloats, nsDisplayList *aContent, nsDisplayList *aPositionedDescendants, nsDisplayList *aOutlines)
 nsDisplayListSet (const nsDisplayListSet &aLists, nsDisplayList *aBorderBackground)
 A copy constructor that lets the caller override the BorderBackground list.
void MoveTo (const nsDisplayListSet &aDestination) const
 Move all display items in our lists to top of the corresponding lists in the destination.

Protected Attributes

nsDisplayListmBorderBackground
nsDisplayListmBlockBorderBackgrounds
nsDisplayListmFloats
nsDisplayListmContent
nsDisplayListmPositioned
nsDisplayListmOutlines

Detailed Description

This is passed as a parameter to nsIFrame::BuildDisplayList.

That method will put any generated items onto the appropriate list given here. It's basically just a collection with one list for each separate stacking layer. The lists themselves are external to this object and thus can be shared with others. Some of the list pointers may even refer to the same list.


Constructor & Destructor Documentation

nsDisplayListSet::nsDisplayListSet ( nsDisplayList aBorderBackground,
nsDisplayList aBlockBorderBackgrounds,
nsDisplayList aFloats,
nsDisplayList aContent,
nsDisplayList aPositionedDescendants,
nsDisplayList aOutlines 
) [inline]
nsDisplayListSet::nsDisplayListSet ( const nsDisplayListSet aLists,
nsDisplayList aBorderBackground 
) [inline]

A copy constructor that lets the caller override the BorderBackground list.


Member Function Documentation

nsDisplayList* nsDisplayListSet::BlockBorderBackgrounds (  )  const [inline]
Returns:
a list where one should place the borders and/or backgrounds for block-level in-flow descendants (step 4 of CSS 2.1 appendix E)
nsDisplayList* nsDisplayListSet::BorderBackground (  )  const [inline]
Returns:
a list where one should place the border and/or background for this frame (everything from steps 1 and 2 of CSS 2.1 appendix E)
nsDisplayList* nsDisplayListSet::Content (  )  const [inline]
Returns:
a list where one should place all other content
nsDisplayList* nsDisplayListSet::Floats (  )  const [inline]
Returns:
a list where one should place descendant floats (step 5 of CSS 2.1 appendix E)
void nsDisplayListSet::MoveTo ( const nsDisplayListSet aDestination  )  const

Move all display items in our lists to top of the corresponding lists in the destination.

nsDisplayList* nsDisplayListSet::Outlines (  )  const [inline]
Returns:
a list where one should place the outlines for this frame and its descendants (step 9 of CSS 2.1 appendix E)
nsDisplayList* nsDisplayListSet::PositionedDescendants (  )  const [inline]
Returns:
a list where one should place the (pseudo) stacking contexts for descendants of this frame (everything from steps 3, 7 and 8 of CSS 2.1 appendix E)

Member Data Documentation


The documentation for this class was generated from the following file: