C# Class FullInspector.Rotorz.ReorderableList.ReorderableListGUI

Utility class for drawing reorderable lists.
ファイルを表示 Open project: jacobdufault/fullinspector

Private Properties

Property Type Description
DoListField void
DoListFieldAbsolute void
InitStyles void
ReorderableListGUI FullInspector.Rotorz.ReorderableList.Internal

Public Methods

Method Description
CalculateListFieldHeight ( IReorderableListAdaptor adaptor ) : float
CalculateListFieldHeight ( IReorderableListAdaptor adaptor, ReorderableListFlags flags ) : float

Calculate height of list field for adapted collection.

CalculateTitleHeight ( ) : float
ListField ( IReorderableListAdaptor adaptor ) : void
ListField ( IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty ) : void
ListField ( IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty, ReorderableListFlags flags ) : void
ListField ( IReorderableListAdaptor adaptor, ReorderableListFlags flags ) : void
ListFieldAbsolute ( Rect position, IReorderableListAdaptor adaptor ) : void
ListFieldAbsolute ( Rect position, IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty ) : void
ListFieldAbsolute ( Rect position, IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty, ReorderableListFlags flags ) : void
ListFieldAbsolute ( Rect position, IReorderableListAdaptor adaptor, ReorderableListFlags flags ) : void
Title ( GUIContent title ) : void

Draw title control for list field.

When needed, should be shown immediately before list field.

Title ( Rect position, GUIContent title ) : void

Draw title control for list field with absolute positioning.

Title ( Rect position, string text ) : void

Draw title control for list field with absolute positioning.

Title ( string title ) : void

Draw title control for list field.

When needed, should be shown immediately before list field.

Private Methods

Method Description
DoListField ( IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty, ReorderableListFlags flags ) : void

Draw list field control for adapted collection.

DoListFieldAbsolute ( Rect position, IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty, ReorderableListFlags flags ) : void

Draw list field control for adapted collection.

InitStyles ( ) : void
ReorderableListGUI ( ) : FullInspector.Rotorz.ReorderableList.Internal

Method Details

CalculateListFieldHeight() public static method

public static CalculateListFieldHeight ( IReorderableListAdaptor adaptor ) : float
adaptor IReorderableListAdaptor
return float

CalculateListFieldHeight() public static method

Calculate height of list field for adapted collection.
public static CalculateListFieldHeight ( IReorderableListAdaptor adaptor, ReorderableListFlags flags ) : float
adaptor IReorderableListAdaptor Reorderable list adaptor.
flags ReorderableListFlags Optional flags to pass into list field.
return float

CalculateTitleHeight() public static method

public static CalculateTitleHeight ( ) : float
return float

ListField() public static method

public static ListField ( IReorderableListAdaptor adaptor ) : void
adaptor IReorderableListAdaptor
return void

ListField() public static method

public static ListField ( IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty ) : void
adaptor IReorderableListAdaptor
drawEmpty ReorderableListControl
return void

ListField() public static method

public static ListField ( IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty, ReorderableListFlags flags ) : void
adaptor IReorderableListAdaptor
drawEmpty ReorderableListControl
flags ReorderableListFlags
return void

ListField() public static method

public static ListField ( IReorderableListAdaptor adaptor, ReorderableListFlags flags ) : void
adaptor IReorderableListAdaptor
flags ReorderableListFlags
return void

ListFieldAbsolute() public static method

public static ListFieldAbsolute ( Rect position, IReorderableListAdaptor adaptor ) : void
position UnityEngine.Rect
adaptor IReorderableListAdaptor
return void

ListFieldAbsolute() public static method

public static ListFieldAbsolute ( Rect position, IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty ) : void
position UnityEngine.Rect
adaptor IReorderableListAdaptor
drawEmpty ReorderableListControl
return void

ListFieldAbsolute() public static method

public static ListFieldAbsolute ( Rect position, IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty, ReorderableListFlags flags ) : void
position UnityEngine.Rect
adaptor IReorderableListAdaptor
drawEmpty ReorderableListControl
flags ReorderableListFlags
return void

ListFieldAbsolute() public static method

public static ListFieldAbsolute ( Rect position, IReorderableListAdaptor adaptor, ReorderableListFlags flags ) : void
position UnityEngine.Rect
adaptor IReorderableListAdaptor
flags ReorderableListFlags
return void

Title() public static method

Draw title control for list field.

When needed, should be shown immediately before list field.

public static Title ( GUIContent title ) : void
title UnityEngine.GUIContent Content for title control.
return void

Title() public static method

Draw title control for list field with absolute positioning.
public static Title ( Rect position, GUIContent title ) : void
position UnityEngine.Rect Position of control.
title UnityEngine.GUIContent Content for title control.
return void

Title() public static method

Draw title control for list field with absolute positioning.
public static Title ( Rect position, string text ) : void
position UnityEngine.Rect Position of control.
text string Text for title control.
return void

Title() public static method

Draw title control for list field.

When needed, should be shown immediately before list field.

public static Title ( string title ) : void
title string Text for title control.
return void