Copyright ©1995 by NeXT Computer, Inc. All Rights Reserved.
NISavePanel |
Inherits From: | NIOpenPanel : NIDomainPanel : Object | |
Declared In: | nikit/NISavePanel.h |
Class Description |
NISavePanel is a subclass of NIOpenPanel used to allow a user to save information to a NetInfo domain. The panel includes an upper domain browser, a lower browser for NetInfo directories (items), a text field for each browser, and a title for each browser. Examples of this panel are the Save panels in HostManager and UserManager. |
Instance Variables |
BOOL frozenBelow; |
frozenBelow | Indicates whether the lower text field can be edited. |
Method Types |
Creating a new NISavePanel object |
+ new |
Displaying the panel | ![]() |
![]() ![]() |
Getting data from the panel | ![]() |
![]() |
Target and action methods | ![]() | |
Manipulating the panel | ![]() |
![]() |
Class Methods |
new |
+ new |
Returns the single NISavePanel object per application. If one doesn't exist, it is created. |
Instance Methods |
cellWasHitInItemList: |
![]() |
This method is invoked when the user clicks in the lower browser. Returns self. |
directory |
![]() |
Returns the value of the directory selected by the user in the lower browser. |
panelSizeDefaultName |
![]() |
Returns the name of a constant representing the size of the panel. Used in conjunction with the inherited method resizePanelBeforeShowing:. |
refreshLowerData: |
![]() |
Reloads and redraws the information in the lower browser of the panel. Returns self. |
runModal |
![]() |
Begins a modal event loop for the panel. Returns the exit flags from the panel. |
runModalWithString: |
![]() |
Runs the panel, supplying a value to be placed in the text field of the lower half of the panel. The value can be changed by the user. Returns the exit flags from the panel. |
runModalWithUneditableString: |
![]() |
Same as runModalWithString:, except that the supplied value can't be modified by the user. Forces the user to save to a specific item and allows the user to cancel if a conflict exists. Returns the exit flags from the panel. |
setStartingDomainPath: |
![]() |
Sets the path to the domain in the upper browser. This directory will be selected when the browser is loaded. Returns self if the path can be resolved; otherwise, returns nil. |