scottc@net-community.com
)The button class
Copyright: (C) 1996 Free Software Foundation, Inc.
- Declared in:
- AppKit/NSButton.h
Returns the NSButtonCell's alternate image.
See Also: -setAlternateImage: [NSButtonCell -alternateImage]
Returns the NSButtonCell's alternate title.
See Also: -setAlternateTitle: [NSButtonCell -alternateTitle]
Returns the style of the NSButtonCell's bezeled border. See NSBezelStyle for more information.
See Also: -setBezelStyle: [NSButtonCell -bezelStyle]
Gets the NSButtonCell's delay and the interval parameters used when NSButton sends continouly action messages. By default delay is 0.4 and interval is 0.075.
See Also: [NSButtonCell -getPeriodicDelay:interval:] -setPeriodicDelay:interval: [NSCell -trackMouse:inRect:ofView:untilMouseUp:]
Returns the position of the NSButtonCell's image. See NSCellImagePosition for more information.
See Also: -setImagePosition: [NSButtonCell -imagePosition]
Returns whether the NSButton's cell is transparent.
See Also: -setTransparent: [NSButtonCell -isTransparent]
Returns the NSButtonCell's key equivalent. The key equivalent and its modifier mask are used to simulate the click of the button in -performKeyEquivalent: . Returns an empty string if no key equivalent is defined. By default NSButton hasn't key equivalent.
See Also: -setKeyEquivalent: -performKeyEquivalent: -keyEquivalentModifierMask [NSButtonCell -keyEquivalent]
Returns the modifier mask of the NSButtonCell's key equivalent. The key equivalent and its modifier mask are used to simulate the click of the button in -performKeyEquivalent: . The default mask is NSCommandKeyMask.
See Also: -setKeyEquivalentModifierMask: -keyEquivalent [NSButtonCell -setKeyEquivalentModifierMask:]
Simulates the click of the button if the key equivalent and its modifier mask match the event anEvent. By default the key modifier mask is NSCommandKeyMask and there is no key equivalent
See Also: -keyEquivalent -keyEquivalentModifierMask [NSControl -performClick:] [NSEvent -charactersIgnoringModifiers] [NSEvent -modifierFlags]
Does nothing and returns NO
if the
receiver is disabled or if it is blocked by a
modal window being run.
Sets the NSButtonCell's alternate image to anImage and marks self for display.
See Also: -alternateImage [NSButtonCell -setAlternateImage:]
Sets the NSButtonCell's alternateTitle to aString and marks self for display.
See Also: -alternateTitle
Sets the style of the NSButtonCell's bezeled border and marks self for display. See NSBezelStyle for more information.
See Also: -bezelStyle [NSButtonCell -setBezelStyle:]
Sets whether the NSButton's cell has border and marks self for display.
See Also: -isBordered [NSButtonCell -setBordered:]
Sets the NSButtonCell's type to aType and marks self for display.See NSButtonType for more information.
See Also: [NSButtonCell -setButtonType:]
Sets the NSButtonCell's image to anImage and marks self for display.
See Also: -image [NSButtonCell -setImage:]
Sets the postion of the NSButtonCell's image to aPosition and marks self for display. See NSCellImagePosition for more information.
See Also: -imagePosition [NSButtonCell -setImagePosition:]
Sets the NSButtonCell's key equivalent to aKeyEquivalent. The key equivalent and its modifier mask are used to simulate the click of the button in -performKeyEquivalent: . By default NSButton hasn't key equivalent.
See Also: -keyEquivalent -setKeyEquivalentModifierMask: -performKeyEquivalent: [NSButtonCell -setKeyEquivalent:]
Sets the modifier mask of the NSButtonCell's key equivalent to mask. The key equivalent and its modifier mask are used to simulate the click of the button in -performKeyEquivalent: . By default the mask is NSCommandKeyMask.
See Also: -keyEquivalentModifierMask -setKeyEquivalent: -performKeyEquivalent: [NSButtonCell -setKeyEquivalentModifierMask:]
Sets the NSButtonCell to the next state and marks self for display.
See Also: [NSButtonCell -setNextState]
Sets the NSButtonCell's delay and interval parameters used when NSButton sends continouly action messages. By default delay is 0.4 and interval is 0.075.
See Also: [NSButtonCell -setPeriodicDelay:interval:] -getPeriodicDelay:interval: [NSCell -trackMouse:inRect:ofView:untilMouseUp:]
Sets the NSButtonCell's state to value and marks self for display.
See Also: -state [NSButtonCell -setState:]
Sets whether the NSButton's cell is transparent and marks self for display.
See Also: -isTransparent [NSButtonCell -setTransparent:]