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

Inheritance: NClass.DiagramEditor.Diagrams.Connections.Connection
Afficher le fichier Open project: gbaychev/NClass

Private Properties

Свойство 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

Méthodes publiques

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

Méthodes protégées

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

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

/// 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
Résultat System

CalculateDrawingArea() protected méthode

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

CloneRelationship() protected méthode

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

Draw() public méthode

public Draw ( IGraphics g, bool onScreen, Style style ) : void
g IGraphics
onScreen bool
style Style
Résultat void

DrawEndCap() protected méthode

protected DrawEndCap ( IGraphics g, bool onScreen, Style style ) : void
g IGraphics
onScreen bool
style Style
Résultat void

DrawStartCap() protected méthode

protected DrawStartCap ( IGraphics g, bool onScreen, Style style ) : void
g IGraphics
onScreen bool
style Style
Résultat void

GetContextMenuItems() protected méthode

protected GetContextMenuItems ( IDiagram diagram ) : IEnumerable
diagram IDiagram
Résultat IEnumerable

OnDoubleClick() protected méthode

protected OnDoubleClick ( AbsoluteMouseEventArgs e ) : void
e AbsoluteMouseEventArgs
Résultat void

ShowEditDialog() public méthode

public ShowEditDialog ( ) : void
Résultat void

ShowEditor() protected méthode

protected ShowEditor ( ) : void
Résultat void