net.wotonomy.ui
Class MirrorDetailAssociation

java.lang.Object
  extended by net.wotonomy.control.EODelayedObserver
      extended by net.wotonomy.ui.EOAssociation
          extended by net.wotonomy.ui.MasterDetailAssociation
              extended by net.wotonomy.ui.MirrorDetailAssociation
All Implemented Interfaces:
java.util.Observer, net.wotonomy.control.EOObserving

public class MirrorDetailAssociation
extends MasterDetailAssociation

This master detail association synchronizes the contents and selection of the master group into the detail group.


Field Summary
 
Fields inherited from class net.wotonomy.ui.MasterDetailAssociation
observableArray
 
Fields inherited from class net.wotonomy.ui.EOAssociation
ActionAspect, ArgumentAspect, aspectToGroup, aspectToKey, AttributeAspectSignature, AttributeToManyAspectSignature, AttributeToOneAspectSignature, AttributeToOneToManyAspectSignature, BoldAspect, ChildrenAspect, control, DestinationAspect, EditableAspect, EnabledAspect, IconAspect, IsLeafAspect, ItalicAspect, LabelAspect, NullAspectSignature, ObjectsAspect, ParentAspect, SelectedObjectAspect, SelectedTitleAspect, SourceAspect, TitlesAspect, ToManyAspectSignature, ToOneAspectSignature, ToOneToManyAspectSignature, URLAspect, ValueAspect, VisibleAspect
 
Fields inherited from class net.wotonomy.control.EODelayedObserver
ObserverNumberOfPriorities, ObserverPriorityFifth, ObserverPriorityFirst, ObserverPriorityFourth, ObserverPriorityImmediate, ObserverPriorityLater, ObserverPrioritySecond, ObserverPrioritySixth, ObserverPriorityThird
 
Constructor Summary
MirrorDetailAssociation(EODisplayGroup displayGroup)
          Standard constructor specifying the detail display group.
 
Method Summary
protected  void requalify()
          Called by subjectChanged() to requalify the controlled display group with the indexed object and the bound key.
 
Methods inherited from class net.wotonomy.ui.MasterDetailAssociation
aspects, aspectSignatures, associationClassesSuperseded, breakConnection, canBindAspect, establishConnection, isUsableWithObject, objectKeysTaken, objectWillChange, primaryAspect, priority, subjectChanged
 
Methods inherited from class net.wotonomy.ui.EOAssociation
associationClassesForObject, bindAspect, copyMatchingBindingsFromAssociation, displayGroupForAspect, displayGroupKeyForAspect, displayName, endEditing, object, setValueForAspect, setValueForAspectAtIndex, shouldEndEditing, shouldEndEditingAtIndex, valueForAspect, valueForAspectAtIndex
 
Methods inherited from class net.wotonomy.control.EODelayedObserver
discardPendingNotification, observerQueue, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MirrorDetailAssociation

public MirrorDetailAssociation(EODisplayGroup displayGroup)
Standard constructor specifying the detail display group.

Parameters:
displayGroup - the detail display group of this Master-Detail Association
Method Detail

requalify

protected void requalify()
Called by subjectChanged() to requalify the controlled display group with the indexed object and the bound key. This implementation ignores both and sets the object array of the detail group to the displayed objects of the master and sets the selection to match.

Overrides:
requalify in class MasterDetailAssociation


Copyright © 2006 null. All Rights Reserved.