#import <AMControl.h>

Public Member Functions | |
| (void) | - setValue:forAttribute: |
| Sets the value of the specified attribute. | |
| (id) | - valueOfAttribute: |
| Gets the value of the specified attribute. | |
| (int) | - attributeCode: |
| Gets the attribute code (enum int value) for the specified attribute name. | |
Static Public Member Functions | |
| (AMControl *) | + controlWithName:controllable: |
| Creates a control object with the given name. | |
Properties | |
| id | parent |
| The parent object holding the control. | |
This class is not destined to be used directly, but to be derived.
| - (int) attributeCode: | (NSString *) | _attribute |
Gets the attribute code (enum int value) for the specified attribute name.
(THIS METHOD SHOULD ALWAYS BE OVERRIDEN IN SUBCLASSES.)
| atribute | The name of the attribute. |
| + (AMControl *) controlWithName: | (NSString *) | _name | ||
| controllable: | (id) | _controllable | ||
Creates a control object with the given name.
If the name does not bind to a valid control, nil is returned.
| name | The name of the control to create. | |
| controllable | The object parameterized by the control. |
| - (void) setValue: | (id) | _value | ||
| forAttribute: | (int) | _attribute | ||
Sets the value of the specified attribute.
(THIS METHOD SHOULD ALWAYS BE OVERRIDEN IN SUBCLASSES.)
| value | The value to set. | |
| attribute | The attribute to set, as specified in the control attributes enumeration. |
| - (id) valueOfAttribute: | (int) | _attribute |
Gets the value of the specified attribute.
(THIS METHOD SHOULD ALWAYS BE OVERRIDEN IN SUBCLASSES.)
| attribute | The attribute to get the value of. |
1.5.9