C# Class ZForge.Controls.XPTable.Editors.ColorCellEditor.ColorPicker.ColorPalette

Inheritance: System.Windows.Forms.Control
Datei anzeigen Open project: zhuangyy/Motion

Private Properties

Property Type Description
GetCellFromColor Point
GetCellFromMouse Point
GetColorFromCell Color
GetColorFromCell Color
GetColorIndexFromCell int
GetColorIndexFromCell int
GetColorIndexFromMouse int
InvalidateFocus void
InvalidateSelection void
SetFocus void

Public Methods

Method Description
ColorPalette ( ColorCellEditor editor ) : System

Protected Methods

Method Description
IsInputKey ( Keys keyData ) : bool

LaunchDialog ( int customIndex ) : void

OnGotFocus ( EventArgs e ) : void

OnKeyDown ( KeyEventArgs e ) : void

OnLostFocus ( EventArgs e ) : void

OnMouseDown ( MouseEventArgs e ) : void

OnMouseMove ( MouseEventArgs e ) : void

OnMouseUp ( MouseEventArgs e ) : void

OnPaint ( PaintEventArgs e ) : void

OnPicked ( EventArgs e ) : void

ProcessDialogKey ( Keys keyData ) : bool

Private Methods

Method Description
GetCellFromColor ( Color c ) : Point

GetCellFromMouse ( int x, int y ) : Point

GetColorFromCell ( int index ) : Color

GetColorFromCell ( int across, int down ) : Color

GetColorIndexFromCell ( Point p ) : int

GetColorIndexFromCell ( int across, int down ) : int

GetColorIndexFromMouse ( int x, int y ) : int

InvalidateFocus ( ) : void

InvalidateSelection ( ) : void

SetFocus ( Point newFocus ) : void

Method Details

ColorPalette() public method

public ColorPalette ( ColorCellEditor editor ) : System
editor ColorCellEditor
return System

IsInputKey() protected method

protected IsInputKey ( Keys keyData ) : bool
keyData Keys
return bool

LaunchDialog() protected method

protected LaunchDialog ( int customIndex ) : void
customIndex int
return void

OnGotFocus() protected method

protected OnGotFocus ( EventArgs e ) : void
e System.EventArgs
return void

OnKeyDown() protected method

protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
return void

OnLostFocus() protected method

protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs
return void

OnMouseDown() protected method

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseUp() protected method

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnPicked() protected method

protected OnPicked ( EventArgs e ) : void
e System.EventArgs
return void

ProcessDialogKey() protected method

protected ProcessDialogKey ( Keys keyData ) : bool
keyData Keys
return bool