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

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

Public Methods

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

Protected Methods

Method Description
CompositeTypeShape ( CompositeType compositeType ) : System
DeleteSelectedMember ( bool showConfirmation ) : bool
DrawContent ( IGraphics g, Style style ) : void
DrawSelectionLines ( Graphics g, float zoom, Point offset ) : void
EditMembers ( ) : void
GetEditorWindow ( ) : EditorWindow
GetRequiredHeight ( ) : int
GetRequiredWidth ( Graphics g, Style style ) : float
OnMouseDown ( AbsoluteMouseEventArgs e ) : void

Private Methods

Method Description
CompositeTypeShape ( ) : System
DeleteActiveMember ( ) : void
DrawMember ( IGraphics g, Member member, Rectangle record, Style style ) : void
GetAccessString ( Member member ) : string
GetMemberFont ( Member member, Style style ) : Font
GetMemberRectangle ( int memberIndex ) : Rectangle
GetMemberString ( Member member ) : string
GetRowIndex ( int height ) : int
InsertNewMember ( MemberType type ) : void
SelectMember ( PointF location ) : void

Method Details

CompositeTypeShape() protected method

/// is null. ///
protected CompositeTypeShape ( CompositeType compositeType ) : System
compositeType NClass.Core.CompositeType
return System

DeleteSelectedMember() protected final method

protected final 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

GetEditorWindow() protected method

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

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

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