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

Inheritance: TypeShape
Afficher le fichier Open project: gbaychev/NClass Class Usage Examples

Private Properties

Свойство Type Description
DeleteActiveValue void
DrawItem void
EnumShape System
GetMemberRectangle System.Drawing.Rectangle
SelectMember void

Méthodes publiques

Méthode Description
MoveDown ( ) : void
MoveUp ( ) : void

Méthodes protégées

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

Méthode Description
DeleteActiveValue ( ) : void
DrawItem ( IGraphics g, EnumValue value, Rectangle record, Style style ) : void
EnumShape ( EnumType _enum ) : System
GetMemberRectangle ( int memberIndex ) : Rectangle
SelectMember ( PointF location ) : void

Method Details

CloneEntity() protected méthode

protected CloneEntity ( IDiagram diagram ) : bool
diagram IDiagram
Résultat bool

DeleteSelectedMember() protected méthode

protected DeleteSelectedMember ( bool showConfirmation ) : bool
showConfirmation bool
Résultat bool

DrawContent() protected méthode

protected DrawContent ( IGraphics g, Style style ) : void
g IGraphics
style Style
Résultat void

DrawSelectionLines() protected méthode

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

EditMembers() protected méthode

protected EditMembers ( ) : void
Résultat void

GetBackgroundColor() protected méthode

protected GetBackgroundColor ( Style style ) : Color
style Style
Résultat Color

GetBorderColor() protected méthode

protected GetBorderColor ( Style style ) : Color
style Style
Résultat Color

GetBorderWidth() protected méthode

protected GetBorderWidth ( Style style ) : int
style Style
Résultat int

GetEditorWindow() protected méthode

protected GetEditorWindow ( ) : EditorWindow
Résultat NClass.DiagramEditor.ClassDiagram.Editors.EditorWindow

GetGradientHeaderStyle() protected méthode

protected GetGradientHeaderStyle ( Style style ) : GradientStyle
style Style
Résultat GradientStyle

GetHeaderColor() protected méthode

protected GetHeaderColor ( Style style ) : Color
style Style
Résultat Color

GetRequiredHeight() protected méthode

protected GetRequiredHeight ( ) : int
Résultat int

GetRequiredWidth() protected méthode

protected GetRequiredWidth ( Graphics g, Style style ) : float
g System.Drawing.Graphics
style Style
Résultat float

GetRoundingSize() protected méthode

protected GetRoundingSize ( Style style ) : int
style Style
Résultat int

IsBorderDashed() protected méthode

protected IsBorderDashed ( Style style ) : bool
style Style
Résultat bool

MoveDown() public méthode

public MoveDown ( ) : void
Résultat void

MoveUp() public méthode

public MoveUp ( ) : void
Résultat void

OnMouseDown() protected méthode

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