NSGridView:backgroundColors
Home 目次>ApplicationKit>NSGridView
10.5

backgroundColors

GridViewの背景色を返します


-(NSArray *) backgroundColors


【返り値】
   NSArray *


【解説】

GridViewの背景色を返します。



【例文】


- (IBAction)myAction:(id)sender
{
//最大行数をセット
[gridView setMaxNumberOfRows:(NSUInteger)3];


NSLog([[gridView backgroundColors] description]);
}

/**
Returns the support folder for the application, used to store the Core Data
store file. This code uses a folder named "gridview" for
the content, either in the NSApplicationSupportDirectory location or (if the
former cannot be found), the system's temporary directory.
*/

- (NSString *)applicationSupportFolder {

NSArray *paths = NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSUserDomainMask, YES);
NSString *basePath = ([paths count] > 0) ? [paths objectAtIndex:0] : NSTemporaryDirectory();
return [basePath stringByAppendingPathComponent:@"gridview"];
}


(C) 2000-2007 Satoshi Oomori.
[Apple]

Google
Webwww.oomori.com
Apple_Store_40x120

[ad:Usual day in Japan]

この記事を評価してください。 

良い 

間違いがある 説明がわかりにくい 例文がわかりにくい  

Home 目次>ApplicationKit>NSGridView
修正日2006.12.26