Instance Method インスタンスメソッド

panel:shouldShowFilename:

Gives the delegate the opportunity to filter items that it doesn’t want the user to choose.

Declaration 宣言

- (BOOL)panel:(id)sender 
shouldShowFilename:(NSString *)filename;

Parameters パラメータ

sender

Panel that is querying whether it should show a certain file.

filename

String representing the name of the file to be loaded in the browser.

Return Value 戻り値

YES if filename should be selectable, and NO if the save panel should disable the file or directory.

Discussion 解説

The NSSavePanel object sender sends this message to the panel’s delegate for each file or directory (filename) it is about to load in the browser.

See Also 参照

Methods

Related Documentation 関連文書