Click or drag to resize
ReorderableListControl Methods

The ReorderableListControl type exposes the following members.

Methods
  NameDescription
Protected methodAddItem
Add item at end of list and raises the event ItemInserted.
Protected methodAddItemsToMenu
Invoked to generate context menu for list item.
Public methodCalculateListHeight(IReorderableListAdaptor)
Calculate height of list control in pixels.
Public methodCalculateListHeight(Int32, Single)
Calculate height of list control in pixels.
Protected methodClearAll
Remove all items from list.
Public methodDoCommand(String, Int32, IReorderableListAdaptor)
Call to manually perform command.
Public methodDoCommand(GUIContent, Int32, IReorderableListAdaptor)
Call to manually perform command.
Public methodDraw(IReorderableListAdaptor)
Draw layout version of list control.
Public methodDraw(Rect, IReorderableListAdaptor)
Draw list control with absolute positioning.
Public methodDraw(IReorderableListAdaptor, ReorderableListControlDrawEmpty)
Draw layout version of list control.
Public methodDraw(Rect, IReorderableListAdaptor, ReorderableListControlDrawEmptyAbsolute)
Draw list control with absolute positioning.
Public methodStatic memberDrawControlFromState(IReorderableListAdaptor, ReorderableListControlDrawEmpty, ReorderableListFlags)
Generate and draw control from state object.
Public methodStatic memberDrawControlFromState(Rect, IReorderableListAdaptor, ReorderableListControlDrawEmptyAbsolute, ReorderableListFlags)
Generate and draw control from state object.
Protected methodDuplicateItem
Duplicate specified item and raises the event ItemInserted.
Protected methodHandleCommand
Invoked to handle context command.
Protected methodInsertItem
Insert item at specified index and raises the event ItemInserted.
Protected methodMoveItem
Move item from source index to destination index.
Protected methodOnAddMenuClicked
Raises event when add menu button is clicked.
Protected methodOnItemInserted
Raises event after list item is inserted or duplicated.
Protected methodOnItemMoved
Raises event after list item has been moved.
Protected methodOnItemMoving
Raises event immediately before list item is moved and provides oppertunity to cancel.
Protected methodOnItemRemoving
Raises event before list item is removed and provides oppertunity to cancel.
Protected methodRemoveItem
Remove specified item.
Top
See Also