C# Class Smartmobili.Cocoa.NSSegmentedCell

Inheritance: NSActionCell
Datei anzeigen Open project: smartmobili/CocoaBuilder

Public Properties

Property Type Description
Class Class

Protected Properties

Property Type Description
_items NSMutableArray
_key_selection int
_segmentCellFlags GSSegmentCellFlags
_selected_segment int

Private Properties

Property Type Description

Public Methods

Method Description
Alloc ( ) : NSSegmentedCell
DrawSegment ( int seg, NSRect frame, NSView view ) : void
ImageForSegment ( int seg ) : NSImage
Init ( ) : id
InitImageCell ( NSImage anImage ) : id
InitTextCell ( NSString aString ) : id
InitWithCoder ( NSCoder aDecoder ) : id
IsEnabledForSegment ( int seg ) : bool
IsSelectedForSegment ( int seg ) : bool
LabelForSegment ( int seg ) : NSString
MakeNextSegmentKey ( ) : void
MakePreviousSegmentKey ( ) : void
MenuForSegment ( int seg ) : NSMenu
SelectSegmentWithTag ( int tag ) : void
SetEnabledForSegment ( bool flag, int seg ) : void
SetImageForSegment ( NSImage image, int seg ) : void
SetLabelForSegment ( NSString label, int seg ) : void
SetMenuForSegment ( NSMenu menu, int seg ) : void
SetSelected ( bool flag, int seg ) : void
SetTagForSegment ( int tag, int seg ) : void
SetToolTipForSegment ( NSString toolTip, int seg ) : void
SetWidthForSegment ( float width, int seg ) : void
TagForSegment ( int seg ) : int
ToolTipForSegment ( int seg ) : NSString
WidthForSegment ( int seg ) : float

Method Details

Alloc() public static method

public static Alloc ( ) : NSSegmentedCell
return NSSegmentedCell

DrawSegment() public method

public DrawSegment ( int seg, NSRect frame, NSView view ) : void
seg int
frame NSRect
view NSView
return void

ImageForSegment() public method

public ImageForSegment ( int seg ) : NSImage
seg int
return NSImage

Init() public method

public Init ( ) : id
return id

InitImageCell() public method

public InitImageCell ( NSImage anImage ) : id
anImage NSImage
return id

InitTextCell() public method

public InitTextCell ( NSString aString ) : id
aString NSString
return id

InitWithCoder() public method

public InitWithCoder ( NSCoder aDecoder ) : id
aDecoder NSCoder
return id

IsEnabledForSegment() public method

public IsEnabledForSegment ( int seg ) : bool
seg int
return bool

IsSelectedForSegment() public method

public IsSelectedForSegment ( int seg ) : bool
seg int
return bool

LabelForSegment() public method

public LabelForSegment ( int seg ) : NSString
seg int
return NSString

MakeNextSegmentKey() public method

public MakeNextSegmentKey ( ) : void
return void

MakePreviousSegmentKey() public method

public MakePreviousSegmentKey ( ) : void
return void

MenuForSegment() public method

public MenuForSegment ( int seg ) : NSMenu
seg int
return NSMenu

SelectSegmentWithTag() public method

public SelectSegmentWithTag ( int tag ) : void
tag int
return void

SetEnabledForSegment() public method

public SetEnabledForSegment ( bool flag, int seg ) : void
flag bool
seg int
return void

SetImageForSegment() public method

public SetImageForSegment ( NSImage image, int seg ) : void
image NSImage
seg int
return void

SetLabelForSegment() public method

public SetLabelForSegment ( NSString label, int seg ) : void
label NSString
seg int
return void

SetMenuForSegment() public method

public SetMenuForSegment ( NSMenu menu, int seg ) : void
menu NSMenu
seg int
return void

SetSelected() public method

public SetSelected ( bool flag, int seg ) : void
flag bool
seg int
return void

SetTagForSegment() public method

public SetTagForSegment ( int tag, int seg ) : void
tag int
seg int
return void

SetToolTipForSegment() public method

public SetToolTipForSegment ( NSString toolTip, int seg ) : void
toolTip NSString
seg int
return void

SetWidthForSegment() public method

public SetWidthForSegment ( float width, int seg ) : void
width float
seg int
return void

TagForSegment() public method

public TagForSegment ( int seg ) : int
seg int
return int

ToolTipForSegment() public method

public ToolTipForSegment ( int seg ) : NSString
seg int
return NSString

WidthForSegment() public method

public WidthForSegment ( int seg ) : float
seg int
return float

Property Details

Class public_oe static_oe property

public static Class,Smartmobili.Cocoa Class
return Class

_items protected_oe property

protected NSMutableArray,Smartmobili.Cocoa _items
return NSMutableArray

_key_selection protected_oe property

protected int _key_selection
return int

_segmentCellFlags protected_oe property

protected GSSegmentCellFlags _segmentCellFlags
return GSSegmentCellFlags

_selected_segment protected_oe property

protected int _selected_segment
return int