C# 클래스 ClearCanvas.ImageViewer.DisplaySet

상속: IDisplaySet
파일 보기 프로젝트 열기: jasper-yeh/ClearCanvas 1 사용 예제들

Private Properties

프로퍼티 타입 설명
DisposePresentationImages void
Initialize void
OnPresentationImageAdded void
OnPresentationImageChanged void
OnPresentationImageChanging void
OnPresentationImageRemoved void

공개 메소드들

메소드 설명
Clone ( ) : IDisplaySet

Creates a deep copy of the IDisplaySet.

IDisplaySets may not return null from this method.

CreateFreshCopy ( ) : IDisplaySet

Creates a fresh copy of the IDisplaySet.

This will instantiate a fresh copy of this IDisplaySet using the same construction parameters as the original.

CreateMemento ( ) : object

Captures the state of an object.

The implementation of IMemorable.CreateMemento should return an object containing enough state information so that when IMemorable.SetMemento is called, the object can be restored to the original state.

DisplaySet ( ) : System

Initializes a new instance of DisplaySet.

DisplaySet ( ClearCanvas.ImageViewer.DisplaySetDescriptor descriptor ) : System

Initializes a new instance of DisplaySet with the given DisplaySetDescriptor.

DisplaySet ( string name, string uid ) : System

Initializes a new instance of DisplaySet with the specified parameters.

Dispose ( ) : void

Releases all resources used by this DisplaySet.

Draw ( ) : void

Draws the DisplaySet.

The DisplaySet will only be drawn if it is currently visible.

SetMemento ( object memento ) : void

Restores the state of an object.

The implementation of IMemorable.SetMemento should return the object to the original state captured by IMemorable.CreateMemento.

ToString ( ) : string

Returns the name of the display set.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Implementation of the IDisposable pattern

OnDrawing ( ) : void

Raises the Drawing event.

OnPresentationImageAdded ( ClearCanvas.ImageViewer.PresentationImage image ) : void

Called when a PresentationImage has been added to the display set.

OnPresentationImageRemoved ( ClearCanvas.ImageViewer.PresentationImage image ) : void

Called when a PresentationImage has been removed from the display set.

비공개 메소드들

메소드 설명
DisposePresentationImages ( ) : void
Initialize ( DisplaySet source, ICloningContext context ) : void
OnPresentationImageAdded ( object sender, ListEventArgs e ) : void
OnPresentationImageChanged ( object sender, ListEventArgs e ) : void
OnPresentationImageChanging ( object sender, ListEventArgs e ) : void
OnPresentationImageRemoved ( object sender, ListEventArgs e ) : void

메소드 상세

Clone() 공개 메소드

Creates a deep copy of the IDisplaySet.
IDisplaySets may not return null from this method.
public Clone ( ) : IDisplaySet
리턴 IDisplaySet

CreateFreshCopy() 공개 메소드

Creates a fresh copy of the IDisplaySet.
This will instantiate a fresh copy of this IDisplaySet using the same construction parameters as the original.
public CreateFreshCopy ( ) : IDisplaySet
리턴 IDisplaySet

CreateMemento() 공개 메소드

Captures the state of an object.
The implementation of IMemorable.CreateMemento should return an object containing enough state information so that when IMemorable.SetMemento is called, the object can be restored to the original state.
public CreateMemento ( ) : object
리턴 object

DisplaySet() 공개 메소드

Initializes a new instance of DisplaySet.
public DisplaySet ( ) : System
리턴 System

DisplaySet() 공개 메소드

Initializes a new instance of DisplaySet with the given DisplaySetDescriptor.
public DisplaySet ( ClearCanvas.ImageViewer.DisplaySetDescriptor descriptor ) : System
descriptor ClearCanvas.ImageViewer.DisplaySetDescriptor
리턴 System

DisplaySet() 공개 메소드

Initializes a new instance of DisplaySet with the specified parameters.
public DisplaySet ( string name, string uid ) : System
name string
uid string
리턴 System

Dispose() 공개 메소드

Releases all resources used by this DisplaySet.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Implementation of the IDisposable pattern
protected Dispose ( bool disposing ) : void
disposing bool True if this object is being disposed, false if it is being finalized
리턴 void

Draw() 공개 메소드

Draws the DisplaySet.
The DisplaySet will only be drawn if it is currently visible.
public Draw ( ) : void
리턴 void

OnDrawing() 보호된 메소드

Raises the Drawing event.
protected OnDrawing ( ) : void
리턴 void

OnPresentationImageAdded() 보호된 메소드

Called when a PresentationImage has been added to the display set.
protected OnPresentationImageAdded ( ClearCanvas.ImageViewer.PresentationImage image ) : void
image ClearCanvas.ImageViewer.PresentationImage The image that was added to the display set.
리턴 void

OnPresentationImageRemoved() 보호된 메소드

Called when a PresentationImage has been removed from the display set.
protected OnPresentationImageRemoved ( ClearCanvas.ImageViewer.PresentationImage image ) : void
image ClearCanvas.ImageViewer.PresentationImage The image that was removed from the display set.
리턴 void

SetMemento() 공개 메소드

Restores the state of an object.
The implementation of IMemorable.SetMemento should return the object to the original state captured by IMemorable.CreateMemento.
public SetMemento ( object memento ) : void
memento object The object that was /// originally created with .
리턴 void

ToString() 공개 메소드

Returns the name of the display set.
public ToString ( ) : string
리턴 string