C# 클래스 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.
상속: UMD.HCIL.Piccolo.PCanvas
파일 보기 프로젝트 열기: ME3Explorer/ME3Explorer 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
backLayer UMD.HCIL.Piccolo.PLayer
edgeLayer UMD.HCIL.Piccolo.PLayer
nodeLayer UMD.HCIL.Piccolo.PLayer
updating bool

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnPaint ( PaintEventArgs e ) : void

메소드 상세

Dispose() 보호된 메소드

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

GraphEditor() 공개 메소드

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

GraphEditor() 공개 메소드

public GraphEditor ( int width, int height ) : System
width int
height int
리턴 System

InitializeComponent() 공개 메소드

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

OnPaint() 보호된 메소드

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
리턴 void

ScaleViewTo() 공개 메소드

public ScaleViewTo ( float scale ) : void
scale float
리턴 void

UpdateEdge() 공개 정적인 메소드

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

addBack() 공개 메소드

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

addEdge() 공개 메소드

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

addNode() 공개 메소드

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

프로퍼티 상세

backLayer 공개적으로 프로퍼티

public PLayer,UMD.HCIL.Piccolo backLayer
리턴 UMD.HCIL.Piccolo.PLayer

edgeLayer 공개적으로 프로퍼티

public PLayer,UMD.HCIL.Piccolo edgeLayer
리턴 UMD.HCIL.Piccolo.PLayer

nodeLayer 공개적으로 프로퍼티

public PLayer,UMD.HCIL.Piccolo nodeLayer
리턴 UMD.HCIL.Piccolo.PLayer

updating 공개적으로 프로퍼티

public bool updating
리턴 bool