Home | Trees | Index | Help |
|
---|
Module wxmpl :: Class PlotPanelDirector |
|
DestructableViewMixin
--+
|
PlotPanelDirector
PlotPanel
, following the Humble Dialog Box pattern proposed
by Michael Feathers: http://www.objectmentor.com/resources/articles/TheHumbleDialogBox.pdf
Method Summary | |
---|---|
Create a new director for the PlotPanel
view . | |
Handles wxPython mouse motion events that occur over an axes. | |
Returns a boolean indicating whether or not the plot may be redrawn. | |
Handles wxPython mouse motion events that occur over the canvas. | |
Handles wxPython key-press events. | |
Handles wxPython key-release events. | |
Handles wxPython left-click events. | |
Handles wxPython left-click-release events. | |
Handles wxPython mouse motion events, dispatching them based on whether or not a selection is in process and what the cursor is over. | |
Handles wxPython mouse motion events that occur over a polar axes. | |
Handles wxPython right-click events. | |
Handles wxPython right-click-release events. | |
Handles wxPython mouse motion events that occur during a left-click area selection. | |
Enable or disable unzooming as a result of right-clicking. | |
Enable or disable left-click area selection. | |
Enable or disable zooming as a result of left-click area selection. | |
Returns a boolean indicating whether or not the plot has been zoomed in as a result of a left-click area selection. | |
Inherited from DestructableViewMixin | |
Sets this object's view attribute to
None . |
Method Details |
---|
__init__(self,
view,
zoom=True,
selection=True,
rightClickUnzoom=True)
Create a new director for the |
axesMouseMotion(self, evt, x, y, axes, xdata, ydata)Handles wxPython mouse motion events that occur over an axes. |
canDraw(self)Returns a boolean indicating whether or not the plot may be redrawn. |
canvasMouseMotion(self, evt, x, y)Handles wxPython mouse motion events that occur over the canvas. |
keyDown(self, evt)Handles wxPython key-press events. These events are currently skipped. |
keyUp(self, evt)Handles wxPython key-release events. These events are currently skipped. |
leftButtonDown(self, evt, x, y)Handles wxPython left-click events. |
leftButtonUp(self, evt, x, y)Handles wxPython left-click-release events. |
mouseMotion(self, evt, x, y)Handles wxPython mouse motion events, dispatching them based on whether or not a selection is in process and what the cursor is over. |
polarAxesMouseMotion(self, evt, x, y, axes, xdata, ydata)Handles wxPython mouse motion events that occur over a polar axes. |
rightButtonDown(self, evt, x, y)Handles wxPython right-click events. These events are currently skipped. |
rightButtonUp(self, evt, x, y)Handles wxPython right-click-release events. |
selectionMouseMotion(self, evt, x, y, axes, xdata, ydata)Handles wxPython mouse motion events that occur during a left-click area selection. |
setRightClickUnzoom(self, state)Enable or disable unzooming as a result of right-clicking. |
setSelection(self, state)Enable or disable left-click area selection. |
setZoomEnabled(self, state)Enable or disable zooming as a result of left-click area selection. |
zoomed(self, axes)Returns a boolean indicating whether or not the plot has been zoomed in as a result of a left-click area selection. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Aug 28 13:47:49 2006 | http://epydoc.sf.net |