Project Wonder 5.0.0.8794

er.grouping
Class DRAttributeGroup

java.lang.Object
  extended by er.grouping.DRAttribute
      extended by er.grouping.DRAttributeGroup

public class DRAttributeGroup
extends DRAttribute

Group of attributes which is also an attribute by itself.


Field Summary
protected  NSMutableArray _attributes
           
protected  NSMutableArray _flatAttributes
           
protected  NSMutableArray _flatAttributesTotal
           
 
Fields inherited from class er.grouping.DRAttribute
_attributeGroup, _emptyArray, _format, _isComputed, _isGroup, _isPlaceHolderTotal, _isTotal, _keyPath, _label, _shouldRestrictToFirstRow, _shouldSort, _shouldTotal, _userInfo
 
Constructor Summary
DRAttributeGroup(NSDictionary dictionary, NSArray subAttributes)
           
DRAttributeGroup(String keyPath, String format, String label, boolean shouldTotal, NSArray attributes, NSDictionary userInfo)
           
 
Method Summary
 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)
           
 
Methods inherited from class er.grouping.DRAttribute
attributeGroup, computeFromRawRecords, format, isComputed, isPlaceHolderTotal, keyPath, label, setAttributeGroup, setFormat, setIsPlaceHolderTotal, setKeyPath, setLabel, setShouldRestrictToFirstRow, setShouldSort, setShouldTotal, setUserInfo, shouldRestrictToFirstRow, shouldSort, shouldTotal, userInfo, withAttributeGroup, withKeyPathFormatLabelTotalUserInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_attributes

protected NSMutableArray _attributes

_flatAttributes

protected NSMutableArray _flatAttributes

_flatAttributesTotal

protected NSMutableArray _flatAttributesTotal
Constructor Detail

DRAttributeGroup

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

DRAttributeGroup

public DRAttributeGroup(NSDictionary dictionary,
                        NSArray subAttributes)
Method Detail

withKeyPathFormatLabelTotalListUserInfo

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

resetDefaults

public void resetDefaults()
Overrides:
resetDefaults in class DRAttribute

showTotal

public boolean showTotal()
Overrides:
showTotal in class DRAttribute

isGroup

public boolean isGroup()
Overrides:
isGroup in class DRAttribute

attributes

public NSMutableArray attributes()
Overrides:
attributes in class DRAttribute

flatListForAttributeDepthDictionary

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

flatAttributesWithDepthDictionary

protected NSArray flatAttributesWithDepthDictionary(int attributeListDepth,
                                                    NSMutableDictionary flatAttributeDepthDict)
Overrides:
flatAttributesWithDepthDictionary in class DRAttribute

flatListForAttributeList

protected void flatListForAttributeList()

flatAttributes

public NSArray flatAttributes()
Overrides:
flatAttributes in class DRAttribute

flatAttributesTotal

public NSArray flatAttributesTotal()
Overrides:
flatAttributesTotal in class DRAttribute

toString

public String toString()
Overrides:
toString in class DRAttribute

Last updated: Thu, Jan 8, 2009 • 12:32 PM EST

Copyright © 2002 – 2007 Project Wonder.