scottc@net-community.com
)richard@brainstorm.co.uk
)The abstract control class
Copyright: (C) 1996 Free Software Foundation, Inc.
- Declared in:
- AppKit/NSControl.h
TODO Description
Sends an
[NSCell -endEditing:]
message to the current object used to edit the
NSControl. Returns NO
if the the
currentEditor does not exists,
YES
otherwise.
Returns the alignment of the text in the NSControl's cell. Returns NSNaturalTextAlignment if the cell does not exists. See NSTextAlignment for more informations.
See Also: -setAlignment: [NSCell -alignment]
Recalculates the internal size by sending [NSCell -calcDrawInfo:] to the cell.
Returns the NSText object used when editing the NSControl.
Returns the value of the NSControl's selected cell as double.
See Also: -setDoubleValue: [NSCell -doubleValue] -intValue -floatValue -doubleValue -stringValue
Redraws a aCell 's inside if it is the NSControl's cell.
See Also: -setCell: [NSCell -drawInteriorWithFrame:inView:]
Returns the value of the NSControl's selected cell as float.
See Also: -setFloatValue: [NSCell -floatValue] -intValue -stringValue -doubleValue
Returns the font of the text in the NSControl's
cell. Returns nil
if the cell does not
exists.
See Also: -setFont: [NSCell -font]
Returns the value of the NSControl's selected cell as int.
See Also: -setIntValue: [NSCell -intValue] -floatValue -doubleValue -stringValue
Returns the value of the NSControl's selected cell as int.
See Also: -setIntegerValue: [NSCell -integerValue] -floatValue -doubleValue -stringValue
Returns whether the NSControl's cell can continuously sends its action message.
See Also: -setContinuous: [NSCell -isContinuous]
Returns whether the selected cell of the NSControl is enabled.
See Also: -setEnabled: [NSCell -isEnabled]
Sets the aCell's state to NSOnState and marks self for display if it is the NSControl's cell.
Asks the NSApplication to send an action
theAction with theTarget as
target to NSControl. Returns NO
if
theAction is nil
or if
NSApplication can not send the action.
See Also: [NSApplication -sendAction:to:from:]
Sets the alignment of the text in the NSControl's cell to mode. This method abort the editing and marks self for display if the cell is an NSActionCell. See NSTextAlignment for more informations.
See Also: -alignment [NSCell -setAlignment:] -abortEditing
Sets the NSControl's cell to aCell,
Raises an NSInvalidArgumentException exception if
aCell is not nil
and if it
is not a cell class.
See Also: -cell
Sets whether the NSControl's cell can continuously sends its action message.
See Also: -isContinuous [NSCell -setContinuous:]
Sets the value of the NSControl's selected cell to double. If the selected cell is an action cell, it marks self for display.
See Also: -doubleValue [NSCell -setDoubleValue:] -setIntValue: -setStringValue: -setFloatValue:
Sets whether the NSControl's selected cell is
enabled. If flag is NO
,
this method abort the editing. This method marks
self for display.
See Also: -isEnabled [NSCell -setEnabled:]
Sets the value of the NSControl's selected cell to float. If the selected cell is an action cell, it marks self for display.
See Also: -floatValue [NSCell -setFloatValue:] -setIntValue: -setStringValue: -setDoubleValue:
Sets the font of the text in the NSControl's cell and the editor object (if exists) to fontObject.
See Also: -font [NSCell -setFont:] -currentEditor
Sets the value of the NSControl's selected cell to int. If the selected cell is an action cell, it marks self for display.
See Also: -intValue [NSCell -setIntValue:] -setDoubleValue: -setFloatValue: -setStringValue:
Sets the value of the NSControl's selected cell to int. If the selected cell is an action cell, it marks self for display.
See Also: -integerValue [NSCell -setIntegerValue:] -setDoubleValue: -setFloatValue: -setStringValue:
Sets the value of the NSControl's selected cell to NSString. If the selected cell is an action cell, it marks self for display.
See Also: -stringValue [NSCell -setStringValue:] -setIntValue: -setFloatValue: -setDoubleValue:
Returns the value of the NSControl's selected cell as NSString.
See Also: -setStringValue: [NSCell -stringValue] -intValue -floatValue -doubleValue -stringValue
Sets the NSControl's selected cell to the sender's double value.
See Also: [NSCell -takeDoubleValueFrom:] -takeFloatValueFrom: takeIntValueFrom: takeStringValueFrom:
Sets the NSControl's selected cell to the sender's float value.
See Also: [NSCell -takeDoubleValueFrom:] -takeDoubleValueFrom: -takeIntValueFrom: -takeStringValueFrom:
Sets the NSControl's selected cell to the sender's float int.
See Also: [NSCell -takeIntValueFrom:] -takeDoubleValueFrom: -takeFloatValueFrom: -takeStringValueFrom:
Sets the NSControl's selected cell to the sender's float int.
See Also: [NSCell -takeIntegerValueFrom:] -takeDoubleValueFrom: -takeFloatValueFrom: -takeStringValueFrom:
Sets the NSControl's selected cell to the sender's float int.
See Also: [NSCell -takeDoubleValueFrom:] -takeDoubleValueFrom: -takeFloatValueFrom: -takeIntValueFrom:
Marks self for display.
- Declared in:
- AppKit/NSControl.h
- Declared in:
- AppKit/NSControl.h
- Declared in:
- AppKit/NSControl.h
- Conforms to:
- NSObject