Public Member Functions | |
void | SetMenuItems (ArrayList menuItems) |
Sets the context menu according to the IPlotMenuItem's in the provided ArrayList. | |
PlotContextMenu () | |
Constructor creates. | |
Properties | |
ArrayList | MenuItems |
Gets an arraylist of all PlotMenuItems that comprise the menu. | |
Windows.PlotSurface2D | PlotSurface2D |
The PlotSurface2D associated with the context menu. | |
Windows.PlotSurface2D | plotSurface2D_ |
The PlotSurface2D associated with the context menu. | |
System.Windows.Forms.ContextMenu | Menu |
Gets the Windows.Forms context menu managed by this object. | |
Private Member Functions | |
void | mnuOriginalDimensions_Click (object sender, System.EventArgs e) |
void | mnuCopyToClipboard_Click (object sender, System.EventArgs e) |
void | mnuCopyDataToClipboard_Click (object sender, System.EventArgs e) |
void | mnuPrint_Click (object sender, System.EventArgs e) |
void | mnuPrintPreview_Click (object sender, System.EventArgs e) |
void | mnuDisplayCoordinates_Click (object sender, System.EventArgs e) |
void | rightMenu__Popup (object sender, System.EventArgs e) |
Private Attributes | |
System.Windows.Forms.ContextMenu | rightMenu_ = null |
ArrayList | menuItems_ = null |
Classes | |
interface | IPlotMenuItem |
elements of the MenuItems array list must implement this interface. More... | |
class | PlotMenuItem |
A Plot menu item suitable for specifying basic menu items. More... | |
class | PlotMenuSeparator |
A plot menu item for separators. More... | |
class | PlotShowCoordinatesMenuItem |
A Plot Menu Item that provides necessary functionality for the show coordinates menu item (tick mark toggle in addition to basic functionality). More... | |
class | PlotZoomBackMenuItem |
A Plot Menu Item that provides necessary functionality for the zoom back menu item (graying out if zoomed right out in addition to basic functionality). More... |
Definition at line 2252 of file Windows.PlotSurface2D.cs.
|
Constructor creates.
Definition at line 2539 of file Windows.PlotSurface2D.cs. |
|
Definition at line 2566 of file Windows.PlotSurface2D.cs. |
|
Definition at line 2561 of file Windows.PlotSurface2D.cs. |
|
Definition at line 2581 of file Windows.PlotSurface2D.cs. |
|
Definition at line 2556 of file Windows.PlotSurface2D.cs. |
|
Definition at line 2571 of file Windows.PlotSurface2D.cs. |
|
Definition at line 2576 of file Windows.PlotSurface2D.cs. |
|
Definition at line 2586 of file Windows.PlotSurface2D.cs. |
|
Sets the context menu according to the IPlotMenuItem's in the provided ArrayList. The current menu items can be obtained using the MenuItems property and extended if desired.
Definition at line 2521 of file Windows.PlotSurface2D.cs. |
|
Definition at line 2480 of file Windows.PlotSurface2D.cs. |
|
Definition at line 2479 of file Windows.PlotSurface2D.cs. |
|
Gets the Windows.Forms context menu managed by this object.
Definition at line 2598 of file Windows.PlotSurface2D.cs. |
|
Gets an arraylist of all PlotMenuItems that comprise the menu. If this list is changed, this class must be told to update using the Update method. Definition at line 2489 of file Windows.PlotSurface2D.cs. |
|
The PlotSurface2D associated with the context menu. Generally, the user should not set this. It is used internally by PlotSurface2D. Definition at line 2501 of file Windows.PlotSurface2D.cs. |
|
The PlotSurface2D associated with the context menu. Classes inherited from PlotContextMenu will likely use this to implement their functionality. Definition at line 2512 of file Windows.PlotSurface2D.cs. Referenced by NPlot::Windows::PlotSurface2D::PlotContextMenu::PlotShowCoordinatesMenuItem::OnPopup(), and NPlot::Windows::PlotSurface2D::PlotContextMenu::PlotZoomBackMenuItem::OnPopup(). |