Class AC.data.ContributionChildCounter
Contribution counter.
Defined in: Utility.js.
Constructor Attributes | Constructor Name and Description |
---|---|
AC.data.ContributionChildCounter(superiorId, populationRules, callbackobject, callbackmethod)
Default constructor.
|
Field Attributes | Field Name and Description |
---|---|
The count of all (both new and old) contributions.
|
|
The count of new contributions.
|
Method Attributes | Method Name and Description |
---|---|
Decrements the count of all contributions.
|
|
Decrements the count of new contributions.
|
|
destroy()
Destroys the contribution counter node.
|
|
Invokes the callback method on the callback object.
|
|
Increments the count of all contributions.
|
|
Increments the count of new contributions.
|
Class Detail
AC.data.ContributionChildCounter(superiorId, populationRules, callbackobject, callbackmethod)
Default constructor.
- Parameters:
- superiorId
- the superior counter node's contribution id
- populationRules
- the population rules
- callbackobject
- the callback object
- callbackmethod
- the callback method
Field Detail
count
The count of all (both new and old) contributions.
newCount
The count of new contributions.
Method Detail
decrementCount()
Decrements the count of all contributions.
- Returns:
- void
decrementNewCount()
Decrements the count of new contributions.
- Returns:
- void
destroy()
Destroys the contribution counter node.
- Returns:
- void
doCallback()
Invokes the callback method on the callback object.
- Returns:
- void
incrementCount()
Increments the count of all contributions.
- Returns:
- void
incrementNewCount()
Increments the count of new contributions.
- Returns:
- void