Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsGridRow Class Reference

#include <nsGridRow.h>

List of all members.

Public Member Functions

 nsGridRow ()
 ~nsGridRow ()
void Init (nsIBox *aBox, PRBool aIsBogus)
void MarkDirty (nsBoxLayoutState &aState)
nsIBox * GetBox ()
PRBool IsPrefSet ()
PRBool IsMinSet ()
PRBool IsMaxSet ()
PRBool IsFlexSet ()
PRBool IsOffsetSet ()
PRBool IsCollapsed (nsBoxLayoutState &aState)

Public Attributes

PRBool mIsBogus
nsIBox * mBox
nscoord mFlex
nscoord mPref
nscoord mMin
nscoord mMax
nscoord mTop
nscoord mBottom
nscoord mTopMargin
nscoord mBottomMargin

Detailed Description

Definition at line 53 of file nsGridRow.h.


Constructor & Destructor Documentation

Definition at line 48 of file nsGridRow.cpp.

Definition at line 78 of file nsGridRow.cpp.


Member Function Documentation

nsIBox* nsGridRow::GetBox ( ) [inline]

Definition at line 63 of file nsGridRow.h.

{ return mBox;          }

Here is the caller graph for this function:

void nsGridRow::Init ( nsIBox *  aBox,
PRBool  aIsBogus 
)

Definition at line 64 of file nsGridRow.cpp.

{
  mBox = aBox;
  mIsBogus = aIsBogus;
  mFlex = -1;
  mPref = -1;
  mMin = -1;
  mMax = -1;
  mTop = -1;
  mBottom = -1;
  mTopMargin = 0;
  mBottomMargin = 0;
}

Here is the caller graph for this function:

Definition at line 98 of file nsGridRow.cpp.

{
  PRBool isCollapsed = PR_FALSE;

  if (mBox)
    mBox->IsCollapsed(aState,isCollapsed);

  return isCollapsed;
}

Here is the caller graph for this function:

Definition at line 67 of file nsGridRow.h.

{ return (mFlex != -1); }

Here is the caller graph for this function:

Definition at line 66 of file nsGridRow.h.

{ return (mMax  != -1); } 

Here is the caller graph for this function:

Definition at line 65 of file nsGridRow.h.

{ return (mMin  != -1); }

Here is the caller graph for this function:

Definition at line 68 of file nsGridRow.h.

{ return (mTop != -1 && mBottom != -1); }

Here is the caller graph for this function:

Definition at line 64 of file nsGridRow.h.

{ return (mPref != -1); }

Here is the caller graph for this function:

Definition at line 84 of file nsGridRow.cpp.

{ 
  mPref = -1;
  mMin = -1;
  mMax = -1;
  mFlex = -1;
  mTop = -1;
  mBottom = -1;

  if (mBox) 
    mBox->MarkDirty(aState);
}

Member Data Documentation

Definition at line 80 of file nsGridRow.h.

Definition at line 82 of file nsGridRow.h.

nsIBox* nsGridRow::mBox

Definition at line 74 of file nsGridRow.h.

Definition at line 75 of file nsGridRow.h.

Definition at line 73 of file nsGridRow.h.

Definition at line 78 of file nsGridRow.h.

Definition at line 77 of file nsGridRow.h.

Definition at line 76 of file nsGridRow.h.

Definition at line 79 of file nsGridRow.h.

Definition at line 81 of file nsGridRow.h.


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