home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / YellowBox / Kits / MiscTableScroll-138.1 / Palettes / MiscTableScroll / Framework / NSIBConnector.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-31  |  1.8 KB  |  62 lines

  1. #ifndef __MiscTableScroll_NSIBConnector_h
  2. #define __MiscTableScroll_NSIBConnector_h
  3. //=============================================================================
  4. //
  5. //        Copyright (C) 1995-1997 NeXT Software, Inc.
  6. //                All Rights Reserved.
  7. //    
  8. //=============================================================================
  9. //-----------------------------------------------------------------------------
  10. // NSIBConnector.h
  11. //
  12. //    The declarations of Interface Builder's private connection classes:
  13. //    NSIBConnector, NSIBOutletConnector, and NSIBControlConnector.
  14. //
  15. //-----------------------------------------------------------------------------
  16. //-----------------------------------------------------------------------------
  17. // $Id: NSIBConnector.h,v 1.3 97/06/18 09:53:53 sunshine Exp $
  18. // $Log:    NSIBConnector.h,v $
  19. //  Revision 1.3  97/06/18  09:53:53  sunshine
  20. //  v125.9: Renamed: IBConnector.h --> NSIBConnector.h.  Commented & updated.
  21. //  
  22. //-----------------------------------------------------------------------------
  23. extern "Objective-C" {
  24. #import    <Foundation/NSObject.h>
  25. }
  26.  
  27. @interface NSIBConnector : NSObject<IBConnectors>
  28.     {
  29.     id source;
  30.     id destination;
  31.     NSString* label;
  32.     }
  33.  
  34. - (id)initWithCoder:(NSCoder*)coder;
  35. - (void)encodeWithCoder:(NSCoder*)coder;
  36.  
  37. - (id)source;
  38. - (void)setSource:(id)src;
  39. - (id)destination;
  40. - (void)setDestination:(id)dest;
  41. - (NSString*)label;
  42. - (void)setLabel:(NSString*)label;
  43. - (void)replaceObject:(id)oldObject withObject:(id)newObject;
  44. - (id)nibInstantiate;
  45. - (void)establishConnection;
  46.  
  47. - (NSString*)nibLabel;
  48. - (void)displayConnection;
  49.  
  50. @end
  51.  
  52. @interface NSIBOutletConnector : NSIBConnector
  53. - (void)establishConnection;
  54. @end
  55.  
  56. @interface NSIBControlConnector : NSIBConnector
  57. - (NSString*)nibLabel;
  58. - (void)establishConnection;
  59. @end
  60.  
  61. #endif // __MiscTableScroll_NSIBConnector_h
  62.