/tmp/DoxyObjc/src/NIBManager.h

Go to the documentation of this file.
00001 #ifndef INCLUDED_NIBMANAGER_H
00002 #define INCLUDED_NIBMANAGER_H
00003 //
00004 //  NIBManager.h
00005 //  DynamicNIB
00006 //
00007 //  Copyright 2005 __MyCompanyName__. All rights reserved.
00008 //
00009 
00010 #ifndef INCLUDED_NIBCONTROLLER_H
00011 #import "NIBController.h"
00012 #endif
00013 #ifndef INCLUDED_NIBCALLBACK_H
00014 #import "NIBCallback.h"
00015 #endif
00016 #ifndef INCLUDED_NIBCONTEXT_H
00017 #import "NIBContext.h"
00018 #endif
00019 #ifndef INCLUDED_NIBVALIDATOR_H
00020 #import "NIBValidator.h"
00021 #endif
00022 #ifndef INCLUDED_METADATAPARSER_H
00023 #import "MetadataParser.h"
00024 #endif
00025 #ifndef INCLUDED_DYNAMICPOPUPHANDLER_H
00026 #import "DynamicPopUpHandler.h"
00027 #endif
00028 
00029 
00030 
00031 extern NSString *       DEFAULT_BACKING_STORE;
00032 extern NSString *       DEFAULT_BACKING_PATH; 
00033 extern NSString *       DEFAULT_NIB_NAME; 
00034 
00035 
00036 @interface NIBManager : NSObject {
00037 
00038     
00039         id                                              main;
00040         DynamicPopUpHandler *   handler;
00041     NSString *          path;
00042     NSString *          name;
00043     NSString *          backingStore;
00044     NSString *          backingType;
00045     NSMutableArray *    contexts;
00046     NSMutableArray *    controllers;
00047     NIBCallback *       callback;
00048     NIBValidator *              validator;
00049     NSTabView *         tabView;
00050     NSPopUpButton *     popupMenu;
00051         NSRect *                        bounds;
00052         NSPoint *                       adjustment;
00053         int                                     displayMode;
00054         int                                     persistenceMode;
00055     BOOL                                scrolling;
00056     BOOL                                flipped;
00057     BOOL                                decorated;
00058     BOOL                                assumeAll;
00059 }
00060 
00061 
00062 - (NSArray *)topLevelObjectsFromLoadingNibNamed:(NSString *)myName withOwner:(id)owner;
00063 - (NSArray *)topLevelObjectsFromLoadingBundle:(NSBundle *)bundle withName:(NSString *)myName withOwner:(id)owner;
00064 - (NSArray *)topLevelObjectsFromLoadingBundleNib:(NSBundle *)bundle withName:(NSString *)myName withOwner:(id)owner;
00065 
00066 
00067 - (int)displayMode;
00068 - (int)persistenceMode;
00069 - (BOOL)scrolling;
00070 - (BOOL)flipped;
00071 - (BOOL)decorated;
00072 - (BOOL)assumeAll;
00073 - (NSRect *)bounds;
00074 - (NSPoint *)adjustment;
00075 - (DynamicPopUpHandler *)handler;
00076 - (void)setScrolling:(BOOL)isScrolling;
00077 - (void)setFlipped:(BOOL)isFlipped;
00078 - (void)setDecorated:(BOOL)isDecorated;
00079 - (void)setAssumeAll:(BOOL)isAssumed;
00080 - (void)setDisplayMode:(int)myMode;
00081 - (void)setPersistenceMode:(int)myMode;
00082 - (void)setBounds:(NSRect)myBounds;
00083 - (void)setAdjustment:(NSPoint)myAdjustment;
00084 
00085 
00086 - (id)main;
00087 - (NSString *)path;
00088 - (NSString *)name;
00089 - (NSString *)backingStore;
00090 - (NSString *)backingType;
00091 - (NSTabView *)tabView;
00092 - (NSPopUpButton *)popupMenu;
00093 - (NIBCallback *)callback;
00094 - (NIBValidator *)validator;
00095 - (void)setMain:(id)myMain;
00096 - (void)setPath:(NSString *)myPath;
00097 - (void)setName:(NSString *)myName;
00098 - (void)setBackingStore:(NSString *)myStore;
00099 - (void)setBackingType:(NSString *)myType;
00100 - (void)setTabView:(NSTabView *)myTabs;
00101 - (void)setCallback:(NIBCallback *)myCallback;
00102 - (void)setValidator:(NIBValidator *)myValidator;
00103 - (void)setHandler:(DynamicPopUpHandler *)myHandler;
00104 - (void)setPopupMenu:(NSPopUpButton *)myMenu;
00105 - (void)setPopupMenu:(NSPopUpButton *)myMenu withTarget:(id)target withAction:(SEL)action;
00106 
00107 - (NIBContext *)getContext:(int)index;
00108 - (NIBContext *)getContextFor:(NSString *)type;
00109 
00110 - (NIBController *)getController:(int)index;
00111 - (NIBController *)createController;
00112 - (void)addController:(NIBController *)controller;
00113 - (void)removeController:(NIBController *)controller;
00114 - (int)getContextCount;
00115 - (int)getControllerCount;
00116 - (int)determineTag:(NSString *)type;
00117 
00118 - (IBAction)onPopUpChange:(id)sender;
00119 - (IBAction)doPopUpChange:(id)sender;
00120 - (IBAction)doExecute:(id)sender;
00121 - (void)doDisplay:(NSString *)type;
00122 - (void)doDisplay:(NSString *)type withIdentifier:(id)identifier;
00123 - (void)doInitialise:(NSString *)myPath;
00124 - (void)doInitialise:(NSString *)myPath withCallback:(NIBCallback *)myCallback;
00125 - (void)doInitialise:(NSString *)myPath withCallback:(NIBCallback *)myCallback withValidator:(NIBValidator *)myValidator;
00126 - (void)doBuild:(NSPopUpButton *)menu;
00127 - (void)doBuild:(NSPopUpButton *)menu withTarget:(id)target withAction:(SEL)action;
00128 - (void)doBuild:(NSPopUpButton *)menu withTabs:(NSTabView *)tabs;
00129 - (void)doBuild:(NSPopUpButton *)menu withTabs:(NSTabView *)tabs withTarget:(id)target withAction:(SEL)action;
00130 - (void)doBuildSearch:(NSSearchField *)field withTemplate:(NSMenu *)menu withSelector:(SEL)aSelector;
00131 - (void)doCallback:(NIBController *)controller withObject:(id)object;
00132 - (NIBContext *)doCreate:(NSString *)myPath withName:(NSString *)myName withTag:(int)tag;
00133 - (BOOL)isEnabled;
00134 
00135 - (NSArray *)createResultsArrayForDisplay:(NSArray *)results;
00136 - (NSDictionary *)createResultsDictionaryForDisplay:(NSDictionary *)results;
00137 
00138 - (void)processDecorations:(NSView *)aView forContext:(NIBContext *)context;
00139 - (void)processTextDecorations:(id)component forContext:(NIBContext *)context forBinding:(NSString *)binding withParent:(NSView *)parent;
00140 - (void)processTokenDecorations:(id)component forContext:(NIBContext *)context forBinding:(NSString *)binding withParent:(NSView *)parent;
00141 - (void)processPopUpDecorations:(id)component forContext:(NIBContext *)context forBinding:(NSString *)binding withParent:(NSView *)parent;
00142 - (void)processOutlineDecorations:(id)component forContext:(NIBContext *)context forBinding:(NSString *)binding withParent:(NSView *)parent;
00143 - (void)processValidationDecorations:(id)component forContext:(NIBContext *)context forBinding:(NSString *)binding withParent:(NSView *)parent;
00144 - (void)processDatePickerDecorations:(id)component forContext:(NIBContext *)context forBinding:(NSString *)bindingName withParent:(NSView *)parent;
00145 
00146 +(void)setEnabled:(BOOL)enabled withView:(NSView *)view;
00147 +(void)setEnabled:(BOOL)enabled withView:(NSView *)view withFilter:(NSString *)filter;
00148 +(void)setValue:(id)value withKey:(NSString *)key withParent:(NSView *)view;
00149 +(void)removeComponent:(NSView *)view;
00150 +(void)removeComponent:(NSView *)view fromParent:(NSView *)parent;
00151 +(void)addComponent:(NSView *)view withTabs:(NSTabView *)tabs withIdentifier:(NSString *)identifier;
00152 +(void)addComponent:(NSView *)view withTabs:(NSTabView *)tabs withItem:(NSTabViewItem *)item;
00153 +(void)addAction:(NSView *)view withTarget:(id)target withAction:(SEL)action;
00154 +(void)addAction:(NSView *)view withDelegate:(id)delegate withTarget:(id)target withAction:(SEL)action;
00155 +(void)originateComponent:(NSView *)component;
00156 +(id)getContentComponent:(id)component;
00157 +(id)getComponent:(NSString *)key fromParent:(id)component;
00158 +(id)getComponentOrView:(NSString *)key fromParent:(id)component;
00159 +(id)getComponentForBinding:(NSString *)bindingName fromParent:(id)component;
00160 +(NSMutableArray *)getComponents:(id)parent;
00161 +(id)determineComponent:(id)component;
00162 +(NSString *)determineName:(id)component;
00163 +(NSString *)determineIdentifier:(id)component;
00164 +(NSString *)determineEnabled:(id)component;
00165 +(NSString *)determineBinding:(NSString *)key withComponent:(id)component;
00166 +(NSString *)determineBinding:(NSString *)key withComponent:(id)component withOffset:(int)offset;
00167 +(NSView *)makeFlippedView:(NSView *)component;
00168 +(NSView *)makeFlippedView:(NSView *)component withAddition:(BOOL)addition;
00169 +(NSBox *)makeBoxedView:(NSView *)component withTitle:(NSString *)title;
00170 +(NSBox *)makeBoxedView:(NSView *)component withTitle:(NSString *)title withFlipped:(BOOL)flipped;
00171 +(NSScrollView *)makeScrollView:(NSView *)component withFlipped:(BOOL)flipped;
00172 +(NSScrollView *)makeScrollView:(NSView *)component withBounds:(NSRect)bounds withFlipped:(BOOL)flipped;
00173 +(BOOL)makeDirectoryPath:(NSString *)path;
00174 
00175 +(NSWindow *)makeWindow:(NSView *)component withTitle:(NSString *)title;
00176 +(NSWindow *)makeWindow:(NSView *)component withTitle:(NSString *)title withStyle:(unsigned int)style;
00177 +(NSPanel *)makePanel:(NSView *)component withTitle:(NSString *)title;
00178 +(NSPanel *)makePanel:(NSView *)component withTitle:(NSString *)title withStyle:(unsigned int)style;
00179 
00180 +(NSWindow *)makeWindow:(NIBContext *)context withView:(NSView *)view withTitle:(NSString *)title;
00181 +(NSWindow *)makeWindow:(NIBContext *)context withView:(NSView *)view withTitle:(NSString *)title withStyle:(unsigned int)style;
00182 +(NSPanel *)makePanel:(NIBContext *)context withView:(NSView *)view withTitle:(NSString *)title;
00183 +(NSPanel *)makePanel:(NIBContext *)context withView:(NSView *)view withTitle:(NSString *)title withStyle:(unsigned int)style;
00184 
00185 
00186 @end
00187 #endif /* defined INCLUDED_NIBMANAGER_H */

Generated on Mon Dec 25 10:09:01 2006 for DoxyObjc by  doxygen 1.5.1