C# Class UMD.HCIL.GraphEditor.GraphEditor

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
updating bool

Méthodes publiques

Méthode Description
GraphEditor ( ) : System

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

GraphEditor ( 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 e ) : void

Method Details

Dispose() protected méthode

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

GraphEditor() public méthode

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

GraphEditor() public méthode

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

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 e ) : void
e 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

updating public_oe property

public bool updating
Résultat bool