DrawKit
Vector and illustration framework for Mac OS X
Instance Methods | List of all members
DKCategoryManagerMenuInfo Class Reference

private object used to store menu info - allows efficient management of the menu to match the C/Mgrs contents. More...

Inheritance diagram for DKCategoryManagerMenuInfo:
Inheritance graph
[legend]

Instance Methods

(void) - addCategory:
 
(void) - addKey:
 
(void) - addRecentlyAddedOrUsedKey:
 
(void) - checkItemsForKey:
 
(id- initWithCategoryManager:itemDelegate:itemTarget:itemAction:options:
 
(id- initWithCategoryManager:itemDelegate:options:
 
(id- initWithCategoryManager:itemTarget:itemAction:options:
 
(NSMenu *) - menu
 
(void) - removeAll
 
(void) - removeCategory:
 
(void) - removeKey:
 
(void) - renameCategoryWithInfo:
 
(void) - syncRecentlyUsedMenuForKey:
 
(void) - updateForKey:
 
- Instance Methods inherited from NSObject
(NSString *) - address
 
(DKStyleRegistry *) - applicationWillReturnStyleRegistry
 
(BOOL- canBeUsedWithSelectionTool
 
(id- categoryManager:shouldReplaceObject:withObject:
 
(Class- classForCoder
 
(NSColor *) - colorValue
 
(NSColor *) - colourValue
 
(id- copy
 
(void) - dealloc
 
(id- deepCopy
 
(NSDictionary *) - dimensionValuesForArrowStroke:
 
(CGFloat- drawing:convertDistanceToExternalCoordinates:
 
(NSPoint) - drawing:convertLocationToExternalCoordinates:
 
(void) - drawing:didDrawRect:inView:
 
(void) - drawing:willDrawRect:inView:
 
(NSString *) - drawing:willReturnAbbreviationForUnit:
 
(NSString *) - drawing:willReturnFormattedCoordinateForDistance:
 
(CGFloat- drawingWillReturnUnitToPointsConversonFactor:
 
(void) - finalize
 
(NSString *) - hexString
 
(void) - hotspot:didEndTrackingWithEvent:inView:
 
(void) - hotspot:isTrackingWithEvent:inView:
 
(void) - hotspot:willBeginTrackingWithEvent:inView:
 
(NSData *) - imageData
 
(NSImage *) - imageResourceNamed:
 
(id- init
 
(id- initWithExpression:
 
(id- instantiateObjectWithShortName:parameters:
 
(BOOL- isLiteralValue
 
(void) - layoutManager:willPlaceGlyphAtIndex:atLocation:pathAngle:yOffset:
 
(void) - menuItem:wasAddedForObject:inCategory:
 
(BOOL- moveObjectTo:position:slope:userInfo:
 
(id- mutableCopy
 
(void) - oneShotComplete
 
(void) - oneShotHasReached:
 
(void) - oneShotWillBegin
 
(void) - path:elementIndex:type:points:subPathIndex:subPathClosed:contextInfo:
 
(id- placeLinkFromPoint:toPoint:onPath:linkNumber:userInfo:
 
(id- placeObjectAtPoint:onPath:position:slope:userInfo:
 
(NSPoint) - point
 
(NSPoint) - pointForTextLayout
 
(DKStyle *) - registry:shouldReplaceStyle:withStyle:
 
(NSBezierPath *) - renderer:willRenderPath:
 
(void) - routeFinder:progressHasReached:
 
(void) - setValue:forNumericParameter:
 
(NSString *) - stringValue
 
(CGFloat- taperFactorAtDistance:onPath:ofLength:
 
(void) - toolDidPerformUndoableAction:
 
(void) - toolWillPerformUndoableAction:
 
(NSURL *) - url
 
- Instance Methods inherited from <NSObject>
(NSString *) - description
 
(NSUInteger- hash
 
(BOOL- isEqual:
 
- Instance Methods inherited from <NSKeyValueBindingCreation>
(void) - bind:toObject:withKeyPath:options:
 
(NSArray *) - exposedBindings
 
(NSDictionary *) - infoForBinding:
 
(NSArray *) - optionDescriptionsForBinding:
 
(void) - unbind:
 
(Class- valueClassForBinding:
 

Additional Inherited Members

- Class Methods inherited from NSObject
(id+ alloc
 
(Class+ class
 
(void) + initialize
 
(void) + load
 
(id+ new
 
- Class Methods inherited from <NSKeyValueBindingCreation>
(void) + exposeBinding:
 

Detailed Description

private object used to store menu info - allows efficient management of the menu to match the C/Mgrs contents.

Menu creation and management is moved to this class, but API in Cat Manager functions as previously.

Method Documentation

- (void) addCategory: (NSString *)  newCategory
- (void) addKey: (NSString *)  aKey
- (void) addRecentlyAddedOrUsedKey: (NSString *)  aKey
- (void) checkItemsForKey: (NSString *)  key
- (id) initWithCategoryManager: (DKCategoryManager *)  mgr
itemDelegate: (id delegate
itemTarget: (id target
itemAction: (SEL selector
options: (DKCategoryMenuOptions)  options 
- (id) initWithCategoryManager: (DKCategoryManager *)  mgr
itemDelegate: (id delegate
options: (DKCategoryMenuOptions)  options 
- (id) initWithCategoryManager: (DKCategoryManager *)  mgr
itemTarget: (id target
itemAction: (SEL selector
options: (DKCategoryMenuOptions)  options 
- (NSMenu*) menu
- (void) removeAll
- (void) removeCategory: (NSString *)  oldCategory
- (void) removeKey: (NSString *)  aKey
- (void) renameCategoryWithInfo: (NSDictionary *)  info
- (void) syncRecentlyUsedMenuForKey: (NSString *)  aKey
- (void) updateForKey: (NSString *)  key