ReorderableListControl Methods

Rotorz ReorderableList

ReorderableListControl Methods

The ReorderableListControl type exposes the following members.

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