Public Member Functions | Protected Member Functions

nsGridRowLayout Class Reference

A common base class for nsGridRowLeafLayout (the nsIBoxLayout object for a grid row or column) and nsGridRowGroupLayout (the nsIBoxLayout object for a grid row group or column group). More...

#include <nsGridRowLayout.h>

Inheritance diagram for nsGridRowLayout:

List of all members.

Public Member Functions

virtual
NS_DECL_ISUPPORTS_INHERITED
nsGridRowGroupLayout
CastToRowGroupLayout ()
virtual nsGridLayout2CastToGridLayout ()
virtual nsGridGetGrid (nsIBox *aBox, PRInt32 *aIndex, nsGridRowLayout *aRequestor=nsnull)
virtual void GetParentGridPart (nsIBox *aBox, nsIBox **aParentBox, nsIGridPart **aParentGridRow)
virtual void ChildrenInserted (nsIBox *aBox, nsBoxLayoutState &aState, nsIBox *aPrevBox, const nsFrameList::Slice &aNewChildren)
virtual void ChildrenAppended (nsIBox *aBox, nsBoxLayoutState &aState, const nsFrameList::Slice &aNewChildren)
virtual void ChildrenRemoved (nsIBox *aBox, nsBoxLayoutState &aState, nsIBox *aChildList)
virtual void ChildrenSet (nsIBox *aBox, nsBoxLayoutState &aState, nsIBox *aChildList)
virtual nsMargin GetTotalMargin (nsIBox *aBox, PRBool aIsHorizontal)

Protected Member Functions

virtual void ChildAddedOrRemoved (nsIBox *aBox, nsBoxLayoutState &aState)=0
 nsGridRowLayout ()

Detailed Description

A common base class for nsGridRowLeafLayout (the nsIBoxLayout object for a grid row or column) and nsGridRowGroupLayout (the nsIBoxLayout object for a grid row group or column group).


Constructor & Destructor Documentation

nsGridRowLayout::nsGridRowLayout (  )  [protected]

Member Function Documentation

virtual nsGridLayout2* nsGridRowLayout::CastToGridLayout (  )  [inline, virtual]
virtual NS_DECL_ISUPPORTS_INHERITED nsGridRowGroupLayout* nsGridRowLayout::CastToRowGroupLayout (  )  [inline, virtual]

Reimplemented in nsGridRowGroupLayout.

virtual void nsGridRowLayout::ChildAddedOrRemoved ( nsIBox *  aBox,
nsBoxLayoutState &  aState 
) [protected, pure virtual]
virtual void nsGridRowLayout::ChildrenAppended ( nsIBox *  aBox,
nsBoxLayoutState &  aState,
const nsFrameList::Slice aNewChildren 
) [virtual]
virtual void nsGridRowLayout::ChildrenInserted ( nsIBox *  aBox,
nsBoxLayoutState &  aState,
nsIBox *  aPrevBox,
const nsFrameList::Slice aNewChildren 
) [virtual]
virtual void nsGridRowLayout::ChildrenRemoved ( nsIBox *  aBox,
nsBoxLayoutState &  aState,
nsIBox *  aChildList 
) [virtual]
virtual void nsGridRowLayout::ChildrenSet ( nsIBox *  aBox,
nsBoxLayoutState &  aState,
nsIBox *  aChildList 
) [virtual]
virtual nsGrid* nsGridRowLayout::GetGrid ( nsIBox *  aBox,
PRInt32 *  aIndex,
nsGridRowLayout aRequestor = nsnull 
) [virtual]
virtual void nsGridRowLayout::GetParentGridPart ( nsIBox *  aBox,
nsIBox **  aParentBox,
nsIGridPart **  aParentGridRow 
) [virtual]
virtual nsMargin nsGridRowLayout::GetTotalMargin ( nsIBox *  aBox,
PRBool  aIsHorizontal 
) [virtual]

Reimplemented in nsGridRowGroupLayout.


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