FBList Class Reference


Detailed Description

List of items.

Examples
UI/List.py, UI/ToolCommunicationReceiver.py
Inheritance diagram for FBList:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  __init__ ()
  Constructor.
bool  IsSelected (int pIndex)
  Returns whether or not the item pIndex is currently selected.
  Selected (int pIndex, bool pSelected)
  Set the current selected state of item at pIndex to pSelected.

Public Attributes

FBPropertyStringList  Items
  List: Names of items in list.
FBPropertyBase  ItemIndex
  Read Write Property: Current item index.
FBPropertyBase  MultiSelect
  Read Write Property: Can multiple items be selected?.
FBPropertyBase  ExtendedSelect
  Read Write Property: Extended selection state?.
FBPropertyListStyle  Style
  Read Write Property: Style or direction of list.
FBPropertyEvent  OnChange
  Event: List changed.
FBPropertyEvent  OnDragAndDrop
  Event: Drag and drop event.

Member Function Documentation

bool IsSelected ( int  pIndex )

Returns whether or not the item pIndex is currently selected.

Parameters:
pIndex Index to see if select or not.
Returns:
true if item at pIndex is selected.
Selected ( int  pIndex,
bool  pSelected 
)

Set the current selected state of item at pIndex to pSelected.

Parameters:
pIndex Index to affect item at.
pSelected State to set item at pIndex to.

Member Data Documentation

List: Names of items in list.

FBPropertyBase ItemIndex

Read Write Property: Current item index.

FBPropertyBase MultiSelect

Read Write Property: Can multiple items be selected?.

FBPropertyBase ExtendedSelect

Read Write Property: Extended selection state?.

FBPropertyListStyle Style

Read Write Property: Style or direction of list.

FBPropertyEvent OnChange

Event: List changed.

FBPropertyEvent OnDragAndDrop

Event: Drag and drop event.


FBList FBList FBList FBList FBList FBList FBList FBList FBList FBList
FBList FBList FBList FBList FBList FBList FBList FBList FBList FBList