|
Project Wonder 5.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecter.grouping.DRAttribute
public class DRAttribute
DRAttributes are to display what EOAttributes are to the back-end. Each DRAttribute can be defined with:
Field Summary | |
---|---|
protected DRAttributeGroup |
_attributeGroup
|
protected com.webobjects.foundation.NSArray |
_emptyArray
|
protected java.lang.String |
_format
|
protected boolean |
_isComputed
|
protected boolean |
_isGroup
|
protected boolean |
_isPlaceHolderTotal
|
protected boolean |
_isTotal
|
protected java.lang.String |
_keyPath
|
protected java.lang.String |
_label
|
protected boolean |
_shouldRestrictToFirstRow
|
protected boolean |
_shouldSort
|
protected boolean |
_shouldTotal
|
protected com.webobjects.foundation.NSDictionary |
_userInfo
|
Constructor Summary | |
---|---|
DRAttribute()
|
|
DRAttribute(DRAttributeGroup attributeGroup)
Constructor with DRAttributeGroup. |
|
DRAttribute(java.lang.String keyPath,
java.lang.String format,
java.lang.String label,
boolean shouldTotal,
com.webobjects.foundation.NSDictionary userInfo)
Constructor with parameters. |
Method Summary | |
---|---|
DRAttributeGroup |
attributeGroup()
|
com.webobjects.foundation.NSMutableArray |
attributes()
|
double |
computeFromRawRecords(com.webobjects.foundation.NSArray rawRecords)
|
com.webobjects.foundation.NSArray |
flatAttributes()
|
com.webobjects.foundation.NSArray |
flatAttributesTotal()
|
protected com.webobjects.foundation.NSArray |
flatAttributesWithDepthDictionary(int attributeListDepth,
com.webobjects.foundation.NSMutableDictionary flatAttributeDepthDict)
|
java.lang.String |
format()
|
boolean |
isComputed()
|
boolean |
isGroup()
|
boolean |
isPlaceHolderTotal()
|
java.lang.String |
keyPath()
|
java.lang.String |
label()
|
void |
resetDefaults()
|
void |
setAttributeGroup(DRAttributeGroup attributeGroup)
|
void |
setFormat(java.lang.String value)
|
void |
setIsPlaceHolderTotal(boolean value)
|
void |
setKeyPath(java.lang.String value)
|
void |
setLabel(java.lang.String value)
|
void |
setShouldRestrictToFirstRow(boolean value)
|
void |
setShouldSort(boolean value)
|
void |
setShouldTotal(boolean value)
|
void |
setUserInfo(com.webobjects.foundation.NSDictionary value)
|
boolean |
shouldRestrictToFirstRow()
|
boolean |
shouldSort()
|
boolean |
shouldTotal()
|
boolean |
showTotal()
|
java.lang.String |
toString()
|
com.webobjects.foundation.NSDictionary |
userInfo()
|
static DRAttribute |
withAttributeGroup(DRAttributeGroup attributeGroup)
Creates a new DRAttributes from a DRAttributeGroup. |
static DRAttribute |
withKeyPathFormatLabelTotalUserInfo(java.lang.String keyPath,
java.lang.String format,
java.lang.String label,
boolean shouldTotal,
com.webobjects.foundation.NSDictionary userInfo)
Creates a new DRAttribute from the supplied parmeters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String _keyPath
protected java.lang.String _format
protected boolean _shouldTotal
protected boolean _shouldSort
protected boolean _shouldRestrictToFirstRow
protected boolean _isGroup
protected java.lang.String _label
protected com.webobjects.foundation.NSDictionary _userInfo
protected DRAttributeGroup _attributeGroup
protected boolean _isPlaceHolderTotal
protected boolean _isTotal
protected boolean _isComputed
protected com.webobjects.foundation.NSArray _emptyArray
Constructor Detail |
---|
public DRAttribute(java.lang.String keyPath, java.lang.String format, java.lang.String label, boolean shouldTotal, com.webobjects.foundation.NSDictionary userInfo)
keyPath
- format
- label
- shouldTotal
- userInfo
- public DRAttribute(DRAttributeGroup attributeGroup)
attributeGroup
- public DRAttribute()
Method Detail |
---|
public static DRAttribute withAttributeGroup(DRAttributeGroup attributeGroup)
attributeGroup
- public static DRAttribute withKeyPathFormatLabelTotalUserInfo(java.lang.String keyPath, java.lang.String format, java.lang.String label, boolean shouldTotal, com.webobjects.foundation.NSDictionary userInfo)
keyPath
- format
- label
- shouldTotal
- userInfo
- public void resetDefaults()
public java.lang.String keyPath()
public void setKeyPath(java.lang.String value)
public java.lang.String format()
public void setFormat(java.lang.String value)
public boolean showTotal()
public boolean shouldTotal()
public void setShouldTotal(boolean value)
public boolean shouldSort()
public void setShouldSort(boolean value)
public boolean shouldRestrictToFirstRow()
public void setShouldRestrictToFirstRow(boolean value)
public java.lang.String label()
public void setLabel(java.lang.String value)
public com.webobjects.foundation.NSDictionary userInfo()
public void setUserInfo(com.webobjects.foundation.NSDictionary value)
public boolean isGroup()
public com.webobjects.foundation.NSMutableArray attributes()
public com.webobjects.foundation.NSArray flatAttributes()
public com.webobjects.foundation.NSArray flatAttributesTotal()
protected com.webobjects.foundation.NSArray flatAttributesWithDepthDictionary(int attributeListDepth, com.webobjects.foundation.NSMutableDictionary flatAttributeDepthDict)
public void setAttributeGroup(DRAttributeGroup attributeGroup)
public DRAttributeGroup attributeGroup()
public boolean isPlaceHolderTotal()
public void setIsPlaceHolderTotal(boolean value)
public boolean isComputed()
public java.lang.String toString()
toString
in class java.lang.Object
public double computeFromRawRecords(com.webobjects.foundation.NSArray rawRecords)
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |