mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 01:00:38 +00:00
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:
parent
575be0aa6b
commit
3b841522a2
1 changed files with 21 additions and 7 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue