Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsListScrollSmoother Class Reference
Inheritance diagram for nsListScrollSmoother:
Inheritance graph
[legend]
Collaboration diagram for nsListScrollSmoother:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_DECL_ISUPPORTS nsListScrollSmoother (nsListBoxBodyFrame *aOuter)
virtual ~nsListScrollSmoother ()
NS_DECL_NSITIMERCALLBACK void Start ()
void Stop ()
PRBool IsRunning ()
void notify (in nsITimer timer)

Public Attributes

nsCOMPtr< nsITimermRepeatTimer
PRBool mDelta
nsListBoxBodyFramemOuter

Detailed Description

Definition at line 102 of file nsListBoxBodyFrame.cpp.


Constructor & Destructor Documentation

Definition at line 122 of file nsListBoxBodyFrame.cpp.

{
  mDelta = 0;
  mOuter = aOuter;
}

Definition at line 128 of file nsListBoxBodyFrame.cpp.

{
  Stop();
}

Here is the call graph for this function:


Member Function Documentation

Definition at line 147 of file nsListBoxBodyFrame.cpp.

{
  return mRepeatTimer ? PR_TRUE : PR_FALSE;
}

Here is the caller graph for this function:

void nsITimerCallback::notify ( in nsITimer  timer) [inherited]
Parameters:
aTimerthe timer which has expired

Definition at line 153 of file nsListBoxBodyFrame.cpp.

{
  Stop();
  mRepeatTimer = do_CreateInstance("@mozilla.org/timer;1");
  mRepeatTimer->InitWithCallback(this, SMOOTH_INTERVAL, nsITimer::TYPE_ONE_SHOT);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 161 of file nsListBoxBodyFrame.cpp.

{
  if ( mRepeatTimer ) {
    mRepeatTimer->Cancel();
    mRepeatTimer = nsnull;
  }
}

Here is the caller graph for this function:


Member Data Documentation

Definition at line 118 of file nsListBoxBodyFrame.cpp.

Definition at line 119 of file nsListBoxBodyFrame.cpp.

Definition at line 117 of file nsListBoxBodyFrame.cpp.


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