C# 클래스 NSUListView.IUListView

상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: tnqiang/Unity_ListView

공개 프로퍼티들

프로퍼티 타입 설명
layout Layout
needMask bool
spacing UnityEngine.Vector2

보호된 프로퍼티들

프로퍼티 타입 설명
content UnityEngine.RectTransform
initialized bool
lastStartInex int
leftTopCorner UnityEngine.Vector2
lstData List
scrollRect ScrollRect
scrollRectSize UnityEngine.Vector2

공개 메소드들

메소드 설명
GetContentSize ( ) : Vector2

Gets the rect tranform size of the content of the ScrollRect

GetDataCount ( ) : int

Gets the data count. default return 1

GetItemAnchorPos ( int index ) : Vector2

Gets the anchor position of the item indexed index Assume that anchorMin = anchorMax = pivot = new Vector(0.5f, 0.5f)

GetItemGameObject ( int index ) : GameObject

Gets the item game object.

GetItemSize ( int index ) : Vector2

Gets the size of the item of specified index

GetMaxShowItemNum ( ) : int

Gets the max show item number.

GetStartIndex ( ) : int

Gets the start index of the item to be shown

HideNonuseableItems ( ) : void

Hides the nonuseable items.

Init ( ) : void
OnClick ( int index ) : void

Raises the click event.

OnPointerClick ( PointerEventData eventData ) : void

Raises the pointer enter event.

OnProgress ( float progress ) : void

Raises the progress event when progress change

SetData ( List lstData ) : void

보호된 메소드들

메소드 설명
GetCurrentShowItemNum ( ) : int

Gets the current show item number.

RefreshListView ( ) : void

비공개 메소드들

메소드 설명
GetTopLeftCornerScreenPoint ( ) : Vector2

Gets the top left corner screen point.

OnValueChanged ( Vector2 pos ) : void

메소드 상세

GetContentSize() 공개 추상적인 메소드

Gets the rect tranform size of the content of the ScrollRect
public abstract GetContentSize ( ) : Vector2
리턴 UnityEngine.Vector2

GetCurrentShowItemNum() 보호된 메소드

Gets the current show item number.
protected GetCurrentShowItemNum ( ) : int
리턴 int

GetDataCount() 공개 메소드

Gets the data count. default return 1
public GetDataCount ( ) : int
리턴 int

GetItemAnchorPos() 공개 추상적인 메소드

Gets the anchor position of the item indexed index Assume that anchorMin = anchorMax = pivot = new Vector(0.5f, 0.5f)
public abstract GetItemAnchorPos ( int index ) : Vector2
index int index of item
리턴 UnityEngine.Vector2

GetItemGameObject() 공개 추상적인 메소드

Gets the item game object.
public abstract GetItemGameObject ( int index ) : GameObject
index int Index.
리턴 UnityEngine.GameObject

GetItemSize() 공개 추상적인 메소드

Gets the size of the item of specified index
public abstract GetItemSize ( int index ) : Vector2
index int Index.
리턴 UnityEngine.Vector2

GetMaxShowItemNum() 공개 추상적인 메소드

Gets the max show item number.
public abstract GetMaxShowItemNum ( ) : int
리턴 int

GetStartIndex() 공개 추상적인 메소드

Gets the start index of the item to be shown
public abstract GetStartIndex ( ) : int
리턴 int

HideNonuseableItems() 공개 추상적인 메소드

Hides the nonuseable items.
public abstract HideNonuseableItems ( ) : void
리턴 void

Init() 공개 메소드

public Init ( ) : void
리턴 void

OnClick() 공개 메소드

Raises the click event.
public OnClick ( int index ) : void
index int
리턴 void

OnPointerClick() 공개 메소드

Raises the pointer enter event.
public OnPointerClick ( PointerEventData eventData ) : void
eventData PointerEventData Event data.
리턴 void

OnProgress() 공개 메소드

Raises the progress event when progress change
public OnProgress ( float progress ) : void
progress float Progress.
리턴 void

RefreshListView() 보호된 메소드

protected RefreshListView ( ) : void
리턴 void

SetData() 공개 메소드

public SetData ( List lstData ) : void
lstData List
리턴 void

프로퍼티 상세

content 보호되어 있는 프로퍼티

protected RectTransform,UnityEngine content
리턴 UnityEngine.RectTransform

initialized 보호되어 있는 프로퍼티

protected bool initialized
리턴 bool

lastStartInex 보호되어 있는 프로퍼티

protected int lastStartInex
리턴 int

layout 공개적으로 프로퍼티

public Layout layout
리턴 Layout

leftTopCorner 보호되어 있는 프로퍼티

protected Vector2,UnityEngine leftTopCorner
리턴 UnityEngine.Vector2

lstData 보호되어 있는 프로퍼티

protected List lstData
리턴 List

needMask 공개적으로 프로퍼티

public bool needMask
리턴 bool

scrollRect 보호되어 있는 프로퍼티

protected ScrollRect scrollRect
리턴 ScrollRect

scrollRectSize 보호되어 있는 프로퍼티

protected Vector2,UnityEngine scrollRectSize
리턴 UnityEngine.Vector2

spacing 공개적으로 프로퍼티

public Vector2,UnityEngine spacing
리턴 UnityEngine.Vector2