C# 클래스 NClass.DiagramEditor.Diagrams.DiagramElement

상속: IModifiable
파일 보기 프로젝트 열기: gbaychev/NClass 1 사용 예제들

공개 메소드들

메소드 설명
Clean ( ) : void
Draw ( IGraphics g ) : void
Draw ( IGraphics g, Style style ) : void
Draw ( IGraphics g, bool onScreen ) : void
Draw ( IGraphics g, bool onScreen, Style style ) : void
MoveDown ( ) : void
MoveUp ( ) : void
SelectNext ( ) : void
SelectPrevious ( ) : void

보호된 메소드들

메소드 설명
CalculateDrawingArea ( Style style, bool printing, float zoom ) : RectangleF
ConfirmMemberDelete ( ) : bool
DeleteSelectedMember ( bool showConfirmation ) : bool
DrawSelectionLines ( Graphics g, float zoom, Point offset ) : void
GetContextMenuItems ( IDiagram diagram ) : IEnumerable
GetLogicalArea ( ) : Rectangle
GetMaximalOffset ( Size offset, int padding ) : Size
HideEditor ( ) : void
HideWindow ( PopupWindow window ) : void
MoveWindow ( ) : void
Offset ( Size offset ) : void
OnActivated ( EventArgs e ) : void
OnActivating ( EventArgs e ) : void
OnDeactivated ( EventArgs e ) : void
OnDeactivating ( EventArgs e ) : void
OnDoubleClick ( AbsoluteMouseEventArgs e ) : void
OnModified ( EventArgs e ) : void
OnMouseDown ( AbsoluteMouseEventArgs e ) : void
OnMouseMove ( AbsoluteMouseEventArgs e ) : void
OnMouseUp ( AbsoluteMouseEventArgs e ) : void
OnSelectionChanged ( EventArgs e ) : void
ShowEditor ( ) : void
ShowWindow ( PopupWindow window ) : void
TrySelect ( RectangleF frame ) : bool

비공개 메소드들

메소드 설명
DeleteSelectedMember ( ) : bool
Deserialize ( XmlElement node ) : void
DoubleClicked ( AbsoluteMouseEventArgs e ) : void
GetPrintingClip ( Style style, float zoom ) : RectangleF
GetPrintingClip ( float zoom ) : RectangleF
GetVisibleArea ( Style style, float zoom ) : RectangleF
GetVisibleArea ( float zoom ) : RectangleF
MouseMoved ( AbsoluteMouseEventArgs e ) : void
MousePressed ( AbsoluteMouseEventArgs e ) : void
MouseUpped ( AbsoluteMouseEventArgs e ) : void
Serialize ( XmlElement node ) : void

메소드 상세

CalculateDrawingArea() 보호된 추상적인 메소드

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

Clean() 공개 메소드

public Clean ( ) : void
리턴 void

ConfirmMemberDelete() 보호된 메소드

protected ConfirmMemberDelete ( ) : bool
리턴 bool

DeleteSelectedMember() 보호된 메소드

protected DeleteSelectedMember ( bool showConfirmation ) : bool
showConfirmation bool
리턴 bool

Draw() 공개 메소드

public Draw ( IGraphics g ) : void
g IGraphics
리턴 void

Draw() 공개 메소드

/// is null. ///
public Draw ( IGraphics g, Style style ) : void
g IGraphics
style Style
리턴 void

Draw() 공개 메소드

public Draw ( IGraphics g, bool onScreen ) : void
g IGraphics
onScreen bool
리턴 void

Draw() 공개 추상적인 메소드

public abstract Draw ( IGraphics g, bool onScreen, Style style ) : void
g IGraphics
onScreen bool
style Style
리턴 void

DrawSelectionLines() 보호된 추상적인 메소드

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

GetContextMenuItems() 보호된 추상적인 메소드

protected abstract GetContextMenuItems ( IDiagram diagram ) : IEnumerable
diagram IDiagram
리턴 IEnumerable

GetLogicalArea() 보호된 추상적인 메소드

protected abstract GetLogicalArea ( ) : Rectangle
리턴 System.Drawing.Rectangle

GetMaximalOffset() 보호된 추상적인 메소드

protected abstract GetMaximalOffset ( Size offset, int padding ) : Size
offset System.Drawing.Size
padding int
리턴 System.Drawing.Size

HideEditor() 보호된 메소드

protected HideEditor ( ) : void
리턴 void

HideWindow() 보호된 메소드

protected HideWindow ( PopupWindow window ) : void
window PopupWindow
리턴 void

MoveDown() 공개 메소드

public MoveDown ( ) : void
리턴 void

MoveUp() 공개 메소드

public MoveUp ( ) : void
리턴 void

MoveWindow() 보호된 메소드

protected MoveWindow ( ) : void
리턴 void

Offset() 보호된 추상적인 메소드

protected abstract Offset ( Size offset ) : void
offset System.Drawing.Size
리턴 void

OnActivated() 보호된 메소드

protected OnActivated ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnActivating() 보호된 메소드

protected OnActivating ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnDeactivated() 보호된 메소드

protected OnDeactivated ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnDeactivating() 보호된 메소드

protected OnDeactivating ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnDoubleClick() 보호된 메소드

protected OnDoubleClick ( AbsoluteMouseEventArgs e ) : void
e AbsoluteMouseEventArgs
리턴 void

OnModified() 보호된 메소드

protected OnModified ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnMouseDown() 보호된 메소드

protected OnMouseDown ( AbsoluteMouseEventArgs e ) : void
e AbsoluteMouseEventArgs
리턴 void

OnMouseMove() 보호된 메소드

protected OnMouseMove ( AbsoluteMouseEventArgs e ) : void
e AbsoluteMouseEventArgs
리턴 void

OnMouseUp() 보호된 메소드

protected OnMouseUp ( AbsoluteMouseEventArgs e ) : void
e AbsoluteMouseEventArgs
리턴 void

OnSelectionChanged() 보호된 메소드

protected OnSelectionChanged ( EventArgs e ) : void
e System.EventArgs
리턴 void

SelectNext() 공개 메소드

public SelectNext ( ) : void
리턴 void

SelectPrevious() 공개 메소드

public SelectPrevious ( ) : void
리턴 void

ShowEditor() 보호된 메소드

protected ShowEditor ( ) : void
리턴 void

ShowWindow() 보호된 메소드

protected ShowWindow ( PopupWindow window ) : void
window PopupWindow
리턴 void

TrySelect() 보호된 추상적인 메소드

protected abstract TrySelect ( RectangleF frame ) : bool
frame System.Drawing.RectangleF
리턴 bool