C# Class MonoHotDraw.Samples.NewConnectionHandle

Inheritance: MonoHotDraw.Handles.LocatorHandle
显示文件 Open project: mono/monohotdraw

Public Methods

Method Description
Draw ( Context context ) : void
InvokeEnd ( double x, double y, IDrawingView view ) : void
InvokeStart ( double x, double y, IDrawingView view ) : void
InvokeStep ( double x, double y, IDrawingView view ) : void
NewConnectionHandle ( IFigure owner, ILocator locator ) : System

Protected Methods

Method Description
CreateConnection ( ) : IConnectionFigure
CreateEndFigure ( ) : IFigure

Method Details

CreateConnection() protected abstract method

protected abstract CreateConnection ( ) : IConnectionFigure
return IConnectionFigure

CreateEndFigure() protected abstract method

protected abstract CreateEndFigure ( ) : IFigure
return IFigure

Draw() public method

public Draw ( Context context ) : void
context Context
return void

InvokeEnd() public method

public InvokeEnd ( double x, double y, IDrawingView view ) : void
x double
y double
view IDrawingView
return void

InvokeStart() public method

public InvokeStart ( double x, double y, IDrawingView view ) : void
x double
y double
view IDrawingView
return void

InvokeStep() public method

public InvokeStep ( double x, double y, IDrawingView view ) : void
x double
y double
view IDrawingView
return void

NewConnectionHandle() public method

public NewConnectionHandle ( IFigure owner, ILocator locator ) : System
owner IFigure
locator ILocator
return System