Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends

nsGridLayout2 Class Reference

The nsIBoxLayout implementation for a grid. More...

#include <nsGridLayout2.h>

Collaboration diagram for nsGridLayout2:

List of all members.

Public Member Functions

virtual
NS_DECL_ISUPPORTS_INHERITED
nsresult 
Layout (nsIBox *aBox, nsBoxLayoutState &aBoxLayoutState)
virtual void IntrinsicWidthsDirty (nsIBox *aBox, nsBoxLayoutState &aBoxLayoutState)
virtual nsGridRowGroupLayoutCastToRowGroupLayout ()
virtual nsGridLayout2CastToGridLayout ()
virtual nsGridGetGrid (nsIBox *aBox, PRInt32 *aIndex, nsGridRowLayout *aRequestor=0)
virtual void GetParentGridPart (nsIBox *aBox, nsIBox **aParentBox, nsIGridPart **aParentGridPart)
virtual nsSize GetMinSize (nsIBox *aBox, nsBoxLayoutState &aBoxLayoutState)
virtual nsSize GetMaxSize (nsIBox *aBox, nsBoxLayoutState &aBoxLayoutState)
virtual nsSize GetPrefSize (nsIBox *aBox, nsBoxLayoutState &aBoxLayoutState)
virtual void CountRowsColumns (nsIBox *aBox, PRInt32 &aRowCount, PRInt32 &aComputedColumnCount)
virtual void DirtyRows (nsIBox *aBox, nsBoxLayoutState &aState)
virtual PRInt32 BuildRows (nsIBox *aBox, nsGridRow *aRows)
virtual nsMargin GetTotalMargin (nsIBox *aBox, PRBool aIsHorizontal)
virtual Type GetType ()
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)

Static Public Member Functions

static void AddOffset (nsBoxLayoutState &aState, nsIBox *aChild, nsSize &aSize)

Protected Member Functions

 nsGridLayout2 (nsIPresShell *aShell)

Protected Attributes

nsGrid mGrid

Friends

nsresult NS_NewGridLayout2 (nsIPresShell *aPresShell, nsIBoxLayout **aNewLayout)

Detailed Description

The nsIBoxLayout implementation for a grid.


Constructor & Destructor Documentation

nsGridLayout2::nsGridLayout2 ( nsIPresShell *  aShell  )  [protected]

Member Function Documentation

static void nsGridLayout2::AddOffset ( nsBoxLayoutState &  aState,
nsIBox *  aChild,
nsSize aSize 
) [static]
virtual PRInt32 nsGridLayout2::BuildRows ( nsIBox *  aBox,
nsGridRow aRows 
) [virtual]
virtual nsGridLayout2* nsGridLayout2::CastToGridLayout (  )  [inline, virtual]
virtual nsGridRowGroupLayout* nsGridLayout2::CastToRowGroupLayout (  )  [inline, virtual]
virtual void nsGridLayout2::ChildrenAppended ( nsIBox *  aBox,
nsBoxLayoutState &  aState,
const nsFrameList::Slice aNewChildren 
) [virtual]
virtual void nsGridLayout2::ChildrenInserted ( nsIBox *  aBox,
nsBoxLayoutState &  aState,
nsIBox *  aPrevBox,
const nsFrameList::Slice aNewChildren 
) [virtual]
virtual void nsGridLayout2::ChildrenRemoved ( nsIBox *  aBox,
nsBoxLayoutState &  aState,
nsIBox *  aChildList 
) [virtual]
virtual void nsGridLayout2::ChildrenSet ( nsIBox *  aBox,
nsBoxLayoutState &  aState,
nsIBox *  aChildList 
) [virtual]
virtual void nsGridLayout2::CountRowsColumns ( nsIBox *  aBox,
PRInt32 &  aRowCount,
PRInt32 &  aComputedColumnCount 
) [inline, virtual]
virtual void nsGridLayout2::DirtyRows ( nsIBox *  aBox,
nsBoxLayoutState &  aState 
) [inline, virtual]
virtual nsGrid* nsGridLayout2::GetGrid ( nsIBox *  aBox,
PRInt32 *  aIndex,
nsGridRowLayout aRequestor = 0 
) [virtual]
virtual nsSize nsGridLayout2::GetMaxSize ( nsIBox *  aBox,
nsBoxLayoutState &  aBoxLayoutState 
) [virtual]
virtual nsSize nsGridLayout2::GetMinSize ( nsIBox *  aBox,
nsBoxLayoutState &  aBoxLayoutState 
) [virtual]
virtual void nsGridLayout2::GetParentGridPart ( nsIBox *  aBox,
nsIBox **  aParentBox,
nsIGridPart **  aParentGridPart 
) [inline, virtual]
virtual nsSize nsGridLayout2::GetPrefSize ( nsIBox *  aBox,
nsBoxLayoutState &  aBoxLayoutState 
) [virtual]
virtual nsMargin nsGridLayout2::GetTotalMargin ( nsIBox *  aBox,
PRBool  aIsHorizontal 
) [virtual]
virtual Type nsGridLayout2::GetType (  )  [inline, virtual]
virtual void nsGridLayout2::IntrinsicWidthsDirty ( nsIBox *  aBox,
nsBoxLayoutState &  aBoxLayoutState 
) [virtual]
virtual NS_DECL_ISUPPORTS_INHERITED nsresult nsGridLayout2::Layout ( nsIBox *  aBox,
nsBoxLayoutState &  aBoxLayoutState 
) [virtual]

Friends And Related Function Documentation

nsresult NS_NewGridLayout2 ( nsIPresShell *  aPresShell,
nsIBoxLayout **  aNewLayout 
) [friend]

Member Data Documentation


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