C# Class NClass.DiagramEditor.ClassDiagram.Shapes.DelegateShape

Inheritance: TypeShape
Mostra file Open project: gbaychev/NClass Class Usage Examples

Private Properties

Property Type Description
DelegateShape System
DeleteActiveParameter void
DrawItem void
GetMemberRectangle System.Drawing.Rectangle
SelectMember void

Public Methods

Method Description
MoveDown ( ) : void
MoveUp ( ) : void

Protected Methods

Method Description
CloneEntity ( IDiagram diagram ) : bool
DeleteSelectedMember ( bool showConfirmation ) : bool
DrawContent ( IGraphics g, Style style ) : void
DrawSelectionLines ( Graphics g, float zoom, Point offset ) : void
EditMembers ( ) : void
GetBackgroundColor ( Style style ) : Color
GetBorderColor ( Style style ) : Color
GetBorderWidth ( Style style ) : int
GetEditorWindow ( ) : EditorWindow
GetGradientHeaderStyle ( Style style ) : GradientStyle
GetHeaderColor ( Style style ) : Color
GetRequiredHeight ( ) : int
GetRequiredWidth ( Graphics g, Style style ) : float
GetRoundingSize ( Style style ) : int
IsBorderDashed ( Style style ) : bool
OnMouseDown ( AbsoluteMouseEventArgs e ) : void

Private Methods

Method Description
DelegateShape ( DelegateType _delegate ) : System
DeleteActiveParameter ( ) : void
DrawItem ( IGraphics g, Parameter parameter, Rectangle record, Style style ) : void
GetMemberRectangle ( int memberIndex ) : Rectangle
SelectMember ( PointF location ) : void

Method Details

CloneEntity() protected method

protected CloneEntity ( IDiagram diagram ) : bool
diagram IDiagram
return bool

DeleteSelectedMember() protected method

protected DeleteSelectedMember ( bool showConfirmation ) : bool
showConfirmation bool
return bool

DrawContent() protected method

protected DrawContent ( IGraphics g, Style style ) : void
g IGraphics
style Style
return void

DrawSelectionLines() protected method

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

EditMembers() protected method

protected EditMembers ( ) : void
return void

GetBackgroundColor() protected method

protected GetBackgroundColor ( Style style ) : Color
style Style
return Color

GetBorderColor() protected method

protected GetBorderColor ( Style style ) : Color
style Style
return Color

GetBorderWidth() protected method

protected GetBorderWidth ( Style style ) : int
style Style
return int

GetEditorWindow() protected method

protected GetEditorWindow ( ) : EditorWindow
return NClass.DiagramEditor.ClassDiagram.Editors.EditorWindow

GetGradientHeaderStyle() protected method

protected GetGradientHeaderStyle ( Style style ) : GradientStyle
style Style
return GradientStyle

GetHeaderColor() protected method

protected GetHeaderColor ( Style style ) : Color
style Style
return Color

GetRequiredHeight() protected method

protected GetRequiredHeight ( ) : int
return int

GetRequiredWidth() protected method

protected GetRequiredWidth ( Graphics g, Style style ) : float
g System.Drawing.Graphics
style Style
return float

GetRoundingSize() protected method

protected GetRoundingSize ( Style style ) : int
style Style
return int

IsBorderDashed() protected method

protected IsBorderDashed ( Style style ) : bool
style Style
return bool

MoveDown() public method

public MoveDown ( ) : void
return void

MoveUp() public method

public MoveUp ( ) : void
return void

OnMouseDown() protected method

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