home *** CD-ROM | disk | FTP | other *** search
/ OpenStep (Enterprise) / OpenStepENTCD.toast / OEDEV / EODEV.Z / EOPickTextAssociation.h < prev    next >
Encoding:
Text File  |  1996-09-09  |  1.2 KB  |  29 lines

  1. // EOPickTextAssociation
  2. // Enterprise Objects Framework
  3. // Copyright (c) 1995, NeXT Software, Inc.  All rights reserved. 
  4. //
  5. // The EOPickTextAssociation applies a qualifier to a DisplayGroup
  6. // based on the contents of its text control.
  7. // Supported Bindings:
  8. //     matchKey1:   Key to match field text to with LIKE qualifier.
  9. //     matchKey2:   Key to match field text to with LIKE qualifier
  10. //     matchKey3:   Key to match field text to with LIKE qualifier
  11. // One or more of the above aspects may be bound.  When the text of the
  12. // association's control changes, a qualifier is contructed of the form:
  13. //   (<matchKey1> LIKE "*<text>*") OR (<matchKey2> LIKE "*<text>*")
  14. // E.g. in a list of people matchKey1 and matchKey2 might be bound to
  15. // "lastName" and "firstName".  If the user then types "Bi" in the field,
  16. // the association would apply the following qualifier to the display group:
  17. //   (lastName LIKE "*Bi*") OR (firstName LIKE "*Bi>*")
  18. // which might match "Bill Smith" and "Joe Biggs".
  19. //
  20. #import <EOInterface/EOAssociation.h>
  21.  
  22. @interface EOPickTextAssociation : EOAssociation
  23. {
  24.     // our object can be either a NSControl subclass or an NSActionCell
  25.     BOOL _applyImmediately;  // apply on each key press?
  26. }
  27. @end
  28.  
  29.