NPlot::Windows::PlotSurface2D::PlotContextMenu Class Reference

Summary description for ContextMenu. More...

List of all members.

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...


Detailed Description

Summary description for ContextMenu.

Definition at line 2252 of file Windows.PlotSurface2D.cs.


Constructor & Destructor Documentation

NPlot::Windows::PlotSurface2D::PlotContextMenu::PlotContextMenu  )  [inline]
 

Constructor creates.

Definition at line 2539 of file Windows.PlotSurface2D.cs.


Member Function Documentation

void NPlot::Windows::PlotSurface2D::PlotContextMenu::mnuCopyDataToClipboard_Click object  sender,
System.EventArgs  e
[inline, private]
 

Definition at line 2566 of file Windows.PlotSurface2D.cs.

void NPlot::Windows::PlotSurface2D::PlotContextMenu::mnuCopyToClipboard_Click object  sender,
System.EventArgs  e
[inline, private]
 

Definition at line 2561 of file Windows.PlotSurface2D.cs.

void NPlot::Windows::PlotSurface2D::PlotContextMenu::mnuDisplayCoordinates_Click object  sender,
System.EventArgs  e
[inline, private]
 

Definition at line 2581 of file Windows.PlotSurface2D.cs.

void NPlot::Windows::PlotSurface2D::PlotContextMenu::mnuOriginalDimensions_Click object  sender,
System.EventArgs  e
[inline, private]
 

Definition at line 2556 of file Windows.PlotSurface2D.cs.

void NPlot::Windows::PlotSurface2D::PlotContextMenu::mnuPrint_Click object  sender,
System.EventArgs  e
[inline, private]
 

Definition at line 2571 of file Windows.PlotSurface2D.cs.

void NPlot::Windows::PlotSurface2D::PlotContextMenu::mnuPrintPreview_Click object  sender,
System.EventArgs  e
[inline, private]
 

Definition at line 2576 of file Windows.PlotSurface2D.cs.

void NPlot::Windows::PlotSurface2D::PlotContextMenu::rightMenu__Popup object  sender,
System.EventArgs  e
[inline, private]
 

Definition at line 2586 of file Windows.PlotSurface2D.cs.

void NPlot::Windows::PlotSurface2D::PlotContextMenu::SetMenuItems ArrayList  menuItems  )  [inline]
 

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.

Parameters:
menuItems 

Definition at line 2521 of file Windows.PlotSurface2D.cs.


Member Data Documentation

ArrayList NPlot::Windows::PlotSurface2D::PlotContextMenu::menuItems_ = null [private]
 

Definition at line 2480 of file Windows.PlotSurface2D.cs.

System.Windows.Forms.ContextMenu NPlot::Windows::PlotSurface2D::PlotContextMenu::rightMenu_ = null [private]
 

Definition at line 2479 of file Windows.PlotSurface2D.cs.


Property Documentation

System.Windows.Forms.ContextMenu NPlot::Windows::PlotSurface2D::PlotContextMenu::Menu [get]
 

Gets the Windows.Forms context menu managed by this object.

Definition at line 2598 of file Windows.PlotSurface2D.cs.

ArrayList NPlot::Windows::PlotSurface2D::PlotContextMenu::MenuItems [get]
 

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.

Windows.PlotSurface2D NPlot::Windows::PlotSurface2D::PlotContextMenu::PlotSurface2D [set]
 

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.

Windows.PlotSurface2D NPlot::Windows::PlotSurface2D::PlotContextMenu::plotSurface2D_ [protected]
 

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().


The documentation for this class was generated from the following file:
Generated on Sat Nov 5 01:04:09 2005 for NPlot by  doxygen 1.4.5