C# Class ME3Explorer.DialogEditor.DialogVis

Creates a simple graph control with some random nodes and connected edges. An event handler allows users to drag nodes around, keeping the edges connected.
Inheritance: UMD.HCIL.Piccolo.PCanvas
显示文件 Open project: ME3Explorer/ME3Explorer Class Usage Examples

Public Properties

Property Type Description
backLayer UMD.HCIL.Piccolo.PLayer
edgeLayer UMD.HCIL.Piccolo.PLayer
nodeLayer UMD.HCIL.Piccolo.PLayer

Public Methods

Method Description
DialogVis ( ) : System

Empty Constructor is necessary so that this control can be used as an applet.

DialogVis ( int width, int height ) : System
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

ScaleViewTo ( float scale ) : void
UpdateEdge ( UMD.HCIL.Piccolo.Nodes.PPath edge ) : void
addBack ( PNode p ) : void
addEdge ( UMD.HCIL.Piccolo.Nodes.PPath p ) : void
addNode ( PNode p ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnPaint ( PaintEventArgs pe ) : void

Method Details

DialogVis() public method

Empty Constructor is necessary so that this control can be used as an applet.
public DialogVis ( ) : System
return System

DialogVis() public method

public DialogVis ( int width, int height ) : System
width int
height int
return System

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
return void

InitializeComponent() public method

Required method for Designer support - do not modify the contents of this method with the code editor.
public InitializeComponent ( ) : void
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs pe ) : void
pe PaintEventArgs
return void

ScaleViewTo() public method

public ScaleViewTo ( float scale ) : void
scale float
return void

UpdateEdge() public static method

public static UpdateEdge ( UMD.HCIL.Piccolo.Nodes.PPath edge ) : void
edge UMD.HCIL.Piccolo.Nodes.PPath
return void

addBack() public method

public addBack ( PNode p ) : void
p UMD.HCIL.Piccolo.PNode
return void

addEdge() public method

public addEdge ( UMD.HCIL.Piccolo.Nodes.PPath p ) : void
p UMD.HCIL.Piccolo.Nodes.PPath
return void

addNode() public method

public addNode ( PNode p ) : void
p UMD.HCIL.Piccolo.PNode
return void

Property Details

backLayer public_oe property

public PLayer,UMD.HCIL.Piccolo backLayer
return UMD.HCIL.Piccolo.PLayer

edgeLayer public_oe property

public PLayer,UMD.HCIL.Piccolo edgeLayer
return UMD.HCIL.Piccolo.PLayer

nodeLayer public_oe property

public PLayer,UMD.HCIL.Piccolo nodeLayer
return UMD.HCIL.Piccolo.PLayer