WebObjects 5.2.3

com.webobjects.directtoweb
Class D2WDisplayToMany

java.lang.Object
  extended bycom.webobjects.appserver.WOElement
      extended bycom.webobjects.appserver.WOComponent
          extended bycom.webobjects.directtoweb.D2WComponent
              extended bycom.webobjects.directtoweb.D2WDisplayToMany
All Implemented Interfaces:
Cloneable, com.webobjects.directtoweb.generation.DTWGeneration, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable, WOActionResults
Direct Known Subclasses:
D2WDisplayToMany2, D2WDisplayToManyBrowser, D2WDisplayToManyTable

public class D2WDisplayToMany
extends D2WComponent
implements com.webobjects.directtoweb.generation.DTWGeneration

This property-level component displays the first few objects of a to-many relationship in a list.

You can specify whether the list is collapsible or not. Since the component fetches all of the objects in the relationship, it is slower than the D2WDisplayToManyFault component, especially when the relationship has many objects.

Property-level components are not accessed programmatically. Instead, you use the Web Assistant to choose the property-level component that Direct to Web uses to display a property on a particular entity and task page.

If you want to create property-level component to display a property, use D2WCustomComponent.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class com.webobjects.appserver.WOComponent
WOComponent.Event
 
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCoding
NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor
 
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
 
Nested classes inherited from class com.webobjects.foundation.NSValidation
NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException
 
Field Summary
 
Fields inherited from class com.webobjects.directtoweb.D2WComponent
currentObjectKey
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding
NullValue
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
KeyPathSeparator
 
Constructor Summary
D2WDisplayToMany(WOContext aContext)
          This method is intentionally undocumented.
 
Method Summary
 WOComponent inspectArrayAction()
          This method is intentionally undocumented.
 String inspectArrayActionString()
          This method is intentionally undocumented.
 String ivarNameForBrowserItem()
          This method is intentionally undocumented.
 NSArray list()
          This method is intentionally undocumented.
 String listDescription()
          This method is intentionally undocumented.
 String methodNameForShouldDisplay()
          This method is intentionally undocumented.
 String methodNameInspectAction()
           
 String methodNameInspectArrayAction()
          This method is intentionally undocumented.
 String methodNameListDescription()
          This method is intentionally undocumented.
 String plurifiedStrings()
          This method is intentionally undocumented.
 WOAssociation replacementAssociationForAssociation(WOAssociation oldAssociation, String oldBinding, com.webobjects.directtoweb.generation.DTWTemplate aTemplate, WOContext aContext)
          This method is intentionally undocumented.
 void setInspectArrayAction(Object anObject)
          This method is intentionally undocumented.
 void setList(Object anObject)
          This method is intentionally undocumented.
 boolean shouldDisplay()
          This method is intentionally undocumented.
 
Methods inherited from class com.webobjects.directtoweb.D2WComponent
allEntities, allowCollapsing, applicationPort, assistantPort, attribute, backgroundColorForHeaderRow, backgroundColorForPage, backgroundColorForTable, backgroundColorForTableDark, backgroundColorForTableLight, color, currentSettings, currentUrl, d2wContext, d2wContextVisibleEntityNamesCountPlus1, defaultRowspan, displayNameForKeyWhenRelationship, displayNameForProperty, displayPropertyKeys, dynamicPages, entity, entityName, formatter, generationReplacementFor, generationReplacementForCurrentObject, hasCustomKey, hasEntity, hasNoColor, homeClicked, homeHref, isEditing, isEntityReadOnly, isEntityReadOnly, isLiveAssistantEnabled, isNotBoldAsBoolean, isNotItalicAsBoolean, isPropertyAnAttribute, isWebAssistantActive, isWebAssistantConnected, isWebAssistantEnabled, keyForGenerationReplacementForVariableNamed, keyWhenRelationship, lastUrl, length, localContext, logout, object, objectPropertyValue, objectPropertyValueIsNonNull, pageTitle, property, propertyKey, propertyValueClassName, relationship, resourcePathURL, sessionID, setCurrentSettings, setDynamicPages, setEntities, setEntity, setEntityName, setLocalContext, setObject, setPropertyKey, setResourcePathURL, setTask, setTasks, showBanner, showWebAssistant, submitActionName, target, task, tasks, visibleEntityNames
 
Methods inherited from class com.webobjects.appserver.WOComponent
appendToResponse, application, awake, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, invokeAction, isCachingEnabled, isEventLoggingEnabled, isStateless, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, reset, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, sleep, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForKey, valueForKeyPath
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

D2WDisplayToMany

public D2WDisplayToMany(WOContext aContext)
This method is intentionally undocumented. You should never have to invoke or customize it.

Method Detail

inspectArrayAction

public WOComponent inspectArrayAction()
This method is intentionally undocumented. You should never have to invoke or customize it.


inspectArrayActionString

public String inspectArrayActionString()
This method is intentionally undocumented. You should never have to invoke or customize it.


ivarNameForBrowserItem

public String ivarNameForBrowserItem()
This method is intentionally undocumented. You should never have to invoke or customize it.


list

public NSArray list()
This method is intentionally undocumented. You should never have to invoke or customize it.


listDescription

public String listDescription()
This method is intentionally undocumented. You should never have to invoke or customize it.


methodNameForShouldDisplay

public String methodNameForShouldDisplay()
This method is intentionally undocumented. You should never have to invoke or customize it.


methodNameInspectAction

public String methodNameInspectAction()

methodNameInspectArrayAction

public String methodNameInspectArrayAction()
This method is intentionally undocumented. You should never have to invoke or customize it.


methodNameListDescription

public String methodNameListDescription()
This method is intentionally undocumented. You should never have to invoke or customize it.


plurifiedStrings

public String plurifiedStrings()
This method is intentionally undocumented. You should never have to invoke or customize it.


replacementAssociationForAssociation

public WOAssociation replacementAssociationForAssociation(WOAssociation oldAssociation,
                                                          String oldBinding,
                                                          com.webobjects.directtoweb.generation.DTWTemplate aTemplate,
                                                          WOContext aContext)
This method is intentionally undocumented. You should never have to invoke or customize it.

Specified by:
replacementAssociationForAssociation in interface com.webobjects.directtoweb.generation.DTWGeneration
Overrides:
replacementAssociationForAssociation in class D2WComponent

setInspectArrayAction

public void setInspectArrayAction(Object anObject)
This method is intentionally undocumented. You should never have to invoke or customize it.


setList

public void setList(Object anObject)
This method is intentionally undocumented. You should never have to invoke or customize it.


shouldDisplay

public boolean shouldDisplay()
This method is intentionally undocumented. You should never have to invoke or customize it.


Last updated Thu Oct 21 15:04:16 PDT 2004.

Copyright © 2004 Apple Computer, Inc.