C# Class UnityEditor.TreeViewDataSource

Inheritance: ITreeViewDataSource
Afficher le fichier Open project: randomize/VimConfig

Méthodes publiques

Свойство Type Description
onVisibleRowsChanged System.Action

Protected Properties

Свойство Type Description
m_FakeItem TreeViewItem
m_NeedRefreshVisibleFolders bool
m_RootItem TreeViewItem
m_TreeView UnityEditor.TreeView
m_VisibleRows List

Méthodes publiques

Méthode Description
CanBeMultiSelected ( TreeViewItem item ) : bool
CanBeParent ( TreeViewItem item ) : bool
FetchData ( ) : void
FindItem ( int id ) : TreeViewItem
GetExpandedIDs ( ) : int[]
GetVisibleRows ( ) : List
HasFakeItem ( ) : bool
InsertFakeItem ( int id, int parentID, string name, Texture2D icon ) : void
IsExpandable ( TreeViewItem item ) : bool
IsExpanded ( TreeViewItem item ) : bool
IsExpanded ( int id ) : bool
IsRenamingItemAllowed ( TreeViewItem item ) : bool
OnExpandedStateChanged ( ) : void
OnSearchChanged ( ) : void
ReloadData ( ) : void
RemoveFakeItem ( ) : void
SetExpanded ( int id, bool expand ) : bool
SetExpanded ( TreeViewItem item, bool expand ) : void
SetExpandedIDs ( int ids ) : void
SetExpandedWithChildren ( TreeViewItem fromItem, bool expand ) : void
TreeViewDataSource ( UnityEditor.TreeView treeView ) : System

Méthodes protégées

Méthode Description
ExpandedRows ( TreeViewItem root ) : List
GetVisibleItemsRecursive ( TreeViewItem item, List items ) : void
Search ( TreeViewItem root, string search ) : List
SearchRecursive ( TreeViewItem item, string search, List searchResult ) : void

Method Details

CanBeMultiSelected() public méthode

public CanBeMultiSelected ( TreeViewItem item ) : bool
item TreeViewItem
Résultat bool

CanBeParent() public méthode

public CanBeParent ( TreeViewItem item ) : bool
item TreeViewItem
Résultat bool

ExpandedRows() protected méthode

protected ExpandedRows ( TreeViewItem root ) : List
root TreeViewItem
Résultat List

FetchData() public abstract méthode

public abstract FetchData ( ) : void
Résultat void

FindItem() public méthode

public FindItem ( int id ) : TreeViewItem
id int
Résultat TreeViewItem

GetExpandedIDs() public méthode

public GetExpandedIDs ( ) : int[]
Résultat int[]

GetVisibleItemsRecursive() protected méthode

protected GetVisibleItemsRecursive ( TreeViewItem item, List items ) : void
item TreeViewItem
items List
Résultat void

GetVisibleRows() public méthode

public GetVisibleRows ( ) : List
Résultat List

HasFakeItem() public méthode

public HasFakeItem ( ) : bool
Résultat bool

InsertFakeItem() public méthode

public InsertFakeItem ( int id, int parentID, string name, Texture2D icon ) : void
id int
parentID int
name string
icon UnityEngine.Texture2D
Résultat void

IsExpandable() public méthode

public IsExpandable ( TreeViewItem item ) : bool
item TreeViewItem
Résultat bool

IsExpanded() public méthode

public IsExpanded ( TreeViewItem item ) : bool
item TreeViewItem
Résultat bool

IsExpanded() public méthode

public IsExpanded ( int id ) : bool
id int
Résultat bool

IsRenamingItemAllowed() public méthode

public IsRenamingItemAllowed ( TreeViewItem item ) : bool
item TreeViewItem
Résultat bool

OnExpandedStateChanged() public méthode

public OnExpandedStateChanged ( ) : void
Résultat void

OnSearchChanged() public méthode

public OnSearchChanged ( ) : void
Résultat void

ReloadData() public méthode

public ReloadData ( ) : void
Résultat void

RemoveFakeItem() public méthode

public RemoveFakeItem ( ) : void
Résultat void

Search() protected méthode

protected Search ( TreeViewItem root, string search ) : List
root TreeViewItem
search string
Résultat List

SearchRecursive() protected méthode

protected SearchRecursive ( TreeViewItem item, string search, List searchResult ) : void
item TreeViewItem
search string
searchResult List
Résultat void

SetExpanded() public méthode

public SetExpanded ( int id, bool expand ) : bool
id int
expand bool
Résultat bool

SetExpanded() public méthode

public SetExpanded ( TreeViewItem item, bool expand ) : void
item TreeViewItem
expand bool
Résultat void

SetExpandedIDs() public méthode

public SetExpandedIDs ( int ids ) : void
ids int
Résultat void

SetExpandedWithChildren() public méthode

public SetExpandedWithChildren ( TreeViewItem fromItem, bool expand ) : void
fromItem TreeViewItem
expand bool
Résultat void

TreeViewDataSource() public méthode

public TreeViewDataSource ( UnityEditor.TreeView treeView ) : System
treeView UnityEditor.TreeView
Résultat System

Property Details

m_FakeItem protected_oe property

protected TreeViewItem m_FakeItem
Résultat TreeViewItem

m_NeedRefreshVisibleFolders protected_oe property

protected bool m_NeedRefreshVisibleFolders
Résultat bool

m_RootItem protected_oe property

protected TreeViewItem m_RootItem
Résultat TreeViewItem

m_TreeView protected_oe property

protected TreeView,UnityEditor m_TreeView
Résultat UnityEditor.TreeView

m_VisibleRows protected_oe property

protected List m_VisibleRows
Résultat List

onVisibleRowsChanged public_oe property

public Action,System onVisibleRowsChanged
Résultat System.Action