Core Plot (macOS)
Cocoa plotting framework for macOS, iOS, and tvOS
<CPTResponder> Protocol Reference

The basis of all event processing in Core Plot. More...

#import <CPTResponder.h>

+ Inheritance diagram for <CPTResponder>:
+ Collaboration diagram for <CPTResponder>:

Public Instance Methods

User Interaction
(BOOL- pointingDeviceDownEvent:atPoint:
 (Required) Informs the receiver that the user has pressed the mouse button. More...
 
(BOOL- pointingDeviceUpEvent:atPoint:
 (Required) Informs the receiver that the user has released the mouse button. More...
 
(BOOL- pointingDeviceDraggedEvent:atPoint:
 (Required) Informs the receiver that the user has moved the mouse with the button pressed. More...
 
(BOOL- pointingDeviceCancelledEvent:
 (Required) Informs the receiver that tracking of mouse moves has been cancelled for any reason. More...
 
(BOOL- scrollWheelEvent:fromPoint:toPoint:
 (Required) Informs the receiver that the user has moved the scroll wheel. More...
 
- Public Instance Methods inherited from <NSObject>
(NSString *) - description
 
(NSUInteger- hash
 
(BOOL- isEqual:
 

Detailed Description

The basis of all event processing in Core Plot.

Method Documentation

◆ pointingDeviceCancelledEvent:

- (BOOL) pointingDeviceCancelledEvent: (nonnull CPTNativeEvent *)  event

(Required) Informs the receiver that tracking of mouse moves has been cancelled for any reason.

Parameters
eventThe OS event.
Returns
Whether the event was handled or not.

Reimplemented in CPTGraph, CPTPlotSpace, CPTAnnotationHostLayer, and CPTPlotAreaFrame.

◆ pointingDeviceDownEvent:atPoint:

- (BOOL) pointingDeviceDownEvent: (nonnull CPTNativeEvent *)  event
atPoint: (CGPoint interactionPoint 

(Required) Informs the receiver that the user has pressed the mouse button.

Parameters
eventThe OS event.
interactionPointThe coordinates of the interaction.
Returns
Whether the event was handled or not.

Reimplemented in CPTPieChart, CPTPlot, CPTTradingRangePlot, CPTRangePlot, CPTBarPlot, CPTScatterPlot, CPTGraph, CPTLegend, CPTPlotArea, CPTPlotSpace, CPTAnnotationHostLayer, CPTAxis, CPTAxisSet, CPTPlotAreaFrame, and CPTXYPlotSpace.

◆ pointingDeviceDraggedEvent:atPoint:

- (BOOL) pointingDeviceDraggedEvent: (nonnull CPTNativeEvent *)  event
atPoint: (CGPoint interactionPoint 

(Required) Informs the receiver that the user has moved the mouse with the button pressed.

Parameters
eventThe OS event.
interactionPointThe coordinates of the interaction.
Returns
Whether the event was handled or not.

Reimplemented in CPTGraph, CPTPlotSpace, CPTAnnotationHostLayer, CPTPlotAreaFrame, and CPTXYPlotSpace.

◆ pointingDeviceUpEvent:atPoint:

- (BOOL) pointingDeviceUpEvent: (nonnull CPTNativeEvent *)  event
atPoint: (CGPoint interactionPoint 

(Required) Informs the receiver that the user has released the mouse button.

Parameters
eventThe OS event.
interactionPointThe coordinates of the interaction.
Returns
Whether the event was handled or not.

Reimplemented in CPTPieChart, CPTPlot, CPTTradingRangePlot, CPTRangePlot, CPTBarPlot, CPTScatterPlot, CPTGraph, CPTLegend, CPTPlotArea, CPTPlotSpace, CPTAnnotationHostLayer, CPTAxis, CPTAxisSet, CPTPlotAreaFrame, and CPTXYPlotSpace.

◆ scrollWheelEvent:fromPoint:toPoint:

- (BOOL) scrollWheelEvent: (nonnull CPTNativeEvent *)  event
fromPoint: (CGPoint fromPoint
toPoint: (CGPoint toPoint 

(Required) Informs the receiver that the user has moved the scroll wheel.

Parameters
eventThe OS event.
fromPointThe starting coordinates of the interaction.
toPointThe ending coordinates of the interaction.
Returns
Whether the event was handled or not.

Reimplemented in CPTGraph, CPTPlotSpace, and CPTXYPlotSpace.


The documentation for this protocol was generated from the following file: