Documentation Archive Developer
Search
[an error occurred while processing this directive] PATH  Documentation > WebObjects 4.5 > EOInterface Reference

Table of Contents

The EOInterface Framework


Package:
com.apple.client.eocontrol (com.apple.client.eointerface)
com.apple.yellow.eointerface (com.apple.yellow.eointerface)


Introduction

The EOInterface framework defines one of the layers of the Enterprise Objects Framework architecture-the interface layer.

The relationship between user interface objects and enterprise objects is managed by an instance of the EODisplayGroup class. EODisplayGroups are used by EOAssociation objects to mediate between enterprise objects and the user interface. EOAssociations link a single user interface object to one ore more class properties (keys) of the objects managed by an EODisplayGroup. The properties' values are displayed in the association's user interface object.

In the Interface layer, EOAssociation objects "observe" EODisplayGroups to make sure that the data displayed in the user interface remains consistent with enterprise object data. EODisplayGroups interact with a data source, which supplies them with enterprise objects.

The interface layer's associations are listed in the following table:


Associationcom.apple.yellow.eointerfacecom.apple.client.eointerfaceDescription
EOActionAssociationYesYesAllows you to set up an interface object, such as a button, to send a message to the objects selected in the association's display group when the interface object is acted on
EOActionCellAssociationYesNoThe default association class for use with NSActionCells
EOActionInsertionAssociationYesYesInserts objects from one display group into another.
EOAssociationYesYesDefines the mechanism that transfers values between EODisplayGroups and the user interface of an application.
EOColumnAssociationYesNoCooperates with an EOTableViewAssociation to display values in a column of an NSTableView
EOComboBoxAssociationYesYesDisplays an attribute or to-one relationship value in a combo box
EOControlAssociationYesNoThe default EOAssociation subclass for use with NSControl objects
EODetailSelectionAssociationYesNoBinds two EODisplayGroups together through a relationship, so that the destination display group acts as an editor for that relationship.
EOGenericControlAssociationYesNothe abstract superclass of EOControlAssociation and EOActionCellAssociation.
EOMasterCopyAssociationYesNoSynchronizes two EODisplayGroups that share the same data source but have different qualifiers.
EOMasterDetailAssociationYesYesBinds one EODisplayGroup (the detail) to a relationship in another (the master), so that the detail display group contains the destination objects for the object selected in the master.
EOMasterPeerAssociationYesNoBinds two EODisplayGroups together in a master-detail relationship, where the detail EODisplayGroup shows the destination objects for the relationship of the master EODisplayGroup.
EOMatrixAssociationYesNo Allows you to populate an NSMatrix's cells.
EOPickTextAssociationYesNoAllows the user to perform a similarity search based on whole or partial values.
EOPopUpAssociationYesNoDisplays an attribute or to-one relationship value in an NSPopUpButton
EORadioMatrixAssociationYesNoDisplays a string or an integer in an NSMatrix.
EORecursiveBrowserAssociationYesNoThe default association for use with a multi-column NSBrowser.
EOTableAssociationNoYesAssociates a display group with a Swing JTable.
EOTableColumnAssociationNoYesAssociates a single attribute of all enterprise objects in a display group with a Swing JTable TableColumn.
EOTableViewAssociationYesNoManages the individual EOColumnAssociations between an NSTableView (Application Kit) and an EODisplayGroup.
EOTextAssociationYesYesDisplays a plain or rich text attribute in an NSText object (Application Kit) or an EOTextField, EOTextArea, or EOFormCell (com.apple.client.eointerface) by binding the text object to a string or NSData attribute.


Table of Contents