C# 클래스 ZForge.Controls.XPTable.Renderers.NumberCellRenderer

A base class for drawing Cells contents as numbers
상속: CellRenderer
파일 보기 프로젝트 열기: zhuangyy/Motion

공개 메소드들

메소드 설명
NumberCellRenderer ( ) : System

Initializes a new instance of the NumberCellRenderer class with default settings

OnMouseDown ( CellMouseEventArgs e ) : void

Raises the MouseDown event

OnMouseLeave ( CellMouseEventArgs e ) : void

Raises the MouseLeave event

OnMouseMove ( XPTable e ) : void

Raises the MouseMove event

OnMouseUp ( CellMouseEventArgs e ) : void

Raises the MouseUp event

OnPaintCell ( PaintCellEventArgs e ) : void

Raises the PaintCell event

보호된 메소드들

메소드 설명
CalcButtonBounds ( ) : Rectangle

Returns a Rectangle that specifies the size and location of the up and down buttons

GetDownButtonBounds ( ) : Rectangle

Returns a Rectangle that specifies the size and location of the down button

GetNumberRendererData ( Cell cell ) : NumberRendererData

Gets the NumberRendererData specific data used by the Renderer from the specified Cell

GetUpButtonBounds ( ) : Rectangle

Returns a Rectangle that specifies the size and location of the up button

OnPaint ( PaintCellEventArgs e ) : void

Raises the Paint event

OnPaintBackground ( PaintCellEventArgs e ) : void

Raises the PaintBackground event

비공개 메소드들

메소드 설명
TableUsingNumericCellEditor ( Table table, CellPos cellPos ) : bool

Gets whether the specified Table is using a NumericCellEditor to edit the Cell at the specified CellPos

메소드 상세

CalcButtonBounds() 보호된 메소드

Returns a Rectangle that specifies the size and location of the up and down buttons
protected CalcButtonBounds ( ) : Rectangle
리턴 System.Drawing.Rectangle

GetDownButtonBounds() 보호된 메소드

Returns a Rectangle that specifies the size and location of the down button
protected GetDownButtonBounds ( ) : Rectangle
리턴 System.Drawing.Rectangle

GetNumberRendererData() 보호된 메소드

Gets the NumberRendererData specific data used by the Renderer from the specified Cell
protected GetNumberRendererData ( Cell cell ) : NumberRendererData
cell ZForge.Controls.XPTable.Models.Cell The Cell to get the NumberRendererData data for
리턴 NumberRendererData

GetUpButtonBounds() 보호된 메소드

Returns a Rectangle that specifies the size and location of the up button
protected GetUpButtonBounds ( ) : Rectangle
리턴 System.Drawing.Rectangle

NumberCellRenderer() 공개 메소드

Initializes a new instance of the NumberCellRenderer class with default settings
public NumberCellRenderer ( ) : System
리턴 System

OnMouseDown() 공개 메소드

Raises the MouseDown event
public OnMouseDown ( CellMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellMouseEventArgs A CellMouseEventArgs that contains the event data
리턴 void

OnMouseLeave() 공개 메소드

Raises the MouseLeave event
public OnMouseLeave ( CellMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellMouseEventArgs A CellMouseEventArgs that contains the event data
리턴 void

OnMouseMove() 공개 메소드

Raises the MouseMove event
public OnMouseMove ( XPTable e ) : void
e XPTable A CellMouseEventArgs that contains the event data
리턴 void

OnMouseUp() 공개 메소드

Raises the MouseUp event
public OnMouseUp ( CellMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellMouseEventArgs A CellMouseEventArgs that contains the event data
리턴 void

OnPaint() 보호된 메소드

Raises the Paint event
protected OnPaint ( PaintCellEventArgs e ) : void
e ZForge.Controls.XPTable.Events.PaintCellEventArgs A PaintCellEventArgs that contains the event data
리턴 void

OnPaintBackground() 보호된 메소드

Raises the PaintBackground event
protected OnPaintBackground ( PaintCellEventArgs e ) : void
e ZForge.Controls.XPTable.Events.PaintCellEventArgs A PaintCellEventArgs that contains the event data
리턴 void

OnPaintCell() 공개 메소드

Raises the PaintCell event
public OnPaintCell ( PaintCellEventArgs e ) : void
e ZForge.Controls.XPTable.Events.PaintCellEventArgs A PaintCellEventArgs that contains the event data
리턴 void