|
DrawKit
Vector and illustration framework for Mac OS X
|
Implements a one-shot timer that can be repeatedly extended (retriggered) preventing it timing out. More...

Instance Methods | |
| (SEL) | - action |
| (id) | - initWithPeriod: |
| (NSTimeInterval) | - period |
| (void) | - retrigger |
| (void) | - setAction: |
| (void) | - setTarget: |
| (id) | - target |
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: |
Class Methods | |
| (DKRetriggerableTimer *) | + retriggerableTimerWithPeriod:target:selector: |
Class Methods inherited from NSObject | |
| (id) | + alloc |
| (Class) | + class |
| (void) | + initialize |
| (void) | + load |
| (id) | + new |
Class Methods inherited from <NSKeyValueBindingCreation> | |
| (void) | + exposeBinding: |
Implements a one-shot timer that can be repeatedly extended (retriggered) preventing it timing out.
Implements a one-shot timer that can be repeatedly extended (retriggered) preventing it timing out. When it does time out, it calls the target/action. It can be retriggered to start a new cycle after timing out.
This is analogous to a retriggerable monostable in electronics - useful for detecting when a series of rapid events ceases if there is no other way to detect them. Each event calls -retrigger, extending the timeout until no more retriggers + the period elapses.
| - (SEL) action |
| - (id) initWithPeriod: | (NSTimeInterval) | period |
| - (NSTimeInterval) period |
| - (void) retrigger |
| + (DKRetriggerableTimer*) retriggerableTimerWithPeriod: | (NSTimeInterval) | period | |
| target: | (id) | target | |
| selector: | (SEL) | action | |
| - (void) setAction: | (SEL) | action |
| - (void) setTarget: | (id) | target |
| - (id) target |
1.8.9.1