Project Wonder 5.0

er.reporting
Class WRRecordGroup

java.lang.Object
  extended by com.webobjects.appserver.WOElement
      extended by com.webobjects.appserver.WOComponent
          extended by er.reporting.WRRecordGroup
All Implemented Interfaces:
com.webobjects.appserver.WOActionResults, com.webobjects.foundation.NSKeyValueCoding, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCodingAdditions, com.webobjects.foundation.NSValidation, java.io.Serializable, java.lang.Cloneable

public class WRRecordGroup
extends com.webobjects.appserver.WOComponent

Contains a cell in the table that WRReport has set up. You should subclass this class to implement additional behaviour or cell-level rendering, like colors that depend on the current group. Additionally, you must specify the components name in the bindings for the report component as the reportComponentName binding.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.webobjects.appserver.WOComponent
com.webobjects.appserver.WOComponent._EventLoggingEnabler, com.webobjects.appserver.WOComponent.Event
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
com.webobjects.foundation.NSKeyValueCodingAdditions.DefaultImplementation, com.webobjects.foundation.NSKeyValueCodingAdditions.Utility
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCoding
com.webobjects.foundation.NSKeyValueCoding._BooleanFieldBinding, com.webobjects.foundation.NSKeyValueCoding._BooleanMethodBinding, com.webobjects.foundation.NSKeyValueCoding._FieldBinding, com.webobjects.foundation.NSKeyValueCoding._ForwardingBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding._MethodBinding, com.webobjects.foundation.NSKeyValueCoding._NumberFieldBinding, com.webobjects.foundation.NSKeyValueCoding._NumberMethodBinding, com.webobjects.foundation.NSKeyValueCoding._ReflectionKeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCoding.Null, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.ValueAccessor
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation
com.webobjects.foundation.NSValidation._MethodBinding, com.webobjects.foundation.NSValidation._ValidationBinding, com.webobjects.foundation.NSValidation.DefaultImplementation, com.webobjects.foundation.NSValidation.Utility, com.webobjects.foundation.NSValidation.ValidationException
 
Field Summary
 DRRecord record
           
 DRValue totalValue
           
 DRValue value
           
 
Fields inherited from class com.webobjects.appserver.WOComponent
_Extension, _IsEventLoggingEnabled, _keyAssociations
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling
_CLASS
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding
NullValue
 
Fields inherited from interface com.webobjects.foundation.NSValidation
_CLASS
 
Constructor Summary
WRRecordGroup(com.webobjects.appserver.WOContext c)
           
 
Method Summary
 void appendToResponse(com.webobjects.appserver.WOResponse r, com.webobjects.appserver.WOContext c)
           
 com.webobjects.foundation.NSDictionary attributeListDict()
           
 java.lang.Boolean booleanValueForBinding(java.lang.String name)
           
 com.webobjects.foundation.NSArray colors()
           
 int colspanForAllAttribs()
           
 com.webobjects.foundation.NSDictionary coordinates()
           
 int depthCount()
           
 java.lang.String displayType()
          Returns the display type from the bindings.
 boolean hDimsUsed()
           
 boolean isNotTotalGroup()
           
 boolean isStateless()
          Component is stateless, and your subclasses should be so, too.
 DRReportModel model()
           
 java.lang.String noTotalLabel()
           
 boolean nototals()
           
 int nototalsrowspan()
           
 com.webobjects.foundation.NSArray recordFlatValueList()
           
 DRRecordGroup recordGroup()
          Returns the DRRecordGroup from the bindings.
 com.webobjects.foundation.NSArray records()
           
 java.lang.String reportStyle()
           
 void reset()
          Resets cached values.
 boolean showAsTable()
           
 boolean showHeadings()
           
 boolean showHeadingsForTotalsOrTable()
           
 boolean showRecordTable()
           
 boolean showRecordTableAsCells()
           
 boolean showRecordTableAsTable()
           
 boolean showSingleValue()
           
 boolean showTotalsOnly()
           
 boolean showTotalsOnlyAsCells()
           
 boolean showTotalsOnlyAsTable()
           
 java.lang.String singleTotal()
           
 void sleep()
           
 boolean synchronizesVariablesWithBindings()
          Component does not synchronize with bindings, and your subclasses should be doing so, too.
 java.lang.String toString()
           
 int totalCount()
           
 com.webobjects.foundation.NSDictionary totalDict()
           
 com.webobjects.foundation.NSArray totals()
           
 boolean totalsOnly()
           
 java.lang.String totalToShow()
           
 double totalValueTotal()
           
 boolean useVerticalReportStyle()
           
 
Methods inherited from class com.webobjects.appserver.WOComponent
_associationWithName, _awakeInContext, _childTemplate, _componentDefinition, _componentUnroll, _isPage, _setContext, _setIsPage, _setParent, _setSubcomponent, _sleepInContext, _subcomponentForElementWithID, _templateNameForClass, _unroll, application, awake, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, invokeAction, isCachingEnabled, isEventLoggingEnabled, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithName, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForKey, valueForKeyPath
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

record

public DRRecord record

value

public DRValue value

totalValue

public DRValue totalValue
Constructor Detail

WRRecordGroup

public WRRecordGroup(com.webobjects.appserver.WOContext c)
Method Detail

reset

public void reset()
Resets cached values.

Overrides:
reset in class com.webobjects.appserver.WOComponent

synchronizesVariablesWithBindings

public final boolean synchronizesVariablesWithBindings()
Component does not synchronize with bindings, and your subclasses should be doing so, too.

Overrides:
synchronizesVariablesWithBindings in class com.webobjects.appserver.WOComponent

isStateless

public boolean isStateless()
Component is stateless, and your subclasses should be so, too.

Overrides:
isStateless in class com.webobjects.appserver.WOComponent

sleep

public void sleep()
Overrides:
sleep in class com.webobjects.appserver.WOComponent

appendToResponse

public void appendToResponse(com.webobjects.appserver.WOResponse r,
                             com.webobjects.appserver.WOContext c)
Overrides:
appendToResponse in class com.webobjects.appserver.WOComponent

recordGroup

public DRRecordGroup recordGroup()
Returns the DRRecordGroup from the bindings.


displayType

public java.lang.String displayType()
Returns the display type from the bindings. If not set, then TOTALS is used as the default, meaning that ???


noTotalLabel

public java.lang.String noTotalLabel()

reportStyle

public java.lang.String reportStyle()

records

public com.webobjects.foundation.NSArray records()

totals

public com.webobjects.foundation.NSArray totals()

totalValueTotal

public double totalValueTotal()

nototals

public boolean nototals()

toString

public java.lang.String toString()
Overrides:
toString in class com.webobjects.appserver.WOComponent

model

public DRReportModel model()

booleanValueForBinding

public java.lang.Boolean booleanValueForBinding(java.lang.String name)

showAsTable

public boolean showAsTable()

showHeadings

public boolean showHeadings()

showHeadingsForTotalsOrTable

public boolean showHeadingsForTotalsOrTable()

showRecordTable

public boolean showRecordTable()

showSingleValue

public boolean showSingleValue()

showTotalsOnly

public boolean showTotalsOnly()

showTotalsOnlyAsTable

public boolean showTotalsOnlyAsTable()

showTotalsOnlyAsCells

public boolean showTotalsOnlyAsCells()

showRecordTableAsCells

public boolean showRecordTableAsCells()

showRecordTableAsTable

public boolean showRecordTableAsTable()

totalsOnly

public boolean totalsOnly()

totalToShow

public java.lang.String totalToShow()

singleTotal

public java.lang.String singleTotal()

nototalsrowspan

public int nototalsrowspan()

hDimsUsed

public boolean hDimsUsed()

useVerticalReportStyle

public boolean useVerticalReportStyle()

totalDict

public com.webobjects.foundation.NSDictionary totalDict()

coordinates

public com.webobjects.foundation.NSDictionary coordinates()

colors

public com.webobjects.foundation.NSArray colors()

totalCount

public int totalCount()

isNotTotalGroup

public boolean isNotTotalGroup()

attributeListDict

public com.webobjects.foundation.NSDictionary attributeListDict()

depthCount

public int depthCount()

colspanForAllAttribs

public int colspanForAllAttribs()

recordFlatValueList

public com.webobjects.foundation.NSArray recordFlatValueList()

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.