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

Displays a graph legend containing the results of the autofill feature.
Call Update to specify the autofill results to display in the legend.

Call Clear to clear the legend.

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

See the WorkbookAutoFiller class for details on the autofill feature.

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

보호된 프로퍼티들

프로퍼티 타입 설명
m_iLastResizeWidth System.Int32
m_oAutoFillWorkbookResults AutoFillWorkbookResults

공개 메소드들

메소드 설명
AssertValid ( ) : void
AutoFillResultsLegendControl ( ) : System

Initializes a new instance of the class.

Clear ( ) : void
Update ( AutoFillWorkbookResults autoFillWorkbookResults ) : void

보호된 메소드들

메소드 설명
DoubleToString ( Double dDouble, Int32 iDecimalPlaces ) : String
Draw ( DrawingObjects oDrawingObjects ) : Int32
DrawAutoFillWorkbookResults ( DrawingObjects oDrawingObjects ) : Int32
DrawAutoFilledAlphaResults ( DrawingObjects oDrawingObjects, String sSourceColumnName, Double dSourceCalculationNumber1, Double dSourceCalculationNumber2, Int32 iDecimalPlaces, Double dDestinationNumber1, Double dDestinationNumber2, Rectangle oColumnRectangle, Int32 iResultsLeft, Int32 iResultsRight, Int32 &iTop ) : void
DrawAutoFilledEdgeResults ( DrawingObjects oDrawingObjects, Rectangle oColumnRectangle ) : Int32
DrawAutoFilledVertexResults ( DrawingObjects oDrawingObjects, Rectangle oColumnRectangle ) : Int32
DrawColorBarResults ( DrawingObjects oDrawingObjects, String sSourceColumnName, String sCaption, Double dSourceCalculationNumber1, Double dSourceCalculationNumber2, Int32 iDecimalPlaces, Color oColor1, Color oColor2, Rectangle oColumnRectangle, Int32 iResultsLeft, Int32 iResultsRight, Int32 &iTop ) : void
DrawColorBarResults ( DrawingObjects oDrawingObjects, String sSourceColumnName, String sCaption, String sSourceCalculationMinimum, String sSourceCalculationMaximum, Color oColor1, Color oColor2, Rectangle oColumnRectangle, Int32 iResultsLeft, Int32 iResultsRight, Int32 &iTop ) : void
DrawColorCategoryResults ( DrawingObjects oDrawingObjects, ICollection oCategoryNames, GetShapeAndColorForCategory oShapeAndColorGetter, Rectangle oColumnRectangle, Int32 &iTop ) : void
DrawColorColumnResults ( DrawingObjects oDrawingObjects, String sCaption, AutoFillColorColumnResults oColorResults, VertexShape eCategoryShape, Rectangle oColumnRectangle, Int32 iResultsLeft, Int32 iResultsRight, Int32 &iTop ) : void
DrawExcelColumnNameAndCaption ( DrawingObjects oDrawingObjects, String sColumnName, String sCaption, Int32 iLeft, Int32 iRight, Int32 &iTop ) : void
DrawRampResults ( DrawingObjects oDrawingObjects, String sSourceColumnName, String sCaption, Double dSourceCalculationNumber1, Double dSourceCalculationNumber2, Int32 iDecimalPlaces, Rectangle oColumnRectangle, Int32 iResultsLeft, Int32 iResultsRight, Int32 &iTop ) : void
DrawVertexCategoryShape ( DrawingObjects oDrawingObjects, VertexShape eVertexShape, Pen oPen, SolidBrush oBrush, Color oColor, System.Single fXShapeCenter, System.Single fYShapeCenter, System.Single fShapeHalfWidth ) : void
OnPaint ( PaintEventArgs e ) : void
OnResize ( EventArgs e ) : void

메소드 상세

AssertValid() 공개 메소드

public AssertValid ( ) : void
리턴 void

AutoFillResultsLegendControl() 공개 메소드

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

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

DoubleToString() 보호된 메소드

protected DoubleToString ( Double dDouble, Int32 iDecimalPlaces ) : String
dDouble Double
iDecimalPlaces System.Int32
리턴 String

Draw() 보호된 메소드

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

DrawAutoFillWorkbookResults() 보호된 메소드

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

DrawAutoFilledAlphaResults() 보호된 메소드

protected DrawAutoFilledAlphaResults ( DrawingObjects oDrawingObjects, String sSourceColumnName, Double dSourceCalculationNumber1, Double dSourceCalculationNumber2, Int32 iDecimalPlaces, Double dDestinationNumber1, Double dDestinationNumber2, Rectangle oColumnRectangle, Int32 iResultsLeft, Int32 iResultsRight, Int32 &iTop ) : void
oDrawingObjects DrawingObjects
sSourceColumnName String
dSourceCalculationNumber1 Double
dSourceCalculationNumber2 Double
iDecimalPlaces System.Int32
dDestinationNumber1 Double
dDestinationNumber2 Double
oColumnRectangle System.Drawing.Rectangle
iResultsLeft System.Int32
iResultsRight System.Int32
iTop System.Int32
리턴 void

DrawAutoFilledEdgeResults() 보호된 메소드

protected DrawAutoFilledEdgeResults ( DrawingObjects oDrawingObjects, Rectangle oColumnRectangle ) : Int32
oDrawingObjects DrawingObjects
oColumnRectangle System.Drawing.Rectangle
리턴 System.Int32

DrawAutoFilledVertexResults() 보호된 메소드

protected DrawAutoFilledVertexResults ( DrawingObjects oDrawingObjects, Rectangle oColumnRectangle ) : Int32
oDrawingObjects DrawingObjects
oColumnRectangle System.Drawing.Rectangle
리턴 System.Int32

DrawColorBarResults() 보호된 메소드

protected DrawColorBarResults ( DrawingObjects oDrawingObjects, String sSourceColumnName, String sCaption, Double dSourceCalculationNumber1, Double dSourceCalculationNumber2, Int32 iDecimalPlaces, Color oColor1, Color oColor2, Rectangle oColumnRectangle, Int32 iResultsLeft, Int32 iResultsRight, Int32 &iTop ) : void
oDrawingObjects DrawingObjects
sSourceColumnName String
sCaption String
dSourceCalculationNumber1 Double
dSourceCalculationNumber2 Double
iDecimalPlaces System.Int32
oColor1 Color
oColor2 Color
oColumnRectangle System.Drawing.Rectangle
iResultsLeft System.Int32
iResultsRight System.Int32
iTop System.Int32
리턴 void

DrawColorBarResults() 보호된 메소드

protected DrawColorBarResults ( DrawingObjects oDrawingObjects, String sSourceColumnName, String sCaption, String sSourceCalculationMinimum, String sSourceCalculationMaximum, Color oColor1, Color oColor2, Rectangle oColumnRectangle, Int32 iResultsLeft, Int32 iResultsRight, Int32 &iTop ) : void
oDrawingObjects DrawingObjects
sSourceColumnName String
sCaption String
sSourceCalculationMinimum String
sSourceCalculationMaximum String
oColor1 Color
oColor2 Color
oColumnRectangle System.Drawing.Rectangle
iResultsLeft System.Int32
iResultsRight System.Int32
iTop System.Int32
리턴 void

DrawColorCategoryResults() 보호된 메소드

protected DrawColorCategoryResults ( DrawingObjects oDrawingObjects, ICollection oCategoryNames, GetShapeAndColorForCategory oShapeAndColorGetter, Rectangle oColumnRectangle, Int32 &iTop ) : void
oDrawingObjects DrawingObjects
oCategoryNames ICollection
oShapeAndColorGetter GetShapeAndColorForCategory
oColumnRectangle System.Drawing.Rectangle
iTop System.Int32
리턴 void

DrawColorColumnResults() 보호된 메소드

protected DrawColorColumnResults ( DrawingObjects oDrawingObjects, String sCaption, AutoFillColorColumnResults oColorResults, VertexShape eCategoryShape, Rectangle oColumnRectangle, Int32 iResultsLeft, Int32 iResultsRight, Int32 &iTop ) : void
oDrawingObjects DrawingObjects
sCaption String
oColorResults AutoFillColorColumnResults
eCategoryShape VertexShape
oColumnRectangle System.Drawing.Rectangle
iResultsLeft System.Int32
iResultsRight System.Int32
iTop System.Int32
리턴 void

DrawExcelColumnNameAndCaption() 보호된 메소드

protected DrawExcelColumnNameAndCaption ( DrawingObjects oDrawingObjects, String sColumnName, String sCaption, Int32 iLeft, Int32 iRight, Int32 &iTop ) : void
oDrawingObjects DrawingObjects
sColumnName String
sCaption String
iLeft System.Int32
iRight System.Int32
iTop System.Int32
리턴 void

DrawRampResults() 보호된 메소드

protected DrawRampResults ( DrawingObjects oDrawingObjects, String sSourceColumnName, String sCaption, Double dSourceCalculationNumber1, Double dSourceCalculationNumber2, Int32 iDecimalPlaces, Rectangle oColumnRectangle, Int32 iResultsLeft, Int32 iResultsRight, Int32 &iTop ) : void
oDrawingObjects DrawingObjects
sSourceColumnName String
sCaption String
dSourceCalculationNumber1 Double
dSourceCalculationNumber2 Double
iDecimalPlaces System.Int32
oColumnRectangle System.Drawing.Rectangle
iResultsLeft System.Int32
iResultsRight System.Int32
iTop System.Int32
리턴 void

DrawVertexCategoryShape() 보호된 메소드

protected DrawVertexCategoryShape ( DrawingObjects oDrawingObjects, VertexShape eVertexShape, Pen oPen, SolidBrush oBrush, Color oColor, System.Single fXShapeCenter, System.Single fYShapeCenter, System.Single fShapeHalfWidth ) : void
oDrawingObjects DrawingObjects
eVertexShape VertexShape
oPen System.Drawing.Pen
oBrush System.Drawing.SolidBrush
oColor Color
fXShapeCenter System.Single
fYShapeCenter System.Single
fShapeHalfWidth System.Single
리턴 void

OnPaint() 보호된 메소드

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

OnResize() 보호된 메소드

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

Update() 공개 메소드

public Update ( AutoFillWorkbookResults autoFillWorkbookResults ) : void
autoFillWorkbookResults AutoFillWorkbookResults
리턴 void

프로퍼티 상세

m_iLastResizeWidth 보호되어 있는 프로퍼티

protected Int32,System m_iLastResizeWidth
리턴 System.Int32

m_oAutoFillWorkbookResults 보호되어 있는 프로퍼티

protected AutoFillWorkbookResults,Smrf.NodeXL.ExcelTemplate m_oAutoFillWorkbookResults
리턴 AutoFillWorkbookResults