com.azalient.api.b.parameters
Interface IDistributionBar

All Superinterfaces:
IRecord, RecordR, RecordRW, RecordW, SortableData, StoreRecordRW

public interface IDistributionBar
extends StoreRecordRW

A discrete distribution is made up of these bars, where each bar represents a value and a share of the total. In a uniform distribution, all bars have the same share, and are the same width.


Field Summary
 
Fields inherited from interface com.azalient.api.a.tables.IRecord
DELETED, KEY_SEP, KEY_SEP_CHAR
 
Method Summary
 Object barObject2(IDiscreteDistribution.DiscreteType objectType)
          The object which is created in proportion to this bar's share
 String label()
          A label for this bar, shown in the distribution window
 double share()
          Returns the share (0.0 ...
 void share(double s)
          Sets the share (0.0 ...
 
Methods inherited from interface com.azalient.api.file.StoreRecordRW
canRename, rename, store
 
Methods inherited from interface com.azalient.api.file.RecordR
extraSet, finished, isApplicable, isEditable, set
 
Methods inherited from interface com.azalient.api.a.tables.IRecord
name
 
Methods inherited from interface com.azalient.api.file.RecordW
extraCols, extraGet, extraGetB, extraGetD, extraGetI, extraGetS, extraGetT, get, isVolatile
 

Method Detail

barObject2

Object barObject2(IDiscreteDistribution.DiscreteType objectType)
The object which is created in proportion to this bar's share


label

String label()
A label for this bar, shown in the distribution window


share

void share(double s)
Sets the share (0.0 ... 1.0] for this bar


share

double share()
Returns the share (0.0 ... 1.0] for this bar