![](../../../../../../../../../../images/previous.gif)
![](../../../../../../../../../../images/next.gif)
EORadioMatrixAssociation
Inherits From:
EOAssociation : EODelayedObserver : NSObject
Conforms To:
NSCoding (EOAssociation)
EOObserving (EODelayedObserver)
NSObject (NSObject)
Declared in: EOInterface/EORadioMatrixAssociation.h
Class Description
EORadioMatrixAssociation displays a string or an integer in an NSMatrix. EORadioMatrixAssociation includes three aspects: selectedTitle
, which is useful for values representable as strings; selectedTag
, for integer values; and enabled for enabling and disabling the NSMatrix.
Purpose
Aspects | |
---|---|
selectedTitle | An attribute of the selected object whose values can be represented as strings. |
selectedTag | An integer attribute of the selected object. |
enabled | A boolean attribute of the selected object, which determines whether the matrix is enabled. |
Object Keys Taken | |
---|---|
target | When the user chooses an item in the matrix, the EORadioMatrixAssociation updates the selected object's property with the item's title or tag. |
Instance Methods
setTagValueForOther:
- (void)setTagValueForOther:
(int)tag
Records tag as the "unknown" tag. When a property value doesn't match any other tag in the matrix, the EORadioMatrixAssociation automatically selects the item for this tag. If there's no item for this tag, the radio button selection isn't changed. This tag value is by default -1.
tagValueForOther
- (int)tagValueForOther
Returns the "unknown" tag.
![](../../../../../../../../../../images/previous.gif)
![](../../../../../../../../../../images/next.gif)
Copyright © 1998, Apple Computer, Inc. All rights reserved.