VaKeR CYBER ARMY
Logo of a company Server : Apache/2.4.41 (Ubuntu)
System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Directory :  /usr/share/GNUstep/Documentation/Developer/Gui/Reference/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/GNUstep/Documentation/Developer/Gui/Reference/NSForm.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

    <head>
    <title>NSForm</title>
  </head>
  <body>
    <font face="serif">
    <a href="Gui.html">Up</a>
    <br />
    <h1><a name="title$NSForm">NSForm</a></h1>
    <h3>Authors</h3>
    <dl>
      <dt>Ovidiu Predescu (<a href="mailto:ovidiu@net-community.com"><code>ovidiu@net-community.com</code></a>)</dt>
      <dd>
      </dd>
    </dl>
    <blockquote>
      
      Form class, a matrix of text fields with labels
    
    </blockquote>
    <p><b>Copyright:</b> (C) 1996 Free Software Foundation, Inc.</p>

        <div>
    </div>

          <h1><a name="001000000000">
        Software documentation for the NSForm class
      </a></h1>
    <h2><a name="class$NSForm">NSForm</a> : <a rel="gsdoc" href="NSMatrix.html#class$NSMatrix">NSMatrix</a></h2>
    <blockquote class="declared">
      <dl>
        <dt><b>Declared in:</b></dt>
        <dd>AppKit/NSForm.h</dd>
      </dl>
    </blockquote>
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
          <em>Description forthcoming.</em>
        
    </div>
    <hr width="50%" align="left" />
    <a href="#_NSForm_ivars">Instance Variables</a>
    <br/><br/>
    <b>Method summary</b>
    <ul>
      <li><a rel="gsdoc" href="NSForm.html#method$NSForm-_setTitleWidthNeedsUpdate$">-_setTitleWidthNeedsUpdate:</a></li>
      <li><a rel="gsdoc" href="NSForm.html#method$NSForm-addEntry$">-addEntry:</a></li>
      <li><a rel="gsdoc" href="NSForm.html#method$NSForm-cellAtIndex$">-cellAtIndex:</a></li>
      <li><a rel="gsdoc" href="NSForm.html#method$NSForm-drawCellAtIndex$">-drawCellAtIndex:</a></li>
      <li><a rel="gsdoc" href="NSForm.html#method$NSForm-indexOfCellWithTag$">-indexOfCellWithTag:</a></li>
      <li><a rel="gsdoc" href="NSForm.html#method$NSForm-indexOfSelectedItem">-indexOfSelectedItem</a></li>
      <li><a rel="gsdoc" href="NSForm.html#method$NSForm-insertEntry$atIndex$">-insertEntry:atIndex:</a></li>
      <li><a rel="gsdoc" href="NSForm.html#method$NSForm-removeEntryAtIndex$">-removeEntryAtIndex:</a></li>
      <li><a rel="gsdoc" href="NSForm.html#method$NSForm-selectTextAtIndex$">-selectTextAtIndex:</a></li>
      <li><a rel="gsdoc" href="NSForm.html#method$NSForm-setBezeled$">-setBezeled:</a></li>
      <li><a rel="gsdoc" href="NSForm.html#method$NSForm-setBordered$">-setBordered:</a></li>
      <li><a rel="gsdoc" href="NSForm.html#method$NSForm-setEntryWidth$">-setEntryWidth:</a></li>
      <li><a rel="gsdoc" href="NSForm.html#method$NSForm-setInterlineSpacing$">-setInterlineSpacing:</a></li>
      <li><a rel="gsdoc" href="NSForm.html#method$NSForm-setTextAlignment$">-setTextAlignment:</a></li>
      <li><a rel="gsdoc" href="NSForm.html#method$NSForm-setTextBaseWritingDirection$">-setTextBaseWritingDirection:</a></li>
      <li><a rel="gsdoc" href="NSForm.html#method$NSForm-setTextFont$">-setTextFont:</a></li>
      <li><a rel="gsdoc" href="NSForm.html#method$NSForm-setTitleAlignment$">-setTitleAlignment:</a></li>
      <li><a rel="gsdoc" href="NSForm.html#method$NSForm-setTitleBaseWritingDirection$">-setTitleBaseWritingDirection:</a></li>
      <li><a rel="gsdoc" href="NSForm.html#method$NSForm-setTitleFont$">-setTitleFont:</a></li>
    </ul>
    <hr width="50%" align="left" />
<div class="method">
    <h3><a name="method$NSForm-_setTitleWidthNeedsUpdate$">_setTitleWidthNeedsUpdate:&nbsp;</a></h3>
    - (void) <b>_setTitleWidthNeedsUpdate:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSNotification.html#class$NSNotification">NSNotification</a>*)notification;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            <em>Warning</em> the underscore at the start of the
            name of this method indicates that it is private, for
            internal use only, and you should not use the
            method in your code.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSForm-addEntry$">addEntry:&nbsp;</a></h3>
    - (<a rel="gsdoc" href="NSFormCell.html#class$NSFormCell">NSFormCell</a>*) <b>addEntry:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)title;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            
    </p>
    <p>

              Adds a new entry with <var>title</var> as its
              <var>title</var> at the end of the NSForm and
              returns the NSFormCell.
                </p>
    <p>
      
            
    </p>
    <p>

              See Also:
              <a rel="gsdoc" href="#method$NSForm-insertEntry$atIndex$">
                -insertEntry:atIndex:
              </a>

              <a rel="gsdoc" href="#method$NSForm-removeEntryAtIndex$">
                -removeEntryAtIndex:
              </a>

                </p>
    <p>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSForm-cellAtIndex$">cellAtIndex:&nbsp;</a></h3>
    - (id) <b>cellAtIndex:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>)index;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            
    </p>
    <p>

              Returns the NSFormCell at <var>index</var>
              <var>index</var>
                </p>
    <p>
      
            
    </p>
    <p>

              See Also:
              <a rel="gsdoc" href="NSMatrix.html#method$NSMatrix-cellAtRow$column$">[NSMatrix -cellAtRow:column:]</a>

                </p>
    <p>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSForm-drawCellAtIndex$">drawCellAtIndex:&nbsp;</a></h3>
    - (void) <b>drawCellAtIndex:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>)index;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            
    </p>
    <p>

              Draws the NSFormCell at the specified
              <var>index</var>
                </p>
    <p>
      
            
    </p>
    <p>

              See Also:
              <a rel="gsdoc" href="#method$NSForm-cellAtIndex$">
                -cellAtIndex:
              </a>

              <a rel="gsdoc" href="NSCell.html#method$NSCell-drawWithFrame$inView$">[NSCell -drawWithFrame:inView:]</a>
 <a rel="gsdoc" href="NSMatrix.html#method$NSMatrix-cellFrameAtRow$column$">[NSMatrix -cellFrameAtRow:column:]</a>

                </p>
    <p>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSForm-indexOfCellWithTag$">indexOfCellWithTag:&nbsp;</a></h3>
    - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>) <b>indexOfCellWithTag:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>)aTag;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            
    </p>
    <p>

              Returns the index of the entry specified by
              <var>aTag</var> or -1 if <var>aTag</var> is not
              found in entries.
                </p>
    <p>
      
            
    </p>
    <p>

              See Also:
              <a rel="gsdoc" href="NSMatrix.html#method$NSMatrix-cellAtRow$column$">[NSMatrix -cellAtRow:column:]</a>

                </p>
    <p>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSForm-indexOfSelectedItem">indexOfSelectedItem&nbsp;</a></h3>
    - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>) <b>indexOfSelectedItem</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            
    </p>
    <p>

              Returns the index of the current selected entry.
                </p>
    <p>
      
            
    </p>
    <p>

              <a rel="gsdoc" href="NSMatrix.html#method$NSMatrix-selectedRow">
                [NSMatrix -selectedRow]
              </a>

                </p>
    <p>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSForm-insertEntry$atIndex$">insertEntry:&nbsp;atIndex:&nbsp;</a></h3>
    - (<a rel="gsdoc" href="NSFormCell.html#class$NSFormCell">NSFormCell</a>*) <b>insertEntry:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)title<b> atIndex:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>)index;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            
    </p>
    <p>

              Inserts a new entry with <var>title</var> as its
              <var>title</var> at the <var>index</var>
              <var>index</var> of the NSForm and returns the
              NSFormCell.
                </p>
    <p>
      
            
    </p>
    <p>

              See Also:
              <a rel="gsdoc" href="#method$NSForm-addEntry$">
                -addEntry:
              </a>

              <a rel="gsdoc" href="#method$NSForm-removeEntryAtIndex$">
                -removeEntryAtIndex:
              </a>

                </p>
    <p>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSForm-removeEntryAtIndex$">removeEntryAtIndex:&nbsp;</a></h3>
    - (void) <b>removeEntryAtIndex:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>)index;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            
    </p>
    <p>

              Removes the entry at <var>index</var>
              <var>index</var>.
                </p>
    <p>
      
            
    </p>
    <p>

              See Also:
              <a rel="gsdoc" href="#method$NSForm-insertEntry$atIndex$">
                -insertEntry:atIndex:
              </a>

              <a rel="gsdoc" href="#method$NSForm-addEntry$">
                -addEntry:
              </a>

                </p>
    <p>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSForm-selectTextAtIndex$">selectTextAtIndex:&nbsp;</a></h3>
    - (void) <b>selectTextAtIndex:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>)index;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            
    </p>
    <p>

              Selects the text in the entry specified by
              <var>index</var>.
                </p>
    <p>
      
            
    </p>
    <p>

              <a rel="gsdoc" href="NSMatrix.html#method$NSMatrix-selectTextAtRow$column$">[NSMatrix -selectTextAtRow:column:]</a>

                </p>
    <p>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSForm-setBezeled$">setBezeled:&nbsp;</a></h3>
    - (void) <b>setBezeled:</b> (BOOL)flag;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            
    </p>
    <p>

              Sets whether then NSForm&apos;s entries have bezeled
              border.
                </p>
    <p>
      
            
    </p>
    <p>

              See Also:
              <a rel="gsdoc" href="NSCell.html#method$NSCell-setBezeled$">
                [NSCell -setBezeled:]
              </a>

                </p>
    <p>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSForm-setBordered$">setBordered:&nbsp;</a></h3>
    - (void) <b>setBordered:</b> (BOOL)flag;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            
    </p>
    <p>

              Sets whether then NSForm&apos;s entries have border
                </p>
    <p>
      
            
    </p>
    <p>

              See Also:
              <a rel="gsdoc" href="NSCell.html#method$NSCell-setBordered$">
                [NSCell -setBordered:]
              </a>

                </p>
    <p>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSForm-setEntryWidth$">setEntryWidth:&nbsp;</a></h3>
    - (void) <b>setEntryWidth:</b> (float)width;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            
    </p>
    <p>

              Sets the <var>width</var> of all entries to
              <var>width</var>
                </p>
    <p>
      
            
    </p>
    <p>

              See Also:
              <a rel="gsdoc" href="NSMatrix.html#method$NSMatrix-setCellSize$">
                [NSMatrix -setCellSize:]
              </a>

                </p>
    <p>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSForm-setInterlineSpacing$">setInterlineSpacing:&nbsp;</a></h3>
    - (void) <b>setInterlineSpacing:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$CGFloat">CGFloat</a>)spacing;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            
    </p>
    <p>

              Sets the <var>spacing</var> between all entries to
              <var>spacing</var>. By default the
              <var>spacing</var> is 4.
                </p>
    <p>
      
            
    </p>
    <p>

              See Also:
              <a rel="gsdoc" href="NSMatrix.html#method$NSMatrix-setIntercellSpacing$">[NSMatrix -setIntercellSpacing:]</a>

                </p>
    <p>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSForm-setTextAlignment$">setTextAlignment:&nbsp;</a></h3>
    - (void) <b>setTextAlignment:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSTextAlignment">NSTextAlignment</a>)aMode;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            
    </p>
    <p>

              Sets the text alignment to <var>aMode</var> for all
              entries. See
              <a rel="gsdoc" href="TypesAndConstants.html#type$NSTextAlignment">
                NSTextAlignment
              </a>

              for more informations. The default text alignment is
              NSRightTextAlignment
                </p>
    <p>
      
            
    </p>
    <p>

              See Also:
              <a rel="gsdoc" href="#method$NSForm-setTitleAlignment$">
                -setTitleAlignment:
              </a>

              <a rel="gsdoc" href="NSCell.html#method$NSCell-setAlignment$">
                [NSCell -setAlignment:]
              </a>

                </p>
    <p>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSForm-setTextBaseWritingDirection$">setTextBaseWritingDirection:&nbsp;</a></h3>
    - (void) <b>setTextBaseWritingDirection:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSWritingDirection">NSWritingDirection</a>)direction;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.4.0</div>
<br />
    <div class="desc">
      
            
    </p>
    <p>

              Sets the contents writing <var>direction</var> to
              <var>direction</var> for all entries
                </p>
    <p>
      
            
    </p>
    <p>

              See Also:
              <a rel="gsdoc" href="NSCell.html#method$NSCell-setBaseWritingDirection$">[NSCell -setBaseWritingDirection:]</a>
 <a rel="gsdoc" href="#method$NSForm-setTitleBaseWritingDirection$">-setTitleBaseWritingDirection:</a>

                </p>
    <p>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSForm-setTextFont$">setTextFont:&nbsp;</a></h3>
    - (void) <b>setTextFont:</b> (<a rel="gsdoc" href="NSFont.html#class$NSFont">NSFont</a>*)fontObject;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            
    </p>
    <p>

              Sets the text font to <var>fontObject</var> for all
              entries
                </p>
    <p>
      
            
    </p>
    <p>

              See Also:
              <a rel="gsdoc" href="NSCell.html#method$NSCell-setFont$">
                [NSCell -setFont:]
              </a>

              <a rel="gsdoc" href="#method$NSForm-setTitleFont$">
                -setTitleFont:
              </a>

                </p>
    <p>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSForm-setTitleAlignment$">setTitleAlignment:&nbsp;</a></h3>
    - (void) <b>setTitleAlignment:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSTextAlignment">NSTextAlignment</a>)aMode;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            
    </p>
    <p>

              Sets the text alignment of the title to
              <var>aMode</var> for all entries. See
              <a rel="gsdoc" href="TypesAndConstants.html#type$NSTextAlignment">
                NSTextAlignment
              </a>

              for more informations. The default title alignment is
              NSLeftTextAlignment
                </p>
    <p>
      
            
    </p>
    <p>

              See Also:
              <a rel="gsdoc" href="NSFormCell.html#method$NSFormCell-setTitleAlignment$">[NSFormCell -setTitleAlignment:]</a>
 <a rel="gsdoc" href="#method$NSForm-setTextAlignment$">-setTextAlignment:</a>

                </p>
    <p>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSForm-setTitleBaseWritingDirection$">setTitleBaseWritingDirection:&nbsp;</a></h3>
    - (void) <b>setTitleBaseWritingDirection:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSWritingDirection">NSWritingDirection</a>)direction;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.4.0</div>
<br />
    <div class="desc">
      
            
    </p>
    <p>

              Sets the title writing <var>direction</var> to
              <var>direction</var> for all entries
                </p>
    <p>
      
            
    </p>
    <p>

              See Also:
              <a rel="gsdoc" href="NSFormCell.html#method$NSFormCell-setTitleBaseWritingDirection$">[NSFormCell -setTitleBaseWritingDirection:]</a>
 <a rel="gsdoc" href="#method$NSForm-setTextBaseWritingDirection$">-setTextBaseWritingDirection:</a>

                </p>
    <p>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSForm-setTitleFont$">setTitleFont:&nbsp;</a></h3>
    - (void) <b>setTitleFont:</b> (<a rel="gsdoc" href="NSFont.html#class$NSFont">NSFont</a>*)fontObject;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            
    </p>
    <p>

              Sets the text font of the title to
              <var>fontObject</var> for all entries
                </p>
    <p>
      
            
    </p>
    <p>

              See Also:
              <a rel="gsdoc" href="NSFormCell.html#method$NSFormCell-setTitleFont$">[NSFormCell -setTitleFont:]</a>
 <a rel="gsdoc" href="#method$NSForm-setTextFont$">-setTextFont:</a>

                </p>
    <p>
      
          
    </div>
    <hr width="25%" align="left" />
</div>
<a name="_NSForm_ivars"/>    <br/><hr width="50%" align="left" />
    <h2>Instance Variables for NSForm Class</h2>
    <h3><a name="ivariable$NSForm*_title_width_needs_update">_title_width_needs_update</a></h3>
    @protected BOOL <b>_title_width_needs_update</b>;<br />
    <div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
    <div class="desc">
      
            <em>Warning</em> the underscore at the start of the
            name of this instance variable indicates that, even
            though it is not technically <em>private</em>, it is
            intended for internal use within the package, and
            you should not use the variable in other code.
          
    </div>
    <hr width="25%" align="left" />
    <br/><hr width="50%" align="left" /><br/>
    <br />
    <a href="Gui.html">Up</a>
    </font>
</body>
</html>

VaKeR 2022