Reorderable List Control for Unity
ReorderableListControl Methods |
The ReorderableListControl type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddItem |
Add item at end of list and raises the event ItemInserted.
|
|
AddItemsToMenu |
Invoked to generate context menu for list item.
|
|
CalculateListHeight(IReorderableListAdaptor) |
Calculate height of list control in pixels.
|
|
CalculateListHeight(Int32, Single) |
Calculate height of list control in pixels.
|
|
ClearAll |
Remove all items from list.
|
|
DoCommand(String, Int32, IReorderableListAdaptor) |
Call to manually perform command.
|
|
DoCommand(GUIContent, Int32, IReorderableListAdaptor) |
Call to manually perform command.
|
|
Draw(IReorderableListAdaptor) |
Draw layout version of list control.
|
|
Draw(Rect, IReorderableListAdaptor) |
Draw list control with absolute positioning.
|
|
Draw(IReorderableListAdaptor, ReorderableListControlDrawEmpty) |
Draw layout version of list control.
|
|
Draw(Rect, IReorderableListAdaptor, ReorderableListControlDrawEmptyAbsolute) |
Draw list control with absolute positioning.
|
|
DrawControlFromState(IReorderableListAdaptor, ReorderableListControlDrawEmpty, ReorderableListFlags) |
Generate and draw control from state object.
|
|
DrawControlFromState(Rect, IReorderableListAdaptor, ReorderableListControlDrawEmptyAbsolute, ReorderableListFlags) |
Generate and draw control from state object.
|
|
DrawDropIndicator |
Draws drop insertion indicator.
|
|
DuplicateItem |
Duplicate specified item and raises the event ItemInserted.
|
|
HandleCommand |
Invoked to handle context command.
|
|
InsertItem |
Insert item at specified index and raises the event ItemInserted.
|
|
MoveItem |
Move item from source index to destination index.
|
|
OnAddMenuClicked |
Raises event when add menu button is clicked.
|
|
OnItemInserted |
Raises event after list item is inserted or duplicated.
|
|
OnItemMoved |
Raises event after list item has been moved.
|
|
OnItemMoving |
Raises event immediately before list item is moved and provides oppertunity to cancel.
|
|
OnItemRemoving |
Raises event before list item is removed and provides oppertunity to cancel.
|
|
RemoveItem |
Remove specified item.
|
See Also