C# Class NPlot.Windows.PlotSurface2D.PlotContextMenu

Summary description for ContextMenu.
ファイルを表示 Open project: mono/nplot-gtk

Protected Properties

Property Type Description
plotSurface2D_ PlotSurface2D

Public Methods

Method Description
PlotContextMenu ( ) : System

Constructor creates

SetMenuItems ( ArrayList menuItems ) : void

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.

Private Methods

Method Description
mnuCopyDataToClipboard_Click ( object sender, System e ) : void
mnuCopyToClipboard_Click ( object sender, System e ) : void
mnuDisplayCoordinates_Click ( object sender, System e ) : void
mnuOriginalDimensions_Click ( object sender, System e ) : void
mnuPrintPreview_Click ( object sender, System e ) : void
mnuPrint_Click ( object sender, System e ) : void
rightMenu__Popup ( object sender, System e ) : void

Method Details

PlotContextMenu() public method

Constructor creates
public PlotContextMenu ( ) : System
return System

SetMenuItems() public method

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.
public SetMenuItems ( ArrayList menuItems ) : void
menuItems System.Collections.ArrayList
return void

Property Details

plotSurface2D_ protected_oe property

The PlotSurface2D associated with the context menu. Classes inherited from PlotContextMenu will likely use this to implement their functionality.
protected PlotSurface2D,NPlot.Windows plotSurface2D_
return PlotSurface2D