C# 클래스 NClass.DiagramEditor.Diagrams.Connections.Connection

상속: DiagramElement
파일 보기 프로젝트 열기: gbaychev/NClass 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
TextMargin Size

Private Properties

프로퍼티 타입 설명
AddEndSegment void
AddInnerSegment FlowDirection
AddStartSegment FlowDirection
AutoRoute void
BendPointDoubleClicked bool
BendPointPressed bool
ClearBendPoints void
Deserialize void
DoubleClicked void
DrawCaps void
DrawLabel void
DrawLine void
EndShapeResizing void
GetBendPoint NClass.DiagramEditor.ClassDiagram.Connections.BendPoint
GetEndCapArea System.Drawing.RectangleF
GetLabelArea System.Drawing.RectangleF
GetLineCenter System.Drawing.PointF
GetNextNextPoint Point
GetRouteArea System.Drawing.Rectangle
GetStartCapArea System.Drawing.RectangleF
MouseMoved void
MousePressed void
MouseUpped void
Picked bool
Picked bool
RecalculateOrientations void
RelocateAutoBendPoints void
RerouteFromBendPoints void
Serialize void
ShapeMoving void
ShowPropertiesDialog void
StartShapeResizing void

공개 메소드들

메소드 설명
Draw ( IGraphics g, bool onScreen, Style style ) : void
InitOrientations ( ) : void
ToString ( ) : string
ValidatePosition ( int padding ) : void

보호된 메소드들

메소드 설명
CalculateDrawingArea ( Style style, bool printing, float zoom ) : RectangleF
CloneRelationship ( IDiagram diagram, Shape first, Shape second ) : bool
Connection ( Relationship relationship, Shape startShape, Shape endShape ) : System
DrawEndCap ( IGraphics g, bool onScreen, Style style ) : void
DrawSelectionLines ( Graphics g, float zoom, Point offset ) : void
DrawStartCap ( IGraphics g, bool onScreen, Style style ) : void
GetAngle ( Point point1, Point point2 ) : float
GetContextMenuItems ( IDiagram diagram ) : IEnumerable
GetLogicalArea ( ) : Rectangle
GetMaximalOffset ( Size offset, int padding ) : Size
Offset ( Size offset ) : void
OnBendPointMove ( BendPointEventArgs e ) : void
OnDeserializing ( SerializeEventArgs e ) : void
OnMouseDown ( AbsoluteMouseEventArgs e ) : void
OnMouseMove ( AbsoluteMouseEventArgs e ) : void
OnMouseUp ( AbsoluteMouseEventArgs e ) : void
OnRouteChanged ( EventArgs e ) : void
OnSerializing ( SerializeEventArgs e ) : void
Paste ( IDiagram diagram, Size offset, Shape first, Shape second ) : Connection
Reroute ( ) : void
Reverse ( ) : void
TrySelect ( RectangleF frame ) : bool

비공개 메소드들

메소드 설명
AddEndSegment ( ) : void
AddInnerSegment ( LinkedListNode current, FlowDirection direction ) : FlowDirection
AddStartSegment ( ) : FlowDirection
AutoRoute ( ) : void
BendPointDoubleClicked ( AbsoluteMouseEventArgs e ) : bool
BendPointPressed ( AbsoluteMouseEventArgs e ) : bool
ClearBendPoints ( ) : void
Deserialize ( XmlElement node ) : void
DoubleClicked ( AbsoluteMouseEventArgs e ) : void
DrawCaps ( IGraphics g, bool onScreen, Style style ) : void
DrawLabel ( IGraphics g, bool onScreen, Style style ) : void
DrawLine ( IGraphics g, bool onScreen, Style style ) : void
EndShapeResizing ( object sender, ResizeEventArgs e ) : void
GetBendPoint ( AbsoluteMouseEventArgs e ) : BendPoint
GetEndCapArea ( ) : RectangleF
GetLabelArea ( Style style ) : RectangleF
GetLineCenter ( bool &horizontal ) : PointF
GetNextNextPoint ( LinkedListNode current ) : Point
GetRouteArea ( ) : Rectangle
GetStartCapArea ( ) : RectangleF
MouseMoved ( AbsoluteMouseEventArgs e ) : void
MousePressed ( AbsoluteMouseEventArgs e ) : void
MouseUpped ( AbsoluteMouseEventArgs e ) : void
Picked ( PointF mouseLocation, float zoom ) : bool
Picked ( RectangleF rectangle ) : bool
RecalculateOrientations ( ) : void
RelocateAutoBendPoints ( ) : void
RerouteFromBendPoints ( ) : void
Serialize ( XmlElement node ) : void
ShapeMoving ( object sender, MoveEventArgs e ) : void
ShowPropertiesDialog ( ) : void
StartShapeResizing ( object sender, ResizeEventArgs e ) : void

메소드 상세

CalculateDrawingArea() 보호된 메소드

protected CalculateDrawingArea ( Style style, bool printing, float zoom ) : RectangleF
style Style
printing bool
zoom float
리턴 System.Drawing.RectangleF

CloneRelationship() 보호된 추상적인 메소드

protected abstract CloneRelationship ( IDiagram diagram, Shape first, Shape second ) : bool
diagram IDiagram
first NClass.DiagramEditor.Diagrams.Shapes.Shape
second NClass.DiagramEditor.Diagrams.Shapes.Shape
리턴 bool

Connection() 보호된 메소드

/// is null.-or- /// is null.-or- /// is null. ///
protected Connection ( Relationship relationship, Shape startShape, Shape endShape ) : System
relationship NClass.Core.Relationship
startShape NClass.DiagramEditor.Diagrams.Shapes.Shape
endShape NClass.DiagramEditor.Diagrams.Shapes.Shape
리턴 System

Draw() 공개 메소드

public Draw ( IGraphics g, bool onScreen, Style style ) : void
g IGraphics
onScreen bool
style Style
리턴 void

DrawEndCap() 보호된 메소드

protected DrawEndCap ( IGraphics g, bool onScreen, Style style ) : void
g IGraphics
onScreen bool
style Style
리턴 void

DrawSelectionLines() 보호된 메소드

protected DrawSelectionLines ( Graphics g, float zoom, Point offset ) : void
g System.Drawing.Graphics
zoom float
offset Point
리턴 void

DrawStartCap() 보호된 메소드

protected DrawStartCap ( IGraphics g, bool onScreen, Style style ) : void
g IGraphics
onScreen bool
style Style
리턴 void

GetAngle() 보호된 메소드

protected GetAngle ( Point point1, Point point2 ) : float
point1 Point
point2 Point
리턴 float

GetContextMenuItems() 보호된 메소드

protected GetContextMenuItems ( IDiagram diagram ) : IEnumerable
diagram IDiagram
리턴 IEnumerable

GetLogicalArea() 보호된 최종 메소드

protected final GetLogicalArea ( ) : Rectangle
리턴 System.Drawing.Rectangle

GetMaximalOffset() 보호된 메소드

protected GetMaximalOffset ( Size offset, int padding ) : Size
offset System.Drawing.Size
padding int
리턴 System.Drawing.Size

InitOrientations() 공개 메소드

public InitOrientations ( ) : void
리턴 void

Offset() 보호된 최종 메소드

protected final Offset ( Size offset ) : void
offset System.Drawing.Size
리턴 void

OnBendPointMove() 보호된 메소드

protected OnBendPointMove ( BendPointEventArgs e ) : void
e BendPointEventArgs
리턴 void

OnDeserializing() 보호된 메소드

protected OnDeserializing ( SerializeEventArgs e ) : void
e SerializeEventArgs
리턴 void

OnMouseDown() 보호된 메소드

protected OnMouseDown ( AbsoluteMouseEventArgs e ) : void
e AbsoluteMouseEventArgs
리턴 void

OnMouseMove() 보호된 메소드

protected OnMouseMove ( AbsoluteMouseEventArgs e ) : void
e AbsoluteMouseEventArgs
리턴 void

OnMouseUp() 보호된 메소드

protected OnMouseUp ( AbsoluteMouseEventArgs e ) : void
e AbsoluteMouseEventArgs
리턴 void

OnRouteChanged() 보호된 메소드

protected OnRouteChanged ( EventArgs e ) : void
e EventArgs
리턴 void

OnSerializing() 보호된 메소드

protected OnSerializing ( SerializeEventArgs e ) : void
e SerializeEventArgs
리턴 void

Paste() 보호된 메소드

protected Paste ( IDiagram diagram, Size offset, Shape first, Shape second ) : Connection
diagram IDiagram
offset Size
first Shape
second Shape
리턴 Connection

Reroute() 보호된 메소드

protected Reroute ( ) : void
리턴 void

Reverse() 보호된 메소드

protected Reverse ( ) : void
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

TrySelect() 보호된 최종 메소드

protected final TrySelect ( RectangleF frame ) : bool
frame RectangleF
리턴 bool

ValidatePosition() 공개 메소드

public ValidatePosition ( int padding ) : void
padding int
리턴 void

프로퍼티 상세

TextMargin 보호되어 있는 정적으로 프로퍼티

protected static Size TextMargin
리턴 Size