mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-26 15:00:54 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11788 72102866-910b-0410-8b05-ffd578937521
426 lines
9.8 KiB
HTML
426 lines
9.8 KiB
HTML
<html>
|
|
<head>
|
|
<title>NSControl</title>
|
|
</head>
|
|
<body>
|
|
<h1>NSControl</h1>
|
|
<h3>Authors</h3>
|
|
<dl>
|
|
<dt>Scott Christley(<a href="mailto:scottc@net-community.com"><code>
|
|
scottc@net-community.com
|
|
</code></a>)</dt>
|
|
<dd>
|
|
</dd>
|
|
<dt>Richard Frith-Macdonald(<a href="mailto:richard@brainstorm.co.uk"><code>
|
|
richard@brainstorm.co.uk
|
|
</code></a>)</dt>
|
|
<dd>
|
|
</dd>
|
|
</dl>
|
|
<blockquote>
|
|
The abstract control class </blockquote>
|
|
<p>Copyright: (C) 1996 Free Software Foundation, Inc.</p>
|
|
<h1>
|
|
Software documentation for the NSControl class
|
|
</h1>
|
|
<h2><a name="class$NSControl">NSControl</a> : <a href="NSView.html#class$NSView">NSView</a></h2>
|
|
Declared: AppKit/NSControl.h<br />
|
|
<p>
|
|
|
|
</p>
|
|
<h3>cellClass</a></h3>
|
|
+ (Class) <b>cellClass</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>setCellClass:</a></h3>
|
|
+ (void) <b>setCellClass:</b> (Class)factoryId;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>abortEditing</a></h3>
|
|
- (BOOL) <b>abortEditing</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>action</a></h3>
|
|
- (SEL) <b>action</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>alignment</a></h3>
|
|
- (NSTextAlignment) <b>alignment</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>calcSize</a></h3>
|
|
- (void) <b>calcSize</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>cell</a></h3>
|
|
- (id) <b>cell</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>currentEditor</a></h3>
|
|
- (<a href="NSText.html#class$NSText">NSText</a>*) <b>currentEditor</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>doubleValue</a></h3>
|
|
- (double) <b>doubleValue</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>drawCell:</a></h3>
|
|
- (void) <b>drawCell:</b> (<a href="NSCell.html#class$NSCell">NSCell</a>*)aCell;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>drawCellInside:</a></h3>
|
|
- (void) <b>drawCellInside:</b> (<a href="NSCell.html#class$NSCell">NSCell</a>*)aCell;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>floatValue</a></h3>
|
|
- (float) <b>floatValue</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>font</a></h3>
|
|
- (<a href="NSFont.html#class$NSFont">NSFont</a>*) <b>font</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>ignoresMultiClick</a></h3>
|
|
- (BOOL) <b>ignoresMultiClick</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>initWithFrame:</a></h3>
|
|
- (id) <b>initWithFrame:</b> (NSRect)frameRect;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>intValue</a></h3>
|
|
- (int) <b>intValue</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>isContinuous</a></h3>
|
|
- (BOOL) <b>isContinuous</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>isEnabled</a></h3>
|
|
- (BOOL) <b>isEnabled</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>mouseDown:</a></h3>
|
|
- (void) <b>mouseDown:</b> (<a href="NSEvent.html#class$NSEvent">NSEvent</a>*)theEvent;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>objectValue</a></h3>
|
|
- (id) <b>objectValue</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>performClick:</a></h3>
|
|
- (void) <b>performClick:</b> (id)sender;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>refusesFirstResponder</a></h3>
|
|
- (BOOL) <b>refusesFirstResponder</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>selectCell:</a></h3>
|
|
- (void) <b>selectCell:</b> (<a href="NSCell.html#class$NSCell">NSCell</a>*)aCell;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>selectedCell</a></h3>
|
|
- (id) <b>selectedCell</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>selectedTag</a></h3>
|
|
- (int) <b>selectedTag</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>sendAction:to:</a></h3>
|
|
- (BOOL) <b>sendAction:</b> (SEL)theAction<b> to:</b> (id)theTarget;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>sendActionOn:</a></h3>
|
|
- (int) <b>sendActionOn:</b> (int)mask;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>setAction:</a></h3>
|
|
- (void) <b>setAction:</b> (SEL)aSelector;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>setAlignment:</a></h3>
|
|
- (void) <b>setAlignment:</b> (NSTextAlignment)mode;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>setCell:</a></h3>
|
|
- (void) <b>setCell:</b> (<a href="NSCell.html#class$NSCell">NSCell</a>*)aCell;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>setContinuous:</a></h3>
|
|
- (void) <b>setContinuous:</b> (BOOL)flag;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>setDoubleValue:</a></h3>
|
|
- (void) <b>setDoubleValue:</b> (double)aDouble;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>setEnabled:</a></h3>
|
|
- (void) <b>setEnabled:</b> (BOOL)flag;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>setFloatValue:</a></h3>
|
|
- (void) <b>setFloatValue:</b> (float)aFloat;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>setFloatingPointFormat:left:right:</a></h3>
|
|
- (void) <b>setFloatingPointFormat:</b> (BOOL)autoRange<b> left:</b> (unsigned)leftDigits<b> right:</b> (unsigned)rightDigits;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>setFont:</a></h3>
|
|
- (void) <b>setFont:</b> (<a href="NSFont.html#class$NSFont">NSFont</a>*)fontObject;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>setIgnoresMultiClick:</a></h3>
|
|
- (void) <b>setIgnoresMultiClick:</b> (BOOL)flag;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>setIntValue:</a></h3>
|
|
- (void) <b>setIntValue:</b> (int)anInt;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>setNeedsDisplay</a></h3>
|
|
- (void) <b>setNeedsDisplay</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>setObjectValue:</a></h3>
|
|
- (void) <b>setObjectValue:</b> (id)anObject;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>setRefusesFirstResponder:</a></h3>
|
|
- (void) <b>setRefusesFirstResponder:</b> (BOOL)flag;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>setStringValue:</a></h3>
|
|
- (void) <b>setStringValue:</b> (NSString*)aString;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>setTag:</a></h3>
|
|
- (void) <b>setTag:</b> (int)anInt;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>setTarget:</a></h3>
|
|
- (void) <b>setTarget:</b> (id)anObject;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>sizeToFit</a></h3>
|
|
- (void) <b>sizeToFit</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>stringValue</a></h3>
|
|
- (NSString*) <b>stringValue</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>tag</a></h3>
|
|
- (int) <b>tag</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>takeDoubleValueFrom:</a></h3>
|
|
- (void) <b>takeDoubleValueFrom:</b> (id)sender;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>takeFloatValueFrom:</a></h3>
|
|
- (void) <b>takeFloatValueFrom:</b> (id)sender;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>takeIntValueFrom:</a></h3>
|
|
- (void) <b>takeIntValueFrom:</b> (id)sender;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>takeObjectValueFrom:</a></h3>
|
|
- (void) <b>takeObjectValueFrom:</b> (id)sender;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>takeStringValueFrom:</a></h3>
|
|
- (void) <b>takeStringValueFrom:</b> (id)sender;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>target</a></h3>
|
|
- (id) <b>target</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>updateCell:</a></h3>
|
|
- (void) <b>updateCell:</b> (<a href="NSCell.html#class$NSCell">NSCell</a>*)aCell;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>updateCellInside:</a></h3>
|
|
- (void) <b>updateCellInside:</b> (<a href="NSCell.html#class$NSCell">NSCell</a>*)aCell;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>validateEditing</a></h3>
|
|
- (void) <b>validateEditing</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h1>
|
|
Software documentation for the
|
|
NSObject(NSControlDelegate)
|
|
category
|
|
</h1>
|
|
<h2>NSObject(<a name="category$NSObject(NSControlDelegate)">NSControlDelegate</a>)</h2>
|
|
Declared: AppKit/NSControl.h<br />
|
|
<p>
|
|
|
|
</p>
|
|
<h3>control:didFailToFormatString:errorDescription:</a></h3>
|
|
- (BOOL) <b>control:</b> (<a href="#class$NSControl">NSControl</a>*)control<b> didFailToFormatString:</b> (NSString*)string<b> errorDescription:</b> (NSString*)error;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>control:didFailToValidatePartialString:errorDescription:</a></h3>
|
|
- (void) <b>control:</b> (<a href="#class$NSControl">NSControl</a>*)control<b> didFailToValidatePartialString:</b> (NSString*)string<b> errorDescription:</b> (NSString*)error;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>control:isValidObject:</a></h3>
|
|
- (BOOL) <b>control:</b> (<a href="#class$NSControl">NSControl</a>*)control<b> isValidObject:</b> (id)object;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>control:textShouldBeginEditing:</a></h3>
|
|
- (BOOL) <b>control:</b> (<a href="#class$NSControl">NSControl</a>*)control<b> textShouldBeginEditing:</b> (<a href="NSText.html#class$NSText">NSText</a>*)fieldEditor;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>control:textShouldEndEditing:</a></h3>
|
|
- (BOOL) <b>control:</b> (<a href="#class$NSControl">NSControl</a>*)control<b> textShouldEndEditing:</b> (<a href="NSText.html#class$NSText">NSText</a>*)fieldEditor;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>controlTextDidBeginEditing:</a></h3>
|
|
- (void) <b>controlTextDidBeginEditing:</b> (NSNotification*)aNotification;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>controlTextDidChange:</a></h3>
|
|
- (void) <b>controlTextDidChange:</b> (NSNotification*)aNotification;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>controlTextDidEndEditing:</a></h3>
|
|
- (void) <b>controlTextDidEndEditing:</b> (NSNotification*)aNotification;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
</body>
|
|
</html>
|