TEvenCumulativeSizes

Distributes size equally amongst items

Inheritance

LevelAncestorDescription
1TObjectUltimate ancestor in a class hierarchy
2TCumulativeSizes Abstract base class for distribution of size across a set of items
3TEvenCumulativeSizes

Source

CumulativeSizes.Even.pas (26)

Fields

ScopeVisibilityTypeNameDescription
InstanceprotectedTInteger32FCommonSize
InstanceprotectedTInteger32FCount

Methods

ScopeVisibilityResultNameDescription
InstanceprotectedTInteger32GetWeight(Index: TInteger32)
InstanceprotectedSetWeight(Index: TInteger32; Value: TInteger32)
InstanceprotectedSetCount(Value: TInteger32)
InstanceprotectedTInteger32GetCount()
InstanceprotectedSetVisible(Index: TInteger32; Value: TBoolean)
InstanceprotectedTInteger32IndexWithRunningSum(RunningSum: TInteger32)
InstancepublicInsert(Index: TInteger32; Value: TInteger32)
InstancepublicRemove(Index: TInteger32)
InstancepublicTInteger32Size(Item: TInteger32)
InstancepublicTInteger32RunningSize(Item: TInteger32)
InstancepublicTInteger32TotalSize()
InstancepublicSetItemSizeAndRedistribute(Item: TInteger32; Size: TInteger32; Redistribute: TBoolean)
InstancepublicSetItemSize(Item: TInteger32; Size: TInteger32; InPlace: TBoolean)
InstancepublicSetTotalSize(Value: TInteger32; DeltaSizeMethod: TDeltaSizeMethod)