C# Class NClass.DiagramEditor.ClassDiagram.Connections.Association

Inheritance: NClass.DiagramEditor.Diagrams.Connections.Connection
ファイルを表示 Open project: gbaychev/NClass

Private Properties

Property Type Description
Association System
DrawEndMultiplicity void
DrawEndRole void
DrawMultiplicity void
DrawRole void
DrawStartMultiplicity void
DrawStartRole void
GetEndMultiplicityArea System.Drawing.RectangleF
GetEndRoleArea System.Drawing.RectangleF
GetRoleArea System.Drawing.RectangleF
GetStartMultiplicityArea System.Drawing.RectangleF
GetStartRoleArea System.Drawing.RectangleF
MultiplicityArea System.Drawing.RectangleF
association_Reversed void

Public Methods

Method Description
Association ( AssociationRelationship association, Shape startShape, Shape endShape ) : System
Draw ( IGraphics g, bool onScreen, Style style ) : void
ShowEditDialog ( ) : void

Protected Methods

Method Description
CalculateDrawingArea ( Style style, bool printing, float zoom ) : RectangleF
CloneRelationship ( IDiagram diagram, Shape first, Shape second ) : bool
DrawEndCap ( IGraphics g, bool onScreen, Style style ) : void
DrawStartCap ( IGraphics g, bool onScreen, Style style ) : void
GetContextMenuItems ( IDiagram diagram ) : IEnumerable
OnDoubleClick ( AbsoluteMouseEventArgs e ) : void
ShowEditor ( ) : void

Private Methods

Method Description
Association ( ) : System
DrawEndMultiplicity ( IGraphics g, Style style ) : void
DrawEndRole ( IGraphics g, Style style ) : void
DrawMultiplicity ( IGraphics g, Style style, string text, Point firstPoint, Point secondPoint, Size capSize ) : void
DrawRole ( IGraphics g, Style style, string text, Point firstPoint, Point secondPoint, Size capSize ) : void
DrawStartMultiplicity ( IGraphics g, Style style ) : void
DrawStartRole ( IGraphics g, Style style ) : void
GetEndMultiplicityArea ( Style style ) : RectangleF
GetEndRoleArea ( Style style ) : RectangleF
GetRoleArea ( Style style, string text, Point firstPoint, Point secondPoint, Size capSize ) : RectangleF
GetStartMultiplicityArea ( Style style ) : RectangleF
GetStartRoleArea ( Style style ) : RectangleF
MultiplicityArea ( Style style, string text, Point firstPoint, Point secondPoint, Size capSize ) : RectangleF
association_Reversed ( object sender, EventArgs e ) : void

Method Details

Association() public method

/// is null.-or- /// is null.-or- /// is null. ///
public Association ( AssociationRelationship association, Shape startShape, Shape endShape ) : System
association NClass.Core.AssociationRelationship
startShape NClass.DiagramEditor.Diagrams.Shapes.Shape
endShape NClass.DiagramEditor.Diagrams.Shapes.Shape
return System

CalculateDrawingArea() protected method

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

CloneRelationship() protected method

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

Draw() public method

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

DrawEndCap() protected method

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

DrawStartCap() protected method

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

GetContextMenuItems() protected method

protected GetContextMenuItems ( IDiagram diagram ) : IEnumerable
diagram IDiagram
return IEnumerable

OnDoubleClick() protected method

protected OnDoubleClick ( AbsoluteMouseEventArgs e ) : void
e AbsoluteMouseEventArgs
return void

ShowEditDialog() public method

public ShowEditDialog ( ) : void
return void

ShowEditor() protected method

protected ShowEditor ( ) : void
return void