WODisplayGroup.Delegate
Implemented by: WODisplayGroup delegate objects
Package: com.apple.yellow.webobjects
Interface Description
WODisplayGroup offers a number of methods for its delegate to implement; if the delegate does implement them, the WODisplayGroup instances invoke them as appropriate. There are methods that inform the delegate that the EODisplayGroup has fetched, created an object (or failed to create one), inserted or deleted an object, changed the selection, or set a value for a property. There are also methods that request permission from the delegate to perform most of these same actions. The delegate can return true to permit the action or false to deny it. See each method's description for more information.
Instance Methods
displayGroupCreateObjectFailedForDataSource
public abstract void displayGroupCreateObjectFailedForDataSource(
WODisplayGroup aDisplayGroup,
Object aDataSource)
displayGroupDidChangeDataSource
public abstract void displayGroupDidChangeDataSource(WODisplayGroup aDisplayGroup)
displayGroupDidChangeSelectedObjects
public abstract void displayGroupDidChangeSelectedObjects(WODisplayGroup aDisplayGroup)
displayGroupDidChangeSelection
public abstract void displayGroupDidChangeSelection(WODisplayGroup aDisplayGroup)
displayGroupDidDeleteObject
public abstract void displayGroupDidDeleteObject(
WODisplayGroup aDisplayGroup,
Object anObject)
displayGroupDidFetchObjects
public abstract void displayGroupDidFetchObjects(
WODisplayGroup aDisplayGroup,
NSArray objects)
displayGroupDidInsertObject
public abstract void displayGroupDidInsertObject(
WODisplayGroup aDisplayGroup,
Object anObject)
displayGroupDidSetValue
public abstract void displayGroupDidSetValue(
WODisplayGroup aDisplayGroup,
Object value,
Object anObject,
String key)
displayGroupDisplayArrayForObjects
public abstract NSArray displayGroupDisplayArrayForObjects(
WODisplayGroup aDisplayGroup,
NSArray objects)
If the delegate doesn't implement this method, the WODisplayGroup uses its own qualifier and sort ordering to update the displayed objects array.
See Also: displayedObjects, qualifier, sortOrderings
displayGroupShouldChangeSelectionToIndexes
public abstract boolean displayGroupShouldChangeSelectionToIndexes(
WODisplayGroup aDisplayGroup,
NSArray newIndexes)
displayGroupShouldDeleteObject
public abstract boolean displayGroupShouldDeleteObject(
WODisplayGroup aDisplayGroup,
Object anObject)
displayGroupShouldFetch
public abstract boolean displayGroupShouldFetch(WODisplayGroup aDisplayGroup)
displayGroupShouldInsertObject
public abstract boolean displayGroupShouldInsertObject(
WODisplayGroup aDisplayGroup,
Object anObject,
int anIndex)
displayGroupShouldRedisplayForChangesInEditingContext
public abstract boolean displayGroupShouldRedisplayForChangesInEditingContext(
WODisplayGroup aDisplayGroup,
NSNotification aNotification)
See Also: redisplay
displayGroupShouldRefetchForInvalidatedAllObjectsNotification
public abstract boolean displayGroupShouldRefetchForInvalidatedAllObjects(
WODisplayGroup aDisplayGroup,
NSNotification aNotification)
See Also: redisplay