Copyright ©1995 by NeXT Computer, Inc. All Rights Reserved.
| 11 |
NetInfo Kit
| Classes
NIDomain |
| Inherits From: | Object |
| Allocating and Initializing an NIDomain Object |
| + alloc | Allocates an NIDomain object | |
| + allocFromZone:(NXZone *)zone | Allocates an NIDomain object from the specified zone | |
| Initializes a new NIDomain object |
| Freeing an NIDomain Object |
| Deallocates an NIDomain object |
| Making or Freeing a Connection to a Domain |
| Makes a connection to a domain | ||
| Makes a connection to a domain, as specified | ||
| to:(char *)hostName | Makes a connection to a domain, using host name and tag |
| to:(char *)hostName | Makes a connection to a domain, as specified | |
| readTimeout:(int)rtime | ||
| writeTimeout:(int)wtime | ||
| canAbort:(BOOL)abort |
| Terminates a connection to a domain |
| Getting Data about or from the Current Domain |
| Gets the path name of the current domain | ||
| Gets the host name of the current domain's master server | ||
| Gets the host name of the current domain's current server | ||
| Gets the tag of the current domain | ||
| Gets the socket address of the current domain's current server | ||
| Gets the NetInfoTMhandle of the current domain |
| withProperty:(const char *)property | Gets the values associated with a property |
| Checking the Error Status |
| Returns the status code from the most recent NetInfo call |
| Assigning a Delegate |
| Sets the delegate of the NIDomain object |
| NIDomainPanel |
| Inherits From: | Object |
| Allocating and Initializing an NIDomainPanel Object |
| + new | Returns an NIDomainPanel object | |
| + allocWithoutPanelFromZone:(NXZone *)zone | Allocates an NIDomainPanel object that has no panel | |
| Initializes a new NIDomainPanel object |
| Displaying the Panel |
| Brings up the panel |
| Resizes the panel |
| Returns the id of the panel | ||
| Detects that the window has changed size |
| Getting Data |
| Returns the exit flags from the panel | ||
| Returns the name of the selected domain | ||
| Returns a string indicating the panel's default size |
| Filling the Browser |
| Loads current domain information into the browser |
| Loads information from the domain into the browser |
| Fills the indicated column with data | ||
| Fills the indicated cell with data | ||
| Clears the data in the rightmost column of the browser | ||
| Fills the next column of the browser |
| Text-Related Methods |
| Completes the text in the text field | ||
| Calls the OK button's action method | ||
| Detects empty text field | ||
| Detects that text is about to change | ||
| Detects that the user has finished editing the text field |
| Target and Action Methods |
| Method invoked by the browser | ||
| Method invoked by the Cancel button | ||
| Method invoked by the OK button |
| NILoginPanel |
| Inherits From: | Panel : Window : Responder : Object |
| Creating a Panel |
| + new | Returns an NILoginPanel object |
| Running the Panel |
| Brings up the panel | ||
| Brings up the panel, as specified | ||
| Brings up the panel and specifies validation by the delegate | ||
| Target and Action Methods |
| Method invoked by the OK button | ||
| Method invoked by the Cancel button |
| Getting Data |
| Returns whether the login was successful | ||
| Returns the text in the password field | ||
| Returns the text in the account name field |
| NIOpenPanel |
| Inherits From: | NIDomainPanel : Object |
| Initializing and Running a Panel |
| + new | Returns an NIOpenPanel object | |
| Brings up the panel |
| Getting Data from the Panel |
| Returns the directory that's selected in the lower browser | ||
| Returns a string indicating the panel's default size |
| Manipulating the Panel |
| Sets the initial directory path in the lower browser | ||
| Sets the title of the lower half of the panel | ||
| Sets the title of the panel | ||
| Rereads and redraws the lower browser |
| Searching |
| Keeps lower browser and text field in sync | ||
| Keeps lower browser and text field in sync |
| Filling the Browser |
| Fills the indicated column with data | ||
| Fills the indicated cell with data | ||
| Text-Related Methods |
| Detects empty text field | ||
| Detects that text is about to change | ||
| Reserved for future use | ||
| Completes the text in the upper text field |
| Target and Action Methods |
| Method invoked by the upper browser | ||
| Method invoked by the lower browser |
| NISavePanel |
| Inherits From: | NIOpenPanel : NIDomainPanel : Object |
| Creating a New NISavePanel Object |
| + new | Returns an NISavePanel object |
| Displaying the Panel |
| Brings up the panel | ||
| Brings up the panel, with the string in the lower text field |
| Brings up the panel, with an uneditable string in the lower |
| text field |
| Getting Data from the Panel |
| Returns a string indicating the panel's default size | ||
| Returns the directory that's selected in the lower browser |
| Target and Action Methods |
| Method invoked by the lower browser |
| Manipulating the Panel |
| Sets the initial path in the upper browser | ||
| Rereads and redraws the lower browser |