ECXMLControlDelegateMessageRule
Abstract
If fired this rule delegates the event to a specified
method of a specified object
Methods
- -actOn:
- -initWithDelegationTarget
- Used to specify the method to call in case this rule is fired.
- -initWithDelegationTarget:selectorToCall:forXMLElementTypename:
- Used to specify the method to call in case this rule is fired.
- -mayActOn:
- -respondsToContext
- (BOOL) actOn: (ECXMLControlContext *) aContext;
Parameter Descriptions
aContext
- current context to evaluate
- method result
- YES if no more rules should be evaluated
Used to specify the method to call in case this rule is fired.
See Also:
- initWithDelegationTarget:selectorToCall:forXMLElementTypename:
- initWithDelegationTarget: (id) aDelegationtarget selectorToCall: (SEL) aSelectorToCall forXMLElementTypename: (NSString *) aTypename;
Parameter Descriptions
aDelegationtarget
- related object to consult
aSelectorToCall
- selector to call. An instance of ECXMLContronContext
will be passed as parameter to this selector in case this rule fires
aTypename
- name of xml element type to react on
- method result
- self
Used to specify the method to call in case this rule is fired.
See Also:
- initWithDelegationTarget
- initWithDelegationTarget: (id) aDelegationtarget selectorToCall: (SEL) aSelectorToCall forXMLElementTypename: (NSString *) aTypename;
Parameter Descriptions
aDelegationtarget
- related object to consult
aSelectorToCall
- selector to call. An instance of ECXMLContronContext
will be passed as parameter to this selector in case this rule fires
aTypename
- name of xml element type to react on
See Also:
- respondsToContext
- (BOOL) mayActOn: (ECXMLControlContext *) aContext;
Parameter Descriptions
aContext
- current context to evaluate
See Also:
- mayActOn:
- (BOOL) mayActOn: (ECXMLControlContext *) aContext;
Parameter Descriptions
aContext
- current context to evaluate
- method result
- YES if the receiver should be valuated according to the given
context
(Last Updated August 27, 2006)