TSizableCumulativeSizes

Adjustable sizing, adjusting the weight of an item based on size adjustments

Inheritance

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

Source

CumulativeSizes.Sizable.pas (27)

Fields

ScopeVisibilityTypeNameDescription
InstanceprotectedTPartialSumsPartialSizes
InstanceprotectedTPartialSumsPartialWeights
InstanceprotectedTPartialSumsPartialMinimumSizes
InstancepublicTInteger32MinimumSize

Methods

ScopeVisibilityResultNameDescription
InstanceprivateSetMinimumSize(Index: TInteger32; Value: TInteger32)
InstanceprivateTInteger32GetMinimumSize(Index: TInteger32)
InstanceprotectedTInteger32GetWeight(Index: TInteger32)
InstanceprotectedSetWeight(Index: TInteger32; Value: TInteger32)
InstanceprotectedSetCount(Value: TInteger32)
InstanceprotectedTInteger32GetCount()
InstanceprotectedSetVisible(Index: TInteger32; Value: TBoolean)
InstanceprotectedDistributeDelta(Delta: TInteger32; Start: TInteger32; Finish: TInteger32)
InstanceprotectedTInteger32IndexWithRunningSum(RunningSum: TInteger32)
InstancepublicCreate()
InstancepublicDestroy()
InstancepublicInsert(Index: TInteger32; Value: TInteger32)
InstancepublicRemove(Index: TInteger32)
InstancepublicSetItemSizeAndRedistribute(Item: TInteger32; Size: TInteger32; Redistribute: TBoolean)
InstancepublicSetItemSize(Item: TInteger32; Size: TInteger32; InPlace: TBoolean)
InstancepublicTInteger32Size(Item: TInteger32)
InstancepublicTInteger32RunningSize(Item: TInteger32)
InstancepublicTInteger32TotalSize()
InstancepublicSetTotalSize(Value: TInteger32; DeltaSizeMethod: TDeltaSizeMethod)