DRAttributeGroup Class Reference

Inherits er::grouping::DRAttribute.

Collaboration diagram for DRAttributeGroup:

Collaboration graph
[legend]

List of all members.

Public Member Functions

NSMutableArray attributes ()
 DRAttributeGroup (NSDictionary dictionary, NSArray subAttributes)
 DRAttributeGroup (String keyPath, String format, String label, boolean shouldTotal, NSArray attributes, NSDictionary userInfo)
NSArray flatAttributes ()
NSArray flatAttributesTotal ()
boolean isGroup ()
void resetDefaults ()
boolean showTotal ()
String toString ()

Static Public Member Functions

static DRAttributeGroup withKeyPathFormatLabelTotalListUserInfo (String keyPath, String format, String label, boolean shouldTotal, NSArray attributes, NSDictionary userInfo)

Protected Member Functions

NSArray flatAttributesWithDepthDictionary (int attributeListDepth, NSMutableDictionary flatAttributeDepthDict)
void flatListForAttributeDepthDictionary (DRAttribute att, int attributeListDepth, NSMutableDictionary flatAttributeDepthDict)
void flatListForAttributeList ()

Protected Attributes

NSMutableArray _attributes
NSMutableArray _flatAttributes
NSMutableArray _flatAttributesTotal


Detailed Description

Group of attributes which is also an attribute by itself.

Constructor & Destructor Documentation

DRAttributeGroup ( String  keyPath,
String  format,
String  label,
boolean  shouldTotal,
NSArray  attributes,
NSDictionary  userInfo 
)

DRAttributeGroup ( NSDictionary  dictionary,
NSArray  subAttributes 
)


Member Function Documentation

NSMutableArray attributes (  ) 

Reimplemented from DRAttribute.

NSArray flatAttributes (  ) 

Reimplemented from DRAttribute.

NSArray flatAttributesTotal (  ) 

Reimplemented from DRAttribute.

NSArray flatAttributesWithDepthDictionary ( int  attributeListDepth,
NSMutableDictionary  flatAttributeDepthDict 
) [protected]

Reimplemented from DRAttribute.

void flatListForAttributeDepthDictionary ( DRAttribute  att,
int  attributeListDepth,
NSMutableDictionary  flatAttributeDepthDict 
) [protected]

void flatListForAttributeList (  )  [protected]

boolean isGroup (  ) 

Reimplemented from DRAttribute.

void resetDefaults (  ) 

Reimplemented from DRAttribute.

boolean showTotal (  ) 

Reimplemented from DRAttribute.

String toString (  ) 

Reimplemented from DRAttribute.

static DRAttributeGroup withKeyPathFormatLabelTotalListUserInfo ( String  keyPath,
String  format,
String  label,
boolean  shouldTotal,
NSArray  attributes,
NSDictionary  userInfo 
) [static]


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:18 2012 for Project Wonder by  doxygen 1.5.8