public class DRAttributeGroup extends DRAttribute
Modifier and Type | Field and Description |
---|---|
protected NSMutableArray |
_attributes |
protected NSMutableArray |
_flatAttributes |
protected NSMutableArray |
_flatAttributesTotal |
_attributeGroup, _emptyArray, _format, _isComputed, _isGroup, _isPlaceHolderTotal, _isTotal, _keyPath, _label, _shouldRestrictToFirstRow, _shouldSort, _shouldTotal, _userInfo
Constructor and Description |
---|
DRAttributeGroup(NSDictionary dictionary,
NSArray subAttributes) |
DRAttributeGroup(String keyPath,
String format,
String label,
boolean shouldTotal,
NSArray attributes,
NSDictionary userInfo) |
Modifier and Type | Method and Description |
---|---|
NSMutableArray |
attributes() |
NSArray |
flatAttributes() |
NSArray |
flatAttributesTotal() |
protected NSArray |
flatAttributesWithDepthDictionary(int attributeListDepth,
NSMutableDictionary flatAttributeDepthDict) |
protected void |
flatListForAttributeDepthDictionary(DRAttribute att,
int attributeListDepth,
NSMutableDictionary flatAttributeDepthDict) |
protected void |
flatListForAttributeList() |
boolean |
isGroup() |
void |
resetDefaults() |
boolean |
showTotal() |
String |
toString() |
static DRAttributeGroup |
withKeyPathFormatLabelTotalListUserInfo(String keyPath,
String format,
String label,
boolean shouldTotal,
NSArray attributes,
NSDictionary userInfo) |
attributeGroup, computeFromRawRecords, format, isComputed, isPlaceHolderTotal, keyPath, label, setAttributeGroup, setFormat, setIsPlaceHolderTotal, setKeyPath, setLabel, setShouldRestrictToFirstRow, setShouldSort, setShouldTotal, setUserInfo, shouldRestrictToFirstRow, shouldSort, shouldTotal, userInfo, withAttributeGroup, withKeyPathFormatLabelTotalUserInfo
protected NSMutableArray _attributes
protected NSMutableArray _flatAttributes
protected NSMutableArray _flatAttributesTotal
public DRAttributeGroup(String keyPath, String format, String label, boolean shouldTotal, NSArray attributes, NSDictionary userInfo)
public DRAttributeGroup(NSDictionary dictionary, NSArray subAttributes)
public static DRAttributeGroup withKeyPathFormatLabelTotalListUserInfo(String keyPath, String format, String label, boolean shouldTotal, NSArray attributes, NSDictionary userInfo)
public void resetDefaults()
resetDefaults
in class DRAttribute
public boolean showTotal()
showTotal
in class DRAttribute
public boolean isGroup()
isGroup
in class DRAttribute
public NSMutableArray attributes()
attributes
in class DRAttribute
protected void flatListForAttributeDepthDictionary(DRAttribute att, int attributeListDepth, NSMutableDictionary flatAttributeDepthDict)
protected NSArray flatAttributesWithDepthDictionary(int attributeListDepth, NSMutableDictionary flatAttributeDepthDict)
flatAttributesWithDepthDictionary
in class DRAttribute
protected void flatListForAttributeList()
public NSArray flatAttributes()
flatAttributes
in class DRAttribute
public NSArray flatAttributesTotal()
flatAttributesTotal
in class DRAttribute
public String toString()
toString
in class DRAttribute
Copyright © 2002 – 2020 Project Wonder.