C# 클래스 trello.Interactions.PointIndex

파일 보기 프로젝트 열기: Bunk/trellow 1 사용 예제들

공개 메소드들

메소드 설명
Add ( Value item ) : void

Adds the specified value into the point index. The location in the index is determined by its y-coordinate relative to other items already in the list. The resulting index will be sorted from lowest y-coordinate to highest.

Get ( int index ) : Value

Returns the index value at the given index location.

GetPotentialItem ( Point targetPoint ) : Value

Returns the item if the target point has a hit test match in the index.

IndexOf ( Point point ) : int

Returns the index location for a given point in the index.

IndexOf ( Value point ) : int

Returns the index location of a given value in the index.

Remove ( string id ) : void
ShuffleItems ( int oldIndex, int newIndex ) : void

Swaps the indexed items beginning with the old index until the new index.

비공개 메소드들

메소드 설명
Adjust ( int startIndex, double offset ) : void
FindSuitableIndex ( Rect position ) : int
SwapIndex ( int indexFrom, int indexTo ) : void

메소드 상세

Add() 공개 메소드

Adds the specified value into the point index. The location in the index is determined by its y-coordinate relative to other items already in the list. The resulting index will be sorted from lowest y-coordinate to highest.
public Add ( Value item ) : void
item Value
리턴 void

Get() 공개 메소드

Returns the index value at the given index location.
public Get ( int index ) : Value
index int
리턴 Value

GetPotentialItem() 공개 메소드

Returns the item if the target point has a hit test match in the index.
public GetPotentialItem ( Point targetPoint ) : Value
targetPoint System.Windows.Point Point to do a hit test against
리턴 Value

IndexOf() 공개 메소드

Returns the index location for a given point in the index.
public IndexOf ( Point point ) : int
point System.Windows.Point The point to do a hit test against.
리턴 int

IndexOf() 공개 메소드

Returns the index location of a given value in the index.
public IndexOf ( Value point ) : int
point Value
리턴 int

Remove() 공개 메소드

public Remove ( string id ) : void
id string
리턴 void

ShuffleItems() 공개 메소드

Swaps the indexed items beginning with the old index until the new index.
public ShuffleItems ( int oldIndex, int newIndex ) : void
oldIndex int
newIndex int
리턴 void