C# Class Microsoft.R.Components.Plots.Implementation.RPlotDeviceVisualComponent

Inheritance: IRPlotDeviceVisualComponent
Show file Open project: Microsoft/RTVS

Public Methods

Method Description
Assign ( IRPlotDevice device ) : void
ClickPlot ( int x, int y ) : void
Dispose ( ) : void
EndLocatorMode ( ) : void
GetDeviceProperties ( ) : PlotDeviceProperties
RPlotDeviceVisualComponent ( IRPlotManager plotManager, ICommandTarget controller, int instanceId, IVisualComponentContainer container, ICoreShell coreShell ) : System
ResizePlotAsync ( int pixelWidth, int pixelHeight, int resolution ) : Task
StartLocatorModeAsync ( CancellationToken ct ) : Task
Unassign ( ) : void

Private Methods

Method Description
Control_ContextMenuRequested ( object sender, PointEventArgs e ) : void
PlotManager_ActiveDeviceChanged ( object sender, EventArgs e ) : void
UpdateCaption ( ) : void
UpdateStatus ( ) : void
ViewModel_DeviceNameChanged ( object sender, EventArgs e ) : void
ViewModel_LocatorModeChanged ( object sender, EventArgs e ) : void
ViewModel_PlotChanged ( object sender, EventArgs e ) : void

Method Details

Assign() public method

public Assign ( IRPlotDevice device ) : void
device IRPlotDevice
return void

ClickPlot() public method

public ClickPlot ( int x, int y ) : void
x int
y int
return void

Dispose() public method

public Dispose ( ) : void
return void

EndLocatorMode() public method

public EndLocatorMode ( ) : void
return void

GetDeviceProperties() public method

public GetDeviceProperties ( ) : PlotDeviceProperties
return Microsoft.R.Host.Client.PlotDeviceProperties

RPlotDeviceVisualComponent() public method

public RPlotDeviceVisualComponent ( IRPlotManager plotManager, ICommandTarget controller, int instanceId, IVisualComponentContainer container, ICoreShell coreShell ) : System
plotManager IRPlotManager
controller ICommandTarget
instanceId int
container IVisualComponentContainer
coreShell ICoreShell
return System

ResizePlotAsync() public method

public ResizePlotAsync ( int pixelWidth, int pixelHeight, int resolution ) : Task
pixelWidth int
pixelHeight int
resolution int
return Task

StartLocatorModeAsync() public method

public StartLocatorModeAsync ( CancellationToken ct ) : Task
ct System.Threading.CancellationToken
return Task

Unassign() public method

public Unassign ( ) : void
return void