C# 클래스 DSShared.Lists.ObjRow

Class that represents a row in a CustomList
상속: IComparable
파일 보기 프로젝트 열기: pmprog/OpenXCOM.Tools 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
addStr string
clickCol CustomListColumn
columns CustomListColumnCollection
cursorTimer Timer
flip bool
obj Object
rowIdx int
selCol CustomListColumn
width int

공개 메소드들

메소드 설명
Click ( CustomListColumn col ) : void

Called when the mouse clicks on a row

CompareTo ( object other ) : int

Compares one row to another. other must be an ObjRow and ObjRow.obj must implement IComparable

Equals ( object other ) : bool

Equality test against another object. Calls Object.Equals(other.Object)

FireRefresh ( ) : void

Outside access to fire the refresh event

GetHashCode ( ) : int

Serves as a hash function for a particular type. is suitable for use in hashing algorithms and data structures like a hash table.

KeyDown ( KeyEventArgs e ) : void

This function currently does nothing

KeyPress ( KeyPressEventArgs e ) : void

Called when a key is pressed on the keyboard and this row is selected

KeyUp ( KeyEventArgs e ) : void

This function currently does nothing

MouseLeave ( ) : void

Called when the mouse leaves the row's bounding rectangle

MouseOver ( CustomListColumn col ) : void

called when a mouse moves over the row

ObjRow ( object obj ) : System

Initializes a new instance of the T:ObjRow class.

ObjRow ( object obj, CustomListColumnCollection columns ) : System

Initializes a new instance of the T:ObjRow class.

Render ( PaintEventArgs e, int yOffset ) : void

Method that paints this row

UnClick ( ) : void

This method is called before another row is clicked. This is used as a 'turn off' function

비공개 메소드들

메소드 설명
startTimer ( ) : void
stopTimer ( ) : void
timerTick ( object sender, EventArgs e ) : void

메소드 상세

Click() 공개 메소드

Called when the mouse clicks on a row
public Click ( CustomListColumn col ) : void
col CustomListColumn The column the mouse was over when the button was clicked
리턴 void

CompareTo() 공개 메소드

Compares one row to another. other must be an ObjRow and ObjRow.obj must implement IComparable
public CompareTo ( object other ) : int
other object The object to compare with
리턴 int

Equals() 공개 메소드

Equality test against another object. Calls Object.Equals(other.Object)
public Equals ( object other ) : bool
other object The other object to test against
리턴 bool

FireRefresh() 공개 메소드

Outside access to fire the refresh event
public FireRefresh ( ) : void
리턴 void

GetHashCode() 공개 메소드

Serves as a hash function for a particular type. is suitable for use in hashing algorithms and data structures like a hash table.
public GetHashCode ( ) : int
리턴 int

KeyDown() 공개 메소드

This function currently does nothing
public KeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
리턴 void

KeyPress() 공개 메소드

Called when a key is pressed on the keyboard and this row is selected
public KeyPress ( KeyPressEventArgs e ) : void
e System.Windows.Forms.KeyPressEventArgs The instance containing the event data.
리턴 void

KeyUp() 공개 메소드

This function currently does nothing
public KeyUp ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
리턴 void

MouseLeave() 공개 메소드

Called when the mouse leaves the row's bounding rectangle
public MouseLeave ( ) : void
리턴 void

MouseOver() 공개 메소드

called when a mouse moves over the row
public MouseOver ( CustomListColumn col ) : void
col CustomListColumn
리턴 void

ObjRow() 공개 메소드

Initializes a new instance of the T:ObjRow class.
public ObjRow ( object obj ) : System
obj object The obj.
리턴 System

ObjRow() 공개 메소드

Initializes a new instance of the T:ObjRow class.
public ObjRow ( object obj, CustomListColumnCollection columns ) : System
obj object The obj.
columns CustomListColumnCollection The columns.
리턴 System

Render() 공개 메소드

Method that paints this row
public Render ( PaintEventArgs e, int yOffset ) : void
e PaintEventArgs
yOffset int
리턴 void

UnClick() 공개 메소드

This method is called before another row is clicked. This is used as a 'turn off' function
public UnClick ( ) : void
리턴 void

프로퍼티 상세

addStr 보호되어 있는 프로퍼티

String for the blinking cursor
protected string addStr
리턴 string

clickCol 보호되어 있는 프로퍼티

Clicked-on column
protected CustomListColumn,DSShared.Lists clickCol
리턴 CustomListColumn

columns 보호되어 있는 프로퍼티

The list of columns that specify what information of the obj is being displayed
protected CustomListColumnCollection,DSShared.Lists columns
리턴 CustomListColumnCollection

cursorTimer 보호되어 있는 프로퍼티

Timer to make a blinking cursor when an editable cell is clicked on
protected Timer cursorTimer
리턴 Timer

flip 보호되어 있는 프로퍼티

Timer information
protected bool flip
리턴 bool

obj 보호되어 있는 프로퍼티

The object this row wraps around
protected Object obj
리턴 Object

rowIdx 보호되어 있는 프로퍼티

Row index
protected int rowIdx
리턴 int

selCol 보호되어 있는 프로퍼티

Selected column
protected CustomListColumn,DSShared.Lists selCol
리턴 CustomListColumn

width 보호되어 있는 프로퍼티

Row screen information
protected int width
리턴 int