Added methods for the delegate for editing with formatter/object value

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7286 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2000-08-29 18:53:54 +00:00
parent 575be0aa6b
commit 3b841522a2

View file

@ -174,13 +174,27 @@ extern NSString *NSControlTextDidChangeNotification;
// Methods Implemented by the Delegate
//
@interface NSObject (NSControlDelegate)
- (BOOL)control:(NSControl *)control
textShouldBeginEditing:(NSText *)fieldEditor;
- (BOOL)control:(NSControl *)control
textShouldEndEditing:(NSText *)fieldEditor;
- (void)controlTextDidBeginEditing:(NSNotification *)aNotification;
- (void)controlTextDidEndEditing:(NSNotification *)aNotification;
- (void)controlTextDidChange:(NSNotification *)aNotification;
- (BOOL) control: (NSControl *)control
textShouldBeginEditing: (NSText *)fieldEditor;
- (BOOL) control: (NSControl *)control
textShouldEndEditing: (NSText *)fieldEditor;
- (void) controlTextDidBeginEditing: (NSNotification *)aNotification;
- (void) controlTextDidEndEditing: (NSNotification *)aNotification;
- (void) controlTextDidChange: (NSNotification *)aNotification;
- (BOOL) control: (NSControl *)control
didFailToFormatString: (NSString *)string
errorDescription: (NSString *)error;
- (void) control: (NSControl *)control
didFailToValidatePartialString: (NSString *)string
errorDescription: (NSString *)error;
- (BOOL) control: (NSControl *)control isValidObject:(id)object;
@end