PATH  Documentation > WebObjects 4.5 > EOInterface Reference

Table of Contents

EORadioMatrixAssociation


Inherits from:
EOAssociation : EODelayedObserver : NSObject
Implements:
EOObserving (EODelayedObserver)
Package:
com.apple.yellow.eointerface


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.


Note: This class doesn't exist in the com.apple.client.eointerface package.


Usable With
NSMatrix


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

public 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

public int tagValueForOther()

Returns the "unknown" tag.


Table of Contents