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
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
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