Sequine - Scripting API
Calcatz.CookieCutter.UITKTable Class Reference

Classes

class  TableEvent
 

Public Member Functions

delegate bool RowSearchMethod (string _searchText, VisualElement _visualElement)
 
UITKTable SetElementHeight (int _height)
 
UITKTable SetSize (int _column, int _row)
 
UITKTable SetColumnFlexes (params float[] _params)
 
UITKTable SetPadding (float _padding)
 
UITKTable SetHeaderTexts (params string[] _headerTexts)
 
UITKTable SetHeaderFontSize (float _fontSize)
 
UITKTable SetOnCreateCell (int _column, Action< VisualElement, int > _cellRowHandler)
 
UITKTable SetOnDoubleClick (Action< int > _onDoubleClick)
 
UITKTable SetContextMenuHandler (Action< DropdownMenu > _contextMenuHandler)
 
UITKTable SetEventHandler (TableEvent _tableEvent)
 
UITKTable SetSelectable (bool _selectable, bool _multiSelect=true)
 
UITKTable SetMinSelection (int _minSelection=0)
 
UITKTable SetMaxSelection (int _maxSelection)
 
UITKTable SetOnSelect (Action< int > _onSelectHandler)
 
UITKTable BindList (UnityEngine.Object _targetObject, Func< IList > _listGetter)
 
UITKTable BindDictionary (UnityEngine.Object _targetObject, Func< IDictionary > _dictionaryGetter)
 
UITKTable SetReorderable (bool _reorderable)
 
UITKTable SetFoldable (bool _foldable)
 
UITKTable SetOnClickAddButton (Action _onClickAdd)
 
UITKTable SetFrozenRows (int[] _rows)
 
UITKTable SetRowSearchMethod (RowSearchMethod _rowSearchMethod)
 
void SelectAll ()
 
void ClearSelection (bool _invokeEvent=true)
 
void AddSelections (int[] _rows)
 
VisualElement CreateElement ()
 
void RefreshRows ()
 

Properties

static UITKTable FocusedTable [get]
 
int[] SelectedRows [get]
 
int? SelectedRow [get]
 
int[] SortedSelectedRows [get]
 
VisualElement visualElement [get]
 

Member Function Documentation

◆ AddSelections()

void Calcatz.CookieCutter.UITKTable.AddSelections ( int[]  _rows)

◆ BindDictionary()

UITKTable Calcatz.CookieCutter.UITKTable.BindDictionary ( UnityEngine.Object  _targetObject,
Func< IDictionary >  _dictionaryGetter 
)

◆ BindList()

UITKTable Calcatz.CookieCutter.UITKTable.BindList ( UnityEngine.Object  _targetObject,
Func< IList >  _listGetter 
)

◆ ClearSelection()

void Calcatz.CookieCutter.UITKTable.ClearSelection ( bool  _invokeEvent = true)

◆ CreateElement()

VisualElement Calcatz.CookieCutter.UITKTable.CreateElement ( )

◆ RefreshRows()

void Calcatz.CookieCutter.UITKTable.RefreshRows ( )

◆ RowSearchMethod()

delegate bool Calcatz.CookieCutter.UITKTable.RowSearchMethod ( string  _searchText,
VisualElement  _visualElement 
)

◆ SelectAll()

void Calcatz.CookieCutter.UITKTable.SelectAll ( )

◆ SetColumnFlexes()

UITKTable Calcatz.CookieCutter.UITKTable.SetColumnFlexes ( params float[]  _params)

◆ SetContextMenuHandler()

UITKTable Calcatz.CookieCutter.UITKTable.SetContextMenuHandler ( Action< DropdownMenu >  _contextMenuHandler)

◆ SetElementHeight()

UITKTable Calcatz.CookieCutter.UITKTable.SetElementHeight ( int  _height)

◆ SetEventHandler()

UITKTable Calcatz.CookieCutter.UITKTable.SetEventHandler ( TableEvent  _tableEvent)

◆ SetFoldable()

UITKTable Calcatz.CookieCutter.UITKTable.SetFoldable ( bool  _foldable)

◆ SetFrozenRows()

UITKTable Calcatz.CookieCutter.UITKTable.SetFrozenRows ( int[]  _rows)

◆ SetHeaderFontSize()

UITKTable Calcatz.CookieCutter.UITKTable.SetHeaderFontSize ( float  _fontSize)

◆ SetHeaderTexts()

UITKTable Calcatz.CookieCutter.UITKTable.SetHeaderTexts ( params string[]  _headerTexts)

◆ SetMaxSelection()

UITKTable Calcatz.CookieCutter.UITKTable.SetMaxSelection ( int  _maxSelection)

◆ SetMinSelection()

UITKTable Calcatz.CookieCutter.UITKTable.SetMinSelection ( int  _minSelection = 0)

◆ SetOnClickAddButton()

UITKTable Calcatz.CookieCutter.UITKTable.SetOnClickAddButton ( Action  _onClickAdd)

◆ SetOnCreateCell()

UITKTable Calcatz.CookieCutter.UITKTable.SetOnCreateCell ( int  _column,
Action< VisualElement, int >  _cellRowHandler 
)

◆ SetOnDoubleClick()

UITKTable Calcatz.CookieCutter.UITKTable.SetOnDoubleClick ( Action< int >  _onDoubleClick)

◆ SetOnSelect()

UITKTable Calcatz.CookieCutter.UITKTable.SetOnSelect ( Action< int >  _onSelectHandler)

◆ SetPadding()

UITKTable Calcatz.CookieCutter.UITKTable.SetPadding ( float  _padding)

◆ SetReorderable()

UITKTable Calcatz.CookieCutter.UITKTable.SetReorderable ( bool  _reorderable)

◆ SetRowSearchMethod()

UITKTable Calcatz.CookieCutter.UITKTable.SetRowSearchMethod ( RowSearchMethod  _rowSearchMethod)

◆ SetSelectable()

UITKTable Calcatz.CookieCutter.UITKTable.SetSelectable ( bool  _selectable,
bool  _multiSelect = true 
)

◆ SetSize()

UITKTable Calcatz.CookieCutter.UITKTable.SetSize ( int  _column,
int  _row 
)

Property Documentation

◆ FocusedTable

UITKTable Calcatz.CookieCutter.UITKTable.FocusedTable
staticget

◆ SelectedRow

int? Calcatz.CookieCutter.UITKTable.SelectedRow
get

◆ SelectedRows

int [] Calcatz.CookieCutter.UITKTable.SelectedRows
get

◆ SortedSelectedRows

int [] Calcatz.CookieCutter.UITKTable.SortedSelectedRows
get

◆ visualElement

VisualElement Calcatz.CookieCutter.UITKTable.visualElement
get