Logo Search packages:      
Sourcecode: viewpdf.app version File versions  Download package

- (void) setTarget: (id)  aTarget  

A DocumentTools view will send all actions of it's embeded controls to a target object.

Definition at line 46 of file DocumentTools.m.

Referenced by initWithFrame:target:.

                  : (id)aTarget
{
   target = aTarget;
   
   [firstBT setAction: @selector(firstPage:)];
   [firstBT setTarget: target];
   [previousBT setAction: @selector(previousPage:)];
   [previousBT setTarget: target];
   [nextBT setAction: @selector(nextPage:)];
   [nextBT setTarget: target];
   [lastBT setAction: @selector(lastPage:)];
   [lastBT setTarget: target];

   [pageTF setAction: @selector(takePageFrom:)];
   [pageTF setTarget: target];
   
   [zoomTF setAction: @selector(takeZoomFrom:)];
   [zoomTF setTarget: target];
   [zoomInBT setAction: @selector(zoomIn:)];
   [zoomInBT setTarget: target];
   [zoomOutBT setAction: @selector(zoomOut:)];
   [zoomOutBT setTarget: target];
   
   [fitWidthBT setAction: @selector(toggleFitWidth:)];
   [fitWidthBT setTarget: target];
   [fitHeightBT setAction: @selector(toggleFitHeight:)];
   [fitHeightBT setTarget: target];
   [fitPageBT setAction: @selector(toggleFitPage:)];
   [fitPageBT setTarget: target];
}


Generated by  Doxygen 1.6.0   Back to index