C# Class FlatRedBall.Gui.CollapseListBox

A List Box which can hold collapsable items.
Inheritance: ListBoxBase
Exibir arquivo Open project: vchelaru/FlatRedBall Class Usage Examples

Public Methods

Method Description
AddItemToItem ( string stringToAdd, object ReferenceObject, CollapseItem itemToAddTo ) : CollapseItem
AddItemUnique ( String stringToAdd, object ReferenceObject ) : CollapseItem
AttachItem ( CollapseItem itemToAttach ) : CollapseItem
Clear ( ) : void
ClearEvents ( ) : void
CollapseAll ( ) : void
CollapseListBox ( Cursor cursor ) : System
ContainsObject ( object objectToSearchFor ) : bool
DeselectObject ( object objectToDeselect ) : void
DetachItem ( string itemToRemove ) : CollapseItem

Detaches the item from the CollapseListBox.

This method will keep all children of the detached item in tact so that the item can simply be reattached again.

ExpandAll ( ) : void
GetFirstHighlightedParentObject ( ) : Object
GetFirstHighlightedString ( ) : string
GetHighlightedItems ( ) : List
GetLastHighlightedObject ( ) : object
GetNumContained ( object objectToCount ) : int
GetObject ( string objectToGet ) : Object
IndexOf ( object objectToSearchFor ) : int
MoveHighlightedDown ( ) : void
MoveHighlightedUp ( ) : void
MoveItemDown ( CollapseItem itemToMove ) : bool
MoveItemUp ( CollapseItem itemToMove ) : bool
MoveLeftOne ( CollapseItem itemToRemove ) : CollapseItem
MoveLeftOne ( object objectReference ) : CollapseItem
MoveLeftOne ( string itemToRemove ) : CollapseItem
RemoveHighlightedItems ( ) : List
RemoveHighlightedItemsAndChildren ( ) : List
RemoveItemAndChildren ( CollapseItem itemToRemove ) : CollapseItem
RemoveItemAndChildren ( object objectToRemove ) : CollapseItem

Private Methods

Method Description
OnRightClick ( Window callingWindow ) : void
PopupListBoxClick ( Window callingWindow ) : void

Method Details

AddItemToItem() public method

public AddItemToItem ( string stringToAdd, object ReferenceObject, CollapseItem itemToAddTo ) : CollapseItem
stringToAdd string
ReferenceObject object
itemToAddTo CollapseItem
return CollapseItem

AddItemUnique() public method

public AddItemUnique ( String stringToAdd, object ReferenceObject ) : CollapseItem
stringToAdd String
ReferenceObject object
return CollapseItem

AttachItem() public method

public AttachItem ( CollapseItem itemToAttach ) : CollapseItem
itemToAttach CollapseItem
return CollapseItem

Clear() public method

public Clear ( ) : void
return void

ClearEvents() public method

public ClearEvents ( ) : void
return void

CollapseAll() public method

public CollapseAll ( ) : void
return void

CollapseListBox() public method

public CollapseListBox ( Cursor cursor ) : System
cursor Cursor
return System

ContainsObject() public method

public ContainsObject ( object objectToSearchFor ) : bool
objectToSearchFor object
return bool

DeselectObject() public method

public DeselectObject ( object objectToDeselect ) : void
objectToDeselect object
return void

DetachItem() public method

Detaches the item from the CollapseListBox.
This method will keep all children of the detached item in tact so that the item can simply be reattached again.
public DetachItem ( string itemToRemove ) : CollapseItem
itemToRemove string
return CollapseItem

ExpandAll() public method

public ExpandAll ( ) : void
return void

GetFirstHighlightedParentObject() public method

public GetFirstHighlightedParentObject ( ) : Object
return Object

GetFirstHighlightedString() public method

public GetFirstHighlightedString ( ) : string
return string

GetHighlightedItems() public method

public GetHighlightedItems ( ) : List
return List

GetLastHighlightedObject() public method

public GetLastHighlightedObject ( ) : object
return object

GetNumContained() public method

public GetNumContained ( object objectToCount ) : int
objectToCount object
return int

GetObject() public method

public GetObject ( string objectToGet ) : Object
objectToGet string
return Object

IndexOf() public method

public IndexOf ( object objectToSearchFor ) : int
objectToSearchFor object
return int

MoveHighlightedDown() public method

public MoveHighlightedDown ( ) : void
return void

MoveHighlightedUp() public method

public MoveHighlightedUp ( ) : void
return void

MoveItemDown() public method

public MoveItemDown ( CollapseItem itemToMove ) : bool
itemToMove CollapseItem
return bool

MoveItemUp() public method

public MoveItemUp ( CollapseItem itemToMove ) : bool
itemToMove CollapseItem
return bool

MoveLeftOne() public method

public MoveLeftOne ( CollapseItem itemToRemove ) : CollapseItem
itemToRemove CollapseItem
return CollapseItem

MoveLeftOne() public method

public MoveLeftOne ( object objectReference ) : CollapseItem
objectReference object
return CollapseItem

MoveLeftOne() public method

public MoveLeftOne ( string itemToRemove ) : CollapseItem
itemToRemove string
return CollapseItem

RemoveHighlightedItems() public method

public RemoveHighlightedItems ( ) : List
return List

RemoveHighlightedItemsAndChildren() public method

public RemoveHighlightedItemsAndChildren ( ) : List
return List

RemoveItemAndChildren() public method

public RemoveItemAndChildren ( CollapseItem itemToRemove ) : CollapseItem
itemToRemove CollapseItem
return CollapseItem

RemoveItemAndChildren() public method

public RemoveItemAndChildren ( object objectToRemove ) : CollapseItem
objectToRemove object
return CollapseItem