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
Afficher le fichier Open project: ME3Explorer/ME3Explorer Class Usage Examples

Méthodes publiques

Свойство Type Description
backLayer UMD.HCIL.Piccolo.PLayer
edgeLayer UMD.HCIL.Piccolo.PLayer
nodeLayer UMD.HCIL.Piccolo.PLayer

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnPaint ( PaintEventArgs pe ) : void

Method Details

DialogVis() public méthode

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

DialogVis() public méthode

public DialogVis ( int width, int height ) : System
width int
height int
Résultat System

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

InitializeComponent() public méthode

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

OnPaint() protected méthode

protected OnPaint ( PaintEventArgs pe ) : void
pe PaintEventArgs
Résultat void

ScaleViewTo() public méthode

public ScaleViewTo ( float scale ) : void
scale float
Résultat void

UpdateEdge() public static méthode

public static UpdateEdge ( UMD.HCIL.Piccolo.Nodes.PPath edge ) : void
edge UMD.HCIL.Piccolo.Nodes.PPath
Résultat void

addBack() public méthode

public addBack ( PNode p ) : void
p UMD.HCIL.Piccolo.PNode
Résultat void

addEdge() public méthode

public addEdge ( UMD.HCIL.Piccolo.Nodes.PPath p ) : void
p UMD.HCIL.Piccolo.Nodes.PPath
Résultat void

addNode() public méthode

public addNode ( PNode p ) : void
p UMD.HCIL.Piccolo.PNode
Résultat void

Property Details

backLayer public_oe property

public PLayer,UMD.HCIL.Piccolo backLayer
Résultat UMD.HCIL.Piccolo.PLayer

edgeLayer public_oe property

public PLayer,UMD.HCIL.Piccolo edgeLayer
Résultat UMD.HCIL.Piccolo.PLayer

nodeLayer public_oe property

public PLayer,UMD.HCIL.Piccolo nodeLayer
Résultat UMD.HCIL.Piccolo.PLayer