[Previous] [Up] [Next]

NSControl

Authors

Richard Frith-Macdonald

Version: 0.1

Date: 28 February, 2000

NSControl

NSControl

Declared in: <

Inherits from: NSView

Conforms to: NSCoding



cellClass

+ (Class) cellClass

setCellClass:

+ (void) setCellClass: (Class)class

abortEditing

- (BOOL) abortEditing

action

- (SEL) action

alignment

- (NSTextAlignment) alignment

attributedStringValue

- (NSAttributedString*) attributedStringValue

calcSize

- (void) calcSize

cell

- (id) cell

currentEditor

- (NSText*) currentEditor

doubleValue

- (double) doubleValue

drawCell:

- (void) drawCell: (NSCell*)aCell

drawCellInside:

- (void) drawCellInside: (NSCell*)aCell

floatValue

- (float) floatValue

font

- (NSFont*) font

ignoresMultiClick

- (BOOL) ignoresMultiClick

initWithFrame:

- (id) initWithFrame: (NSRect)frameRect

intValue

- (int) intValue

isContinuous

- (BOOL) isContinuous

isEnabled

- (BOOL) isEnabled

mouseDown:

- (void) mouseDown: (NSEvent*)theEvent

objectValue

- (id) objectValue

performClick:

- (void) performClick: (id)sender

refusesFirstResponder

- (BOOL) refusesFirstResponder

selectCell:

- (void) selectCell: (NSCell*)aCell

selectedCell

- (id) selectedCell

selectedTag

- (int) selectedTag

sendAction:

- (BOOL) sendAction: (SEL)theAction

sendActionOn:

- (int) sendActionOn: (int)mask

setAction:

- (void) setAction: (SEL)aSelector

setAlignment:

- (void) setAlignment: (NSTextAlignment)mode

setAttributedStringValue:

- (void) setAttributedStringValue: (NSAttributedString*)object

setCell:

- (void) setCell: (NSCell*)aCell

setContinuous:

- (void) setContinuous: (BOOL)flag

setDoubleValue:

- (void) setDoubleValue: (double)aDouble

setEnabled:

- (void) setEnabled: (BOOL)flag

setFloatValue:

- (void) setFloatValue: (float)aFloat

setFloatingPointFormat:left:right:

- (void) setFloatingPointFormat: (BOOL)autoRange left: (unsigned int)leftDigits right: (unsigned int)rightDigits

setFont:

- (void) setFont: (NSFont*)fontObject

setIgnoresMultiClick:

- (void) setIgnoresMultiClick: (BOOL)flag

setIntValue:

- (void) setIntValue: (int)anInt

setNeedsDisplay

- (void) setNeedsDisplay

setObjectValue:

- (void) setObjectValue: (id)object

setRefusesFirstResponder:

- (void) setRefusesFirstResponder: (BOOL)flag

setStringValue:

- (void) setStringValue: (NSString*)aString

setTag:

- (void) setTag: (int)anInt

setTarget:

- (void) setTarget: (id)anObject

sizeToFit

- (void) sizeToFit

stringValue

- (NSString*) stringValue

tag

- (int) tag

takeDoubleValueFrom:

- (void) takeDoubleValueFrom: (id)sender

takeFloatValueFrom:

- (void) takeFloatValueFrom: (id)sender

takeIntValueFrom:

- (void) takeIntValueFrom: (id)sender

takeObjectValueFrom:

- (void) takeObjectValueFrom: (id)sender

takeStringValueFrom:

- (void) takeStringValueFrom: (id)sender

target

- (id) target

updateCell:

- (void) updateCell: (NSCell*)aCell

updateCellInside:

- (void) updateCellInside: (NSCell*)aCell

validateEditing

- (void) validateEditing

control:didFailToFormatString:errorDescription:

- (BOOL) control: (NSControl*)control didFailToFormatString: (NSString*)string errorDescription: (NSString*)error

control:didFailToValidatePartialString:errorDescription:

- (void) control: (NSControl*)control didFailToValidatePartialString: (NSString*)string errorDescription: (NSString*)error

control:isValidObject:

- (BOOL) control: (NSControl*)control isValidObject: (id)object

control:textShouldBeginEditing:

- (BOOL) control: (NSControl*)control textShouldBeginEditing: (NSText*)fieldEditor

control:textShouldEndEditing:

- (BOOL) control: (NSControl*)control textShouldEndEditing: (NSText*)fieldEditor

control:textView:doCommandBySelector:

- (BOOL) control: (NSControl*)control textView: (NSTextView*)textView doCommandBySelector: (SEL)command

controlTextDidBeginEditing:

- (void) controlTextDidBeginEditing: (NSNotification*)aNotification

controlTextDidEndEditing:

- (void) controlTextDidEndEditing: (NSNotification*)aNotification

controlTextDidChange:

- (void) controlTextDidChange: (NSNotification*)aNotification