C# Class Smartmobili.Cocoa.NSMenuView

Inheritance: NSView, INSMenuView
Mostra file Open project: smartmobili/CocoaBuilder

Public Properties

Property Type Description
Class Class

Protected Properties

Property Type Description
_cellSize NSSize
_font NSFont
_highlightedItemIndex int
_horizontal bool
_horizontalEdgePad float
_imageAndTitleOffset float
_imageAndTitleWidth float
_itemCells NSMutableArray
_keyEqOffset float
_keyEqWidth float
_needsSizing bool
_pad1 char[]
_pad2 char[]
_stateImageOffset float
_stateImageWidth float

Public Methods

Method Description
Alloc ( ) : NSMenuView
DetachSubmenu ( ) : void
InitWithFrame ( NSRect aFrame ) : id
LocationForSubmenu ( NSMenu aSubmenu ) : NSPoint
NSMenuView ( ) : System
PerformActionWithHighlightingForItemAtIndex ( int anIndex ) : void
SizeToFit ( ) : void
TrackWithEvent ( NSEvent anEvent ) : bool
Update ( ) : void

Private Methods

Method Description
_RootIsHorizontal ( bool &isAppMenu ) : bool

Method Details

Alloc() public static method

public static Alloc ( ) : NSMenuView
return NSMenuView

DetachSubmenu() public method

public DetachSubmenu ( ) : void
return void

InitWithFrame() public method

public InitWithFrame ( NSRect aFrame ) : id
aFrame NSRect
return id

LocationForSubmenu() public method

public LocationForSubmenu ( NSMenu aSubmenu ) : NSPoint
aSubmenu NSMenu
return NSPoint

NSMenuView() public method

public NSMenuView ( ) : System
return System

PerformActionWithHighlightingForItemAtIndex() public method

public PerformActionWithHighlightingForItemAtIndex ( int anIndex ) : void
anIndex int
return void

SizeToFit() public method

public SizeToFit ( ) : void
return void

TrackWithEvent() public method

public TrackWithEvent ( NSEvent anEvent ) : bool
anEvent NSEvent
return bool

Update() public method

public Update ( ) : void
return void

Property Details

Class public_oe static_oe property

public static Class,Smartmobili.Cocoa Class
return Class

_cellSize protected_oe property

protected NSSize,Smartmobili.Cocoa _cellSize
return NSSize

_font protected_oe property

protected NSFont,Smartmobili.Cocoa _font
return NSFont

_highlightedItemIndex protected_oe property

protected int _highlightedItemIndex
return int

_horizontal protected_oe property

protected bool _horizontal
return bool

_horizontalEdgePad protected_oe property

protected float _horizontalEdgePad
return float

_imageAndTitleOffset protected_oe property

protected float _imageAndTitleOffset
return float

_imageAndTitleWidth protected_oe property

protected float _imageAndTitleWidth
return float

_itemCells protected_oe property

protected NSMutableArray,Smartmobili.Cocoa _itemCells
return NSMutableArray

_keyEqOffset protected_oe property

protected float _keyEqOffset
return float

_keyEqWidth protected_oe property

protected float _keyEqWidth
return float

_needsSizing protected_oe property

protected bool _needsSizing
return bool

_pad1 protected_oe property

protected char[] _pad1
return char[]

_pad2 protected_oe property

protected char[] _pad2
return char[]

_stateImageOffset protected_oe property

protected float _stateImageOffset
return float

_stateImageWidth protected_oe property

protected float _stateImageWidth
return float