![]() |
Core Plot (macOS)
Cocoa plotting framework for macOS, iOS, and tvOS
|
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: |
The basis of all event processing in Core Plot.
| - (BOOL) pointingDeviceCancelledEvent: | (nonnull CPTNativeEvent *) | event |
(Required) Informs the receiver that tracking of mouse moves has been cancelled for any reason.
| event | The OS event. |
Reimplemented in CPTGraph, CPTPlotSpace, CPTAnnotationHostLayer, and CPTPlotAreaFrame.
| - (BOOL) pointingDeviceDownEvent: | (nonnull CPTNativeEvent *) | event | |
| atPoint: | (CGPoint) | interactionPoint | |
(Required) Informs the receiver that the user has pressed the mouse button.
| event | The OS event. |
| interactionPoint | The coordinates of the interaction. |
Reimplemented in CPTPieChart, CPTPlot, CPTTradingRangePlot, CPTRangePlot, CPTBarPlot, CPTScatterPlot, CPTGraph, CPTLegend, CPTPlotArea, CPTPlotSpace, CPTAnnotationHostLayer, CPTAxis, CPTAxisSet, CPTPlotAreaFrame, and CPTXYPlotSpace.
| - (BOOL) pointingDeviceDraggedEvent: | (nonnull CPTNativeEvent *) | event | |
| atPoint: | (CGPoint) | interactionPoint | |
(Required) Informs the receiver that the user has moved the mouse with the button pressed.
| event | The OS event. |
| interactionPoint | The coordinates of the interaction. |
Reimplemented in CPTGraph, CPTPlotSpace, CPTAnnotationHostLayer, CPTPlotAreaFrame, and CPTXYPlotSpace.
| - (BOOL) pointingDeviceUpEvent: | (nonnull CPTNativeEvent *) | event | |
| atPoint: | (CGPoint) | interactionPoint | |
(Required) Informs the receiver that the user has released the mouse button.
| event | The OS event. |
| interactionPoint | The coordinates of the interaction. |
Reimplemented in CPTPieChart, CPTPlot, CPTTradingRangePlot, CPTRangePlot, CPTBarPlot, CPTScatterPlot, CPTGraph, CPTLegend, CPTPlotArea, CPTPlotSpace, CPTAnnotationHostLayer, CPTAxis, CPTAxisSet, CPTPlotAreaFrame, and CPTXYPlotSpace.
| - (BOOL) scrollWheelEvent: | (nonnull CPTNativeEvent *) | event | |
| fromPoint: | (CGPoint) | fromPoint | |
| toPoint: | (CGPoint) | toPoint | |
(Required) Informs the receiver that the user has moved the scroll wheel.
| event | The OS event. |
| fromPoint | The starting coordinates of the interaction. |
| toPoint | The ending coordinates of the interaction. |
Reimplemented in CPTGraph, CPTPlotSpace, and CPTXYPlotSpace.