C# 클래스 Smrf.NodeXL.ExcelTemplate.DynamicFiltersLegendControl

Displays a graph legend for the dynamic filters that have been applied to the graph.
Call Update whenever the dynamic filters change. Call to clear the legend.

Update sets the control's height to allow the entire legend to fit within the control.

상속: LegendControlBase
파일 보기 프로젝트 열기: 2014-sed-team3/term-project

보호된 프로퍼티들

프로퍼티 타입 설명
m_oEdgeDynamicFilterRangeTrackBars ICollection
m_oVertexDynamicFilterRangeTrackBars ICollection

공개 메소드들

메소드 설명
AssertValid ( ) : void
Clear ( ) : void
CreateEmptyCollection ( ) : ICollection
DynamicFiltersLegendControl ( ) : System

Initializes a new instance of the class.

Update ( ICollection edgeDynamicFilterRangeTrackBars, ICollection vertexDynamicFilterRangeTrackBars ) : void

보호된 메소드들

메소드 설명
Draw ( DrawingObjects oDrawingObjects ) : Int32
DrawAvailableRangeText ( DrawingObjects oDrawingObjects, IDynamicFilterRangeTrackBar oDynamicFilterRangeTrackBar, Int32 &iAvailableRangeTextLeft, Int32 &iAvailableRangeTextRight, Int32 &iTop ) : void
DrawDynamicFilterRangeTrackBar ( DrawingObjects oDrawingObjects, IDynamicFilterRangeTrackBar oDynamicFilterRangeTrackBar, Pen oAvailableRangeLinePen, Pen oSelectedRangeLinePen, Rectangle oColumnRectangle, Int32 iTrackBarLeft, Int32 iTrackBarRight, Int32 &iTop ) : void
DrawDynamicFilterRangeTrackBars ( DrawingObjects oDrawingObjects, String sGroupName, ICollection oDynamicFilterRangeTrackBars, Rectangle oColumnRectangle ) : Int32
DrawSelectedRangeLine ( DrawingObjects oDrawingObjects, IDynamicFilterRangeTrackBar oDynamicFilterRangeTrackBar, Pen oSelectedRangeLinePen, Int32 iAvailableRangeLineLeft, Int32 iAvailableRangeLineRight, Int32 &iSelectedRangeLineLeft, Int32 &iSelectedRangeLineRight, Int32 &iTop ) : void
DrawSelectedRangeText ( DrawingObjects oDrawingObjects, IDynamicFilterRangeTrackBar oDynamicFilterRangeTrackBar, Int32 iAvailableRangeTextLeft, Int32 iAvailableRangeTextRight, Int32 iSelectedRangeLineLeft, Int32 iSelectedRangeLineRight, Int32 iTop ) : void
GetXWithinAvailableLine ( Decimal decValue, IDynamicFilterRangeTrackBar oDynamicFilterRangeTrackBar, Int32 iAvailableLineLeft, Int32 iAvailableLineRight ) : Int32
OnPaint ( PaintEventArgs e ) : void

메소드 상세

AssertValid() 공개 메소드

public AssertValid ( ) : void
리턴 void

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

CreateEmptyCollection() 공개 메소드

public CreateEmptyCollection ( ) : ICollection
리턴 ICollection

Draw() 보호된 메소드

protected Draw ( DrawingObjects oDrawingObjects ) : Int32
oDrawingObjects DrawingObjects
리턴 System.Int32

DrawAvailableRangeText() 보호된 메소드

protected DrawAvailableRangeText ( DrawingObjects oDrawingObjects, IDynamicFilterRangeTrackBar oDynamicFilterRangeTrackBar, Int32 &iAvailableRangeTextLeft, Int32 &iAvailableRangeTextRight, Int32 &iTop ) : void
oDrawingObjects DrawingObjects
oDynamicFilterRangeTrackBar IDynamicFilterRangeTrackBar
iAvailableRangeTextLeft System.Int32
iAvailableRangeTextRight System.Int32
iTop System.Int32
리턴 void

DrawDynamicFilterRangeTrackBar() 보호된 메소드

protected DrawDynamicFilterRangeTrackBar ( DrawingObjects oDrawingObjects, IDynamicFilterRangeTrackBar oDynamicFilterRangeTrackBar, Pen oAvailableRangeLinePen, Pen oSelectedRangeLinePen, Rectangle oColumnRectangle, Int32 iTrackBarLeft, Int32 iTrackBarRight, Int32 &iTop ) : void
oDrawingObjects DrawingObjects
oDynamicFilterRangeTrackBar IDynamicFilterRangeTrackBar
oAvailableRangeLinePen System.Drawing.Pen
oSelectedRangeLinePen System.Drawing.Pen
oColumnRectangle System.Drawing.Rectangle
iTrackBarLeft System.Int32
iTrackBarRight System.Int32
iTop System.Int32
리턴 void

DrawDynamicFilterRangeTrackBars() 보호된 메소드

protected DrawDynamicFilterRangeTrackBars ( DrawingObjects oDrawingObjects, String sGroupName, ICollection oDynamicFilterRangeTrackBars, Rectangle oColumnRectangle ) : Int32
oDrawingObjects DrawingObjects
sGroupName String
oDynamicFilterRangeTrackBars ICollection
oColumnRectangle System.Drawing.Rectangle
리턴 System.Int32

DrawSelectedRangeLine() 보호된 메소드

protected DrawSelectedRangeLine ( DrawingObjects oDrawingObjects, IDynamicFilterRangeTrackBar oDynamicFilterRangeTrackBar, Pen oSelectedRangeLinePen, Int32 iAvailableRangeLineLeft, Int32 iAvailableRangeLineRight, Int32 &iSelectedRangeLineLeft, Int32 &iSelectedRangeLineRight, Int32 &iTop ) : void
oDrawingObjects DrawingObjects
oDynamicFilterRangeTrackBar IDynamicFilterRangeTrackBar
oSelectedRangeLinePen System.Drawing.Pen
iAvailableRangeLineLeft System.Int32
iAvailableRangeLineRight System.Int32
iSelectedRangeLineLeft System.Int32
iSelectedRangeLineRight System.Int32
iTop System.Int32
리턴 void

DrawSelectedRangeText() 보호된 메소드

protected DrawSelectedRangeText ( DrawingObjects oDrawingObjects, IDynamicFilterRangeTrackBar oDynamicFilterRangeTrackBar, Int32 iAvailableRangeTextLeft, Int32 iAvailableRangeTextRight, Int32 iSelectedRangeLineLeft, Int32 iSelectedRangeLineRight, Int32 iTop ) : void
oDrawingObjects DrawingObjects
oDynamicFilterRangeTrackBar IDynamicFilterRangeTrackBar
iAvailableRangeTextLeft System.Int32
iAvailableRangeTextRight System.Int32
iSelectedRangeLineLeft System.Int32
iSelectedRangeLineRight System.Int32
iTop System.Int32
리턴 void

DynamicFiltersLegendControl() 공개 메소드

Initializes a new instance of the class.
public DynamicFiltersLegendControl ( ) : System
리턴 System

GetXWithinAvailableLine() 보호된 메소드

protected GetXWithinAvailableLine ( Decimal decValue, IDynamicFilterRangeTrackBar oDynamicFilterRangeTrackBar, Int32 iAvailableLineLeft, Int32 iAvailableLineRight ) : Int32
decValue Decimal
oDynamicFilterRangeTrackBar IDynamicFilterRangeTrackBar
iAvailableLineLeft System.Int32
iAvailableLineRight System.Int32
리턴 System.Int32

OnPaint() 보호된 메소드

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
리턴 void

Update() 공개 메소드

public Update ( ICollection edgeDynamicFilterRangeTrackBars, ICollection vertexDynamicFilterRangeTrackBars ) : void
edgeDynamicFilterRangeTrackBars ICollection
vertexDynamicFilterRangeTrackBars ICollection
리턴 void

프로퍼티 상세

m_oEdgeDynamicFilterRangeTrackBars 보호되어 있는 프로퍼티

protected ICollection m_oEdgeDynamicFilterRangeTrackBars
리턴 ICollection

m_oVertexDynamicFilterRangeTrackBars 보호되어 있는 프로퍼티

protected ICollection m_oVertexDynamicFilterRangeTrackBars
리턴 ICollection