Important: The information in this document is obsolete and should not be used for new development.
Package | com.apple.cocoa.application |
Companion guide |
NSValidatedUserInterfaceItem works with certain user interface items to enable or disable a control automatically, depending on whether any responder in the responder chain can handle the control’s action method. NSMenuItem and NSToolbarItem implement this protocol.
By conforming to this interface, your control can participate in this validation mechanism.
Returns the selector of the receiver’s action method.
public abstract NSSelector action
()
Returns the receiver’s tag integer.
public abstract int tag
()
© 1997, 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-02-01)