PATH |
WODisplayGroup.Delegate
Implemented by:WODisplayGroup delegate objects
Package: com.webobjects.appserver
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, com.webobjects.eocontrol.EODataSource dataSource)
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)
displayGroupD:idInsertObject
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)
displayGroupShouldDisplayAlert
public abstract boolean displayGroupShouldDisplayAlert(WODisplayGroup group, String title, String message)
true
, an alert is displayed; if the delegate returns false
, no alert is displayed. The two string parameters allow you to control the contents of the alert panel: use the second parameter to pass the alert title and the third parameter to pass the alert message.
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
© 2001 Apple Computer, Inc. (Last Published April 15, 2001)