org.rococoa.cocoa.appkit.categories
Interface NSSegmentBackgroundStyle

All Superinterfaces:
ObjCObject

public interface NSSegmentBackgroundStyle
extends ObjCObject

This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static interface NSSegmentBackgroundStyle._static_
           
 
Method Summary
 NSObject interiorBackgroundStyleForSegment(NSInteger segment)
          Describes the surface drawn onto in -[NSCell drawSegment:inFrame:withView:].
 
Methods inherited from interface org.rococoa.ObjCObject
id
 

Method Detail

interiorBackgroundStyleForSegment

NSObject interiorBackgroundStyleForSegment(NSInteger segment)
Describes the surface drawn onto in -[NSCell drawSegment:inFrame:withView:]. That method draws a segment interior, not the segment bezel. This is both an override point and a useful method to call. A segmented cell that draws a custom bezel would override this to describe that surface. A cell that has custom segment drawing might query this method to help pick an image that looks good on the cell. Calling this method gives you some independence from changes in framework art style.
Original signature : -(id)interiorBackgroundStyleForSegment:(NSInteger)
from NSSegmentBackgroundStyle native declaration : NSSegmentedCell.h:123



Copyright © 2009. All Rights Reserved.