LLScrollListCtrl Class Reference

#include <llscrolllistctrl.h>

Inheritance diagram for LLScrollListCtrl:

Inheritance graph
[legend]
Collaboration diagram for LLScrollListCtrl:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLScrollListCtrl (const LLString &name, const LLRect &rect, void(*commit_callback)(LLUICtrl *, void *), void *callback_userdata, BOOL allow_multiple_selection, BOOL draw_border=TRUE)
virtual ~LLScrollListCtrl ()
virtual LLXMLNodePtr getXML (bool save_children=true) const
void setScrollListParameters (LLXMLNodePtr node)
S32 isEmpty () const
void deleteAllItems ()
void setColumnHeadings (LLSD headings)
void sortByColumn (U32 column, BOOL ascending)
virtual S32 getItemCount () const
virtual void addColumn (const LLSD &column, EAddPosition pos=ADD_BOTTOM)
virtual void clearColumns ()
virtual void setColumnLabel (const LLString &column, const LLString &label)
virtual LLScrollListColumngetColumn (S32 index)
virtual S32 getNumColumns () const
virtual LLScrollListItemaddElement (const LLSD &value, EAddPosition pos=ADD_BOTTOM, void *userdata=NULL)
virtual void clearRows ()
virtual void sortByColumn (LLString name, BOOL ascending)
virtual void setValue (const LLSD &value)
virtual LLSD getValue () const
LLCtrlSelectionInterfacegetSelectionInterface ()
LLCtrlListInterfacegetListInterface ()
LLCtrlScrollInterfacegetScrollInterface ()
BOOL setCurrentByID (const LLUUID &id)
virtual LLUUID getCurrentID () const
BOOL operateOnSelection (EOperation op)
BOOL operateOnAll (EOperation op)
BOOL setMaxItemCount (S32 max_count)
BOOL selectByID (const LLUUID &id)
BOOL setSelectedByValue (const LLSD &value, BOOL selected)
BOOL isSorted () const
virtual BOOL isSelected (const LLSD &value) const
BOOL handleClick (S32 x, S32 y, MASK mask)
BOOL selectFirstItem ()
BOOL selectNthItem (S32 index)
BOOL selectItemRange (S32 first, S32 last)
BOOL selectItemAt (S32 x, S32 y, MASK mask)
void deleteSingleItem (S32 index)
void deleteItems (const LLSD &sd)
void deleteSelectedItems ()
void deselectAllItems (BOOL no_commit_on_change=FALSE)
void highlightNthItem (S32 index)
void setDoubleClickCallback (void(*cb)(void *))
void setMaximumSelectCallback (void(*cb)(void *))
void setSortChangedCallback (void(*cb)(void *))
void swapWithNext (S32 index)
void swapWithPrevious (S32 index)
void setCanSelect (BOOL can_select)
virtual BOOL getCanSelect () const
S32 getItemIndex (LLScrollListItem *item) const
S32 getItemIndex (const LLUUID &item_id) const
LLScrollListItemaddCommentText (const LLString &comment_text, EAddPosition pos=ADD_BOTTOM)
LLScrollListItemaddSeparator (EAddPosition pos)
virtual LLScrollListItemaddSimpleElement (const LLString &value, EAddPosition pos=ADD_BOTTOM, const LLSD &id=LLSD())
BOOL selectItemByLabel (const LLString &item, BOOL case_sensitive=TRUE)
BOOL selectItemByPrefix (const LLString &target, BOOL case_sensitive=TRUE)
BOOL selectItemByPrefix (const LLWString &target, BOOL case_sensitive=TRUE)
const LLString getSelectedItemLabel (S32 column=0) const
LLSD getSelectedValue ()
LLScrollListItemaddStringUUIDItem (const LLString &item_text, const LLUUID &id, EAddPosition pos=ADD_BOTTOM, BOOL enabled=TRUE, S32 column_width=0)
LLUUID getStringUUIDSelectedItem () const
LLScrollListItemgetFirstSelected () const
virtual S32 getFirstSelectedIndex () const
std::vector< LLScrollListItem * > getAllSelected () const
LLScrollListItemgetLastSelectedItem () const
LLScrollListItemgetFirstData () const
LLScrollListItemgetLastData () const
std::vector< LLScrollListItem * > getAllData () const
LLScrollListItemgetItem (const LLSD &sd) const
void setAllowMultipleSelection (BOOL mult)
void setBgWriteableColor (const LLColor4 &c)
void setReadOnlyBgColor (const LLColor4 &c)
void setBgSelectedColor (const LLColor4 &c)
void setBgStripeColor (const LLColor4 &c)
void setFgSelectedColor (const LLColor4 &c)
void setFgUnselectedColor (const LLColor4 &c)
void setHighlightedColor (const LLColor4 &c)
void setFgDisableColor (const LLColor4 &c)
void setBackgroundVisible (BOOL b)
void setDrawStripes (BOOL b)
void setColumnPadding (const S32 c)
S32 getColumnPadding ()
void setCommitOnKeyboardMovement (BOOL b)
void setCommitOnSelectionChange (BOOL b)
void setAllowKeyboardMovement (BOOL b)
void setMaxSelectable (U32 max_selected)
S32 getMaxSelectable ()
virtual S32 getScrollPos () const
virtual void setScrollPos (S32 pos)
S32 getSearchColumn ()
void setSearchColumn (S32 column)
S32 getColumnIndexFromOffset (S32 x)
S32 getColumnOffsetFromIndex (S32 index)
S32 getRowOffsetFromIndex (S32 index)
void clearSearchString ()
void draw ()
BOOL handleMouseDown (S32 x, S32 y, MASK mask)
BOOL handleMouseUp (S32 x, S32 y, MASK mask)
BOOL handleDoubleClick (S32 x, S32 y, MASK mask)
BOOL handleHover (S32 x, S32 y, MASK mask)
BOOL handleKeyHere (KEY key, MASK mask)
BOOL handleUnicodeCharHere (llwchar uni_char)
BOOL handleScrollWheel (S32 x, S32 y, S32 clicks)
BOOL handleToolTip (S32 x, S32 y, LLString &msg, LLRect *sticky_rect)
void setEnabled (BOOL enabled)
void setFocus (BOOL b)
void onFocusReceived ()
void onFocusLost ()
void reshape (S32 width, S32 height, BOOL called_from_parent=TRUE)
virtual BOOL isDirty () const
virtual void resetDirty ()
virtual void updateLayout ()
virtual void fitContents (S32 max_width, S32 max_height)
virtual LLRect getRequiredRect ()
LLRect getItemListRect ()
void updateColumns ()
void calcColumnWidths ()
S32 getMaxContentWidth ()
void setDisplayHeading (BOOL display)
void setHeadingHeight (S32 heading_height)
void setCollapseEmptyColumns (BOOL collapse)
LLScrollListItemhitItem (S32 x, S32 y)
virtual void scrollToShowSelected ()
virtual void copy ()
virtual BOOL canCopy () const
virtual void cut ()
virtual BOOL canCut () const
virtual void selectAll ()
virtual BOOL canSelectAll () const
virtual void deselect ()
virtual BOOL canDeselect () const
void setNumDynamicColumns (int num)
void setTotalStaticColumnWidth (int width)
std::string getSortColumnName ()
BOOL getSortAscending ()
BOOL needsSorting ()
S32 selectMultiple (LLDynamicArray< LLUUID > ids)
void sortItems ()
void setSorted (BOOL sorted)
void dirtyColumns ()

Static Public Member Functions

static LLViewfromXML (LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory)
static BOOL rowPreceeds (LLScrollListItem *new_row, LLScrollListItem *test_row)
static void onScrollChange (S32 new_pos, LLScrollbar *src, void *userdata)
static void onClickColumn (void *userdata)

Protected Types

typedef std::deque
< LLScrollListItem * > 
item_list

Protected Member Functions

BOOL addItem (LLScrollListItem *item, EAddPosition pos=ADD_BOTTOM, BOOL requires_column=TRUE)
item_listgetItemList ()

Private Types

typedef std::map< LLString,
LLScrollListColumn
column_map_t
typedef std::vector
< LLScrollListColumn * > 
ordered_columns_t
typedef std::pair< S32, BOOLsort_column_t

Private Member Functions

void selectPrevItem (BOOL extend_selection)
void selectNextItem (BOOL extend_selection)
void drawItems ()
void updateLineHeight ()
void updateLineHeightInsert (LLScrollListItem *item)
void reportInvalidInput ()
BOOL isRepeatedChars (const LLWString &string) const
void selectItem (LLScrollListItem *itemp, BOOL single_select=TRUE)
void deselectItem (LLScrollListItem *itemp)
void commitIfChanged ()
BOOL setSort (S32 column, BOOL ascending)

Private Attributes

S32 mCurIndex
S32 mCurSelectedIndex
S32 mLineHeight
S32 mScrollLines
S32 mPageLines
S32 mHeadingHeight
U32 mMaxSelectable
LLScrollbarmScrollbar
BOOL mAllowMultipleSelection
BOOL mAllowKeyboardMovement
BOOL mCommitOnKeyboardMovement
BOOL mCommitOnSelectionChange
BOOL mSelectionChanged
BOOL mNeedsScroll
BOOL mCanSelect
BOOL mDisplayColumnHeaders
BOOL mColumnsDirty
item_list mItemList
LLScrollListItemmLastSelected
S32 mMaxItemCount
LLRect mItemListRect
S32 mMaxContentWidth
S32 mColumnPadding
BOOL mBackgroundVisible
BOOL mDrawStripes
LLColor4 mBgWriteableColor
LLColor4 mBgReadOnlyColor
LLColor4 mBgSelectedColor
LLColor4 mBgStripeColor
LLColor4 mFgSelectedColor
LLColor4 mFgUnselectedColor
LLColor4 mFgDisabledColor
LLColor4 mHighlightedColor
S32 mBorderThickness
void(* mOnDoubleClickCallback )(void *userdata)
void(* mOnMaximumSelectCallback )(void *userdata)
void(* mOnSortChangedCallback )(void *userdata)
S32 mHighlightedItem
class LLViewBordermBorder
LLWString mSearchString
LLFrameTimer mSearchTimer
S32 mSearchColumn
S32 mNumDynamicWidthColumns
S32 mTotalStaticColumnWidth
BOOL mSorted
column_map_t mColumns
BOOL mDirty
S32 mOriginalSelection
ordered_columns_t mColumnsIndexed
std::vector< sort_column_tmSortColumns
BOOL mDrewSelected


Detailed Description

Definition at line 393 of file llscrolllistctrl.h.


Member Typedef Documentation

typedef std::deque<LLScrollListItem *> LLScrollListCtrl::item_list [protected]

Definition at line 642 of file llscrolllistctrl.h.

Definition at line 717 of file llscrolllistctrl.h.

Definition at line 723 of file llscrolllistctrl.h.

typedef std::pair<S32, BOOL> LLScrollListCtrl::sort_column_t [private]

Definition at line 726 of file llscrolllistctrl.h.


Constructor & Destructor Documentation

LLScrollListCtrl::LLScrollListCtrl ( const LLString name,
const LLRect rect,
void(*)(LLUICtrl *, void *)  commit_callback,
void *  callback_userdata,
BOOL  allow_multiple_selection,
BOOL  draw_border = TRUE 
)

Referenced by fromXML().

Here is the caller graph for this function:

LLScrollListCtrl::~LLScrollListCtrl (  )  [virtual]

Definition at line 635 of file llscrolllistctrl.cpp.

References LLEditMenuHandler::gEditMenuHandler, mItemList, and NULL.


Member Function Documentation

LLXMLNodePtr LLScrollListCtrl::getXML ( bool  save_children = true  )  const [virtual]

void LLScrollListCtrl::setScrollListParameters ( LLXMLNodePtr  node  ) 

LLView * LLScrollListCtrl::fromXML ( LLXMLNodePtr  node,
LLView parent,
LLUICtrlFactory factory 
) [static]

S32 LLScrollListCtrl::isEmpty (  )  const

Definition at line 655 of file llscrolllistctrl.cpp.

References mItemList.

void LLScrollListCtrl::deleteAllItems (  )  [inline]

void LLScrollListCtrl::setColumnHeadings ( LLSD  headings  ) 

Definition at line 3163 of file llscrolllistctrl.cpp.

References addColumn(), LLSD::beginArray(), LLSD::endArray(), and mColumns.

Referenced by LLNameListCtrl::fromXML(), and fromXML().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLScrollListCtrl::sortByColumn ( U32  column,
BOOL  ascending 
)

S32 LLScrollListCtrl::getItemCount (  )  const [virtual]

void LLScrollListCtrl::addColumn ( const LLSD column,
EAddPosition  pos = ADD_BOTTOM 
) [virtual]

void LLScrollListCtrl::clearColumns (  )  [virtual]

Implements LLCtrlListInterface.

Definition at line 3125 of file llscrolllistctrl.cpp.

References mColumns, mSortColumns, and LLView::removeChild().

Referenced by LLComboBox::addColumn(), and LLComboBox::clearColumns().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLScrollListCtrl::setColumnLabel ( const LLString column,
const LLString label 
) [virtual]

Definition at line 3141 of file llscrolllistctrl.cpp.

References mColumns.

Referenced by LLComboBox::setColumnLabel().

Here is the caller graph for this function:

LLScrollListColumn * LLScrollListCtrl::getColumn ( S32  index  )  [virtual]

virtual S32 LLScrollListCtrl::getNumColumns (  )  const [inline, virtual]

Definition at line 427 of file llscrolllistctrl.h.

References mColumnsIndexed.

Referenced by getColumnIndexFromOffset(), and LLColumnHeader::setHasResizableElement().

Here is the caller graph for this function:

LLScrollListItem * LLScrollListCtrl::addElement ( const LLSD value,
EAddPosition  pos = ADD_BOTTOM,
void *  userdata = NULL 
) [virtual]

Implements LLCtrlListInterface.

Reimplemented in LLNameListCtrl.

Definition at line 3173 of file llscrolllistctrl.cpp.

References addColumn(), addItem(), LLSD::asString(), LLSD::beginArray(), LLSD::endArray(), LLScrollListItem::getColumn(), LLSingleton< LLResMgr >::getInstance(), LLResMgr::getRes(), LLFontGL::getStyleFromString(), LLSD::has(), LLFONT_SANSSERIF_SMALL, mColumns, LLScrollListColumn::mFontAlignment, LLScrollListColumn::mHeader, LLScrollListColumn::mIndex, LLScrollListColumn::mWidth, LLFontGL::NORMAL, NULL, S32, LLScrollListText::setColor(), LLScrollListCell::setColor(), LLScrollListIcon::setColor(), LLScrollListItem::setColumn(), LLCheckBoxCtrl::setEnabled(), LLScrollListItem::setEnabled(), LLColumnHeader::setHasResizableElement(), LLScrollListItem::setNumColumns(), LLCheckBoxCtrl::setValue(), and TRUE.

Referenced by LLFloaterBump::add(), LLNameListCtrl::addElement(), LLComboBox::addElement(), LLPanelFriends::addFriend(), LLPanelActiveSpeakers::addSpeaker(), LLPreviewGesture::addStep(), LLPanelGroupSubTab::buildActionCategory(), LLFloaterClothing::buildClothingList(), LLPanelMsgs::buildLists(), LLLiveLSLEditor::callbackLSLCompileFailed(), LLPreviewLSL::callbackLSLCompileFailed(), fromXML(), LLPanelGroupRolesSubTab::handleCreateRole(), LLPanelGroupMembersSubTab::handleMemberSelect(), LLPreviewGesture::loadUIFromGesture(), LLPanelAvatar::processAvatarGroupsReply(), LLPanelGroupLandMoney::impl::processGroupLand(), LLPanelGroupNotices::processNotices(), LLFloaterInspect::refresh(), LLPanelAvatar::resetGroupList(), LLLiveLSLEditor::saveIfNeeded(), LLPreviewLSL::saveIfNeeded(), LLPanelGroupRolesSubTab::saveRoleChanges(), setValue(), LLFloaterBump::show(), LLPanelGroupRolesSubTab::update(), LLFloaterWorldMap::updateSims(), LLLiveLSLEditor::uploadAssetLegacy(), and LLPreviewLSL::uploadAssetLegacy().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLScrollListCtrl::clearRows (  )  [virtual]

Implements LLCtrlListInterface.

Definition at line 666 of file llscrolllistctrl.cpp.

References FALSE, mDirty, mItemList, mLastSelected, mScrollbar, mScrollLines, NULL, LLScrollbar::setDocParams(), and updateLayout().

Referenced by LLComboBox::clearRows(), deleteAllItems(), LLPanelActiveSpeakers::SpeakerClearListener::handleEvent(), and operateOnAll().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLScrollListCtrl::sortByColumn ( LLString  name,
BOOL  ascending 
) [virtual]

Definition at line 2535 of file llscrolllistctrl.cpp.

References mColumns, sortByColumn(), and sortItems().

Here is the call graph for this function:

void LLScrollListCtrl::setValue ( const LLSD value  )  [virtual]

Reimplemented from LLView.

Definition at line 3339 of file llscrolllistctrl.cpp.

References addElement(), LLSD::beginArray(), and LLSD::endArray().

Here is the call graph for this function:

LLSD LLScrollListCtrl::getValue (  )  const [virtual]

LLCtrlSelectionInterface* LLScrollListCtrl::getSelectionInterface (  )  [inline, virtual]

Reimplemented from LLUICtrl.

Definition at line 442 of file llscrolllistctrl.h.

LLCtrlListInterface* LLScrollListCtrl::getListInterface (  )  [inline, virtual]

Reimplemented from LLUICtrl.

Definition at line 443 of file llscrolllistctrl.h.

Referenced by init_group_list().

Here is the caller graph for this function:

LLCtrlScrollInterface* LLScrollListCtrl::getScrollInterface (  )  [inline, virtual]

Reimplemented from LLUICtrl.

Definition at line 444 of file llscrolllistctrl.h.

Referenced by LLPanelActiveSpeakers::refreshSpeakers().

Here is the caller graph for this function:

BOOL LLScrollListCtrl::setCurrentByID ( const LLUUID id  )  [inline, virtual]

Implements LLCtrlSelectionInterface.

Definition at line 447 of file llscrolllistctrl.h.

References selectByID().

Here is the call graph for this function:

virtual LLUUID LLScrollListCtrl::getCurrentID (  )  const [inline, virtual]

Implements LLCtrlSelectionInterface.

Definition at line 448 of file llscrolllistctrl.h.

References getStringUUIDSelectedItem().

Referenced by LLFloaterTopObjects::updateSelectionInfo().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLScrollListCtrl::operateOnSelection ( EOperation  op  )  [virtual]

Implements LLCtrlSelectionInterface.

Definition at line 3355 of file llscrolllistctrl.cpp.

References deleteSelectedItems(), deselectAllItems(), FALSE, LLCtrlSelectionInterface::OP_DELETE, LLCtrlSelectionInterface::OP_DESELECT, and TRUE.

Here is the call graph for this function:

BOOL LLScrollListCtrl::operateOnAll ( EOperation  op  )  [virtual]

BOOL LLScrollListCtrl::setMaxItemCount ( S32  max_count  ) 

Definition at line 646 of file llscrolllistctrl.cpp.

References getItemCount(), and mMaxItemCount.

Referenced by LLPanelEstateInfo::postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLScrollListCtrl::selectByID ( const LLUUID id  ) 

Definition at line 1580 of file llscrolllistctrl.cpp.

References LLCtrlSelectionInterface::selectByValue().

Referenced by LLPanelGroupRolesSubTab::handleCreateRole(), LLNameListCtrl::removeNameItem(), LLFloaterMute::selectMute(), setCurrentByID(), and LLComboBox::setCurrentByID().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLScrollListCtrl::setSelectedByValue ( const LLSD value,
BOOL  selected 
) [virtual]

BOOL LLScrollListCtrl::isSorted (  )  const [inline]

Definition at line 462 of file llscrolllistctrl.h.

References mSorted.

Referenced by LLColumnHeader::draw(), and draw().

Here is the caller graph for this function:

BOOL LLScrollListCtrl::isSelected ( const LLSD value  )  const [virtual]

Implements LLCtrlSelectionInterface.

Definition at line 1618 of file llscrolllistctrl.cpp.

References LLSD::asString(), FALSE, LLScrollListItem::getSelected(), LLScrollListItem::getValue(), and mItemList.

Referenced by LLComboBox::isSelected().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLScrollListCtrl::handleClick ( S32  x,
S32  y,
MASK  mask 
)

BOOL LLScrollListCtrl::selectFirstItem (  )  [virtual]

BOOL LLScrollListCtrl::selectNthItem ( S32  index  )  [virtual]

Implements LLCtrlSelectionInterface.

Definition at line 1089 of file llscrolllistctrl.cpp.

References selectItemRange().

Referenced by handleKeyHere(), LLColumnHeader::onClick(), LLFloaterMute::onClickRemove(), LLFloaterInspect::refresh(), selectPrevItem(), LLComboBox::setCurrentByIndex(), and LLFloaterTelehub::unpackTelehubInfo().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLScrollListCtrl::selectItemRange ( S32  first,
S32  last 
) [virtual]

Implements LLCtrlSelectionInterface.

Definition at line 1095 of file llscrolllistctrl.cpp.

References commitIfChanged(), deselectItem(), FALSE, LLScrollListItem::getEnabled(), llclamp(), mCommitOnSelectionChange, mItemList, mSearchString, S32, selectItem(), and TRUE.

Referenced by LLComboBox::selectItemRange(), and selectNthItem().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLScrollListCtrl::selectItemAt ( S32  x,
S32  y,
MASK  mask 
)

void LLScrollListCtrl::deleteSingleItem ( S32  index  ) 

void LLScrollListCtrl::deleteItems ( const LLSD sd  ) 

Definition at line 1186 of file llscrolllistctrl.cpp.

References LLSD::asString(), dirtyColumns(), LLScrollListItem::getValue(), mItemList, mLastSelected, and NULL.

Referenced by LLPanelFriends::refreshNames().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLScrollListCtrl::deleteSelectedItems (  ) 

Definition at line 1210 of file llscrolllistctrl.cpp.

References dirtyColumns(), LLScrollListItem::getSelected(), mItemList, mLastSelected, and NULL.

Referenced by LLPanelGroupMembersSubTab::handleEjectMembers(), LLPanelGroupInvite::impl::handleRemove(), operateOnSelection(), and LLComboBox::operateOnSelection().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLScrollListCtrl::deselectAllItems ( BOOL  no_commit_on_change = FALSE  ) 

void LLScrollListCtrl::highlightNthItem ( S32  index  ) 

Definition at line 1230 of file llscrolllistctrl.cpp.

References mHighlightedItem.

Referenced by handleHover(), LLComboBox::handleKeyHere(), LLComboBox::handleUnicodeCharHere(), and LLComboBox::hideList().

Here is the caller graph for this function:

void LLScrollListCtrl::setDoubleClickCallback ( void(*)(void *)  cb  )  [inline, virtual]

void LLScrollListCtrl::setMaximumSelectCallback ( void(*)(void *)  cb  )  [inline]

Definition at line 479 of file llscrolllistctrl.h.

References mOnMaximumSelectCallback.

Referenced by LLPanelFriends::postBuild().

Here is the caller graph for this function:

void LLScrollListCtrl::setSortChangedCallback ( void(*)(void *)  cb  )  [inline]

Definition at line 480 of file llscrolllistctrl.h.

References mOnSortChangedCallback.

Referenced by LLPanelDirLand::postBuild(), and LLPanelActiveSpeakers::postBuild().

Here is the caller graph for this function:

void LLScrollListCtrl::swapWithNext ( S32  index  ) 

Definition at line 1141 of file llscrolllistctrl.cpp.

References mItemList, and S32.

void LLScrollListCtrl::swapWithPrevious ( S32  index  ) 

Definition at line 1154 of file llscrolllistctrl.cpp.

References mItemList.

void LLScrollListCtrl::setCanSelect ( BOOL  can_select  )  [inline]

Definition at line 485 of file llscrolllistctrl.h.

References mCanSelect.

Referenced by LLPanelGroupVoting::impl::sendGroupProposalsRequest(), and LLPanelGroupVoting::impl::sendGroupVoteHistoryRequest().

Here is the caller graph for this function:

virtual BOOL LLScrollListCtrl::getCanSelect (  )  const [inline, virtual]

Implements LLCtrlSelectionInterface.

Definition at line 486 of file llscrolllistctrl.h.

References mCanSelect.

Referenced by canDeselect(), and canSelectAll().

Here is the caller graph for this function:

S32 LLScrollListCtrl::getItemIndex ( LLScrollListItem item  )  const

S32 LLScrollListCtrl::getItemIndex ( const LLUUID item_id  )  const

Definition at line 1281 of file llscrolllistctrl.cpp.

References LLScrollListItem::getUUID(), mItemList, and S32.

Here is the call graph for this function:

LLScrollListItem * LLScrollListCtrl::addCommentText ( const LLString comment_text,
EAddPosition  pos = ADD_BOTTOM 
)

LLScrollListItem * LLScrollListCtrl::addSeparator ( EAddPosition  pos  ) 

Definition at line 1413 of file llscrolllistctrl.cpp.

References addItem(), and FALSE.

Referenced by LLComboBox::addSeparator().

Here is the call graph for this function:

Here is the caller graph for this function:

LLScrollListItem * LLScrollListCtrl::addSimpleElement ( const LLString value,
EAddPosition  pos = ADD_BOTTOM,
const LLSD id = LLSD() 
) [virtual]

BOOL LLScrollListCtrl::selectItemByLabel ( const LLString item,
BOOL  case_sensitive = TRUE 
)

BOOL LLScrollListCtrl::selectItemByPrefix ( const LLString target,
BOOL  case_sensitive = TRUE 
)

Definition at line 1469 of file llscrolllistctrl.cpp.

References utf8str_to_wstring().

Referenced by handleKeyHere(), handleUnicodeCharHere(), and LLComboBox::updateSelection().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLScrollListCtrl::selectItemByPrefix ( const LLWString target,
BOOL  case_sensitive = TRUE 
)

const LLString LLScrollListCtrl::getSelectedItemLabel ( S32  column = 0  )  const

LLSD LLScrollListCtrl::getSelectedValue (  )  [virtual]

Implements LLCtrlSelectionInterface.

Definition at line 1644 of file llscrolllistctrl.cpp.

References getFirstSelected(), and LLScrollListItem::getValue().

Referenced by LLComboBox::getSelectedValue(), LLPanelActiveSpeakers::refreshSpeakers(), and LLFloaterWorldMap::updateSims().

Here is the call graph for this function:

Here is the caller graph for this function:

LLScrollListItem * LLScrollListCtrl::addStringUUIDItem ( const LLString item_text,
const LLUUID id,
EAddPosition  pos = ADD_BOTTOM,
BOOL  enabled = TRUE,
S32  column_width = 0 
)

Definition at line 1567 of file llscrolllistctrl.cpp.

References LLScrollListItem::addColumn(), addItem(), LLSingleton< LLResMgr >::getInstance(), getItemCount(), LLFONT_SANSSERIF_SMALL, mMaxItemCount, and NULL.

Referenced by LLNameListCtrl::addGroupNameItem(), LLNameListCtrl::addNameItem(), and LLFloaterMute::refreshMuteList().

Here is the call graph for this function:

Here is the caller graph for this function:

LLUUID LLScrollListCtrl::getStringUUIDSelectedItem (  )  const

Definition at line 1632 of file llscrolllistctrl.cpp.

References getFirstSelected(), LLScrollListItem::getUUID(), and LLUUID::null.

Referenced by getCurrentID(), LLComboBox::getCurrentID(), and LLFloaterMute::onClickRemove().

Here is the call graph for this function:

Here is the caller graph for this function:

LLScrollListItem * LLScrollListCtrl::getFirstSelected (  )  const

Definition at line 682 of file llscrolllistctrl.cpp.

References LLScrollListItem::getSelected(), mItemList, and NULL.

Referenced by LLPanelGroupRolesSubTab::buildMembersList(), canCopy(), LLPanelEstateInfo::checkRemovalButton(), LLPanelMsgs::draw(), LLComboBox::getCurrentIndex(), LLComboBox::getCurrentUserdata(), getSelectedItemLabel(), LLFloaterInspect::getSelectedUUID(), getSelectedValue(), getStringUUIDSelectedItem(), getValue(), LLComboBox::getValue(), LLPanelGroupRolesSubTab::handleActionCheck(), LLPanelGroupRolesSubTab::handleDeleteRole(), handleKeyHere(), LLPanelGroupMembersSubTab::handleMemberDoubleClick(), LLPanelGroupRolesSubTab::handleMemberVisibilityChange(), LLPanelGroupRolesSubTab::handleRoleSelect(), LLFloaterInspect::onClickCreatorProfile(), LLFloaterInspect::onClickOwnerProfile(), LLPanelAvatarSecondLife::onDoubleClickGroup(), LLPanelGroupLandMoney::impl::onMapButton(), LLDispatchSetEstateAccess::operator()(), LLPreviewGesture::refresh(), LLFloaterTelehub::refresh(), LLFloaterInspect::refresh(), LLPanelFriends::refreshUI(), LLComboBox::remove(), LLNameListCtrl::removeNameItem(), selectNextItem(), selectPrevItem(), LLPanelGroupVoting::impl::setEnableHistoryItem(), LLPanelGroupVoting::impl::setEnableVoteProposal(), setFocus(), LLComboBox::setValue(), LLFloaterTopObjects::showBeacon(), LLPanelGroupRolesSubTab::update(), LLFloaterMute::updateButtons(), and LLFloaterTopObjects::updateSelectionInfo().

Here is the call graph for this function:

Here is the caller graph for this function:

S32 LLScrollListCtrl::getFirstSelectedIndex (  )  const [virtual]

std::vector< LLScrollListItem * > LLScrollListCtrl::getAllSelected (  )  const

LLScrollListItem* LLScrollListCtrl::getLastSelectedItem (  )  const [inline]

Definition at line 514 of file llscrolllistctrl.h.

References mLastSelected.

Referenced by LLComboBox::handleKeyHere(), and LLComboBox::handleUnicodeCharHere().

Here is the caller graph for this function:

LLScrollListItem * LLScrollListCtrl::getFirstData (  )  const

Definition at line 728 of file llscrolllistctrl.cpp.

References mItemList, and NULL.

Referenced by LLColumnHeader::showList().

Here is the caller graph for this function:

LLScrollListItem * LLScrollListCtrl::getLastData (  )  const

Definition at line 737 of file llscrolllistctrl.cpp.

References mItemList, and NULL.

Referenced by LLColumnHeader::showList().

Here is the caller graph for this function:

std::vector< LLScrollListItem * > LLScrollListCtrl::getAllData (  )  const

LLScrollListItem * LLScrollListCtrl::getItem ( const LLSD sd  )  const

Definition at line 759 of file llscrolllistctrl.cpp.

References LLSD::asString(), LLScrollListItem::getValue(), mItemList, and NULL.

Referenced by LLPanelFriends::updateFriendItem().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLScrollListCtrl::setAllowMultipleSelection ( BOOL  mult  )  [inline]

Definition at line 523 of file llscrolllistctrl.h.

References mAllowMultipleSelection.

Referenced by LLFloaterAvatarPicker::setAllowMultiple().

Here is the caller graph for this function:

void LLScrollListCtrl::setBgWriteableColor ( const LLColor4 c  )  [inline]

Definition at line 525 of file llscrolllistctrl.h.

References mBgWriteableColor.

Referenced by LLComboBox::LLComboBox(), and setScrollListParameters().

Here is the caller graph for this function:

void LLScrollListCtrl::setReadOnlyBgColor ( const LLColor4 c  )  [inline]

Definition at line 526 of file llscrolllistctrl.h.

References mBgReadOnlyColor.

Referenced by setScrollListParameters().

Here is the caller graph for this function:

void LLScrollListCtrl::setBgSelectedColor ( const LLColor4 c  )  [inline]

Definition at line 527 of file llscrolllistctrl.h.

References mBgSelectedColor.

Referenced by LLPanelGroupVoting::impl::setEnableListProposals(), and setScrollListParameters().

Here is the caller graph for this function:

void LLScrollListCtrl::setBgStripeColor ( const LLColor4 c  )  [inline]

Definition at line 528 of file llscrolllistctrl.h.

References mBgStripeColor.

Referenced by setScrollListParameters().

Here is the caller graph for this function:

void LLScrollListCtrl::setFgSelectedColor ( const LLColor4 c  )  [inline]

Definition at line 529 of file llscrolllistctrl.h.

References mFgSelectedColor.

Referenced by setScrollListParameters().

Here is the caller graph for this function:

void LLScrollListCtrl::setFgUnselectedColor ( const LLColor4 c  )  [inline]

Definition at line 530 of file llscrolllistctrl.h.

References mFgUnselectedColor.

Referenced by setScrollListParameters().

Here is the caller graph for this function:

void LLScrollListCtrl::setHighlightedColor ( const LLColor4 c  )  [inline]

Definition at line 531 of file llscrolllistctrl.h.

References mHighlightedColor.

Referenced by setScrollListParameters().

Here is the caller graph for this function:

void LLScrollListCtrl::setFgDisableColor ( const LLColor4 c  )  [inline]

Definition at line 532 of file llscrolllistctrl.h.

References mFgDisabledColor.

Referenced by setScrollListParameters().

Here is the caller graph for this function:

void LLScrollListCtrl::setBackgroundVisible ( BOOL  b  )  [inline]

Definition at line 534 of file llscrolllistctrl.h.

References mBackgroundVisible.

Referenced by setScrollListParameters().

Here is the caller graph for this function:

void LLScrollListCtrl::setDrawStripes ( BOOL  b  )  [inline]

Definition at line 535 of file llscrolllistctrl.h.

References mDrawStripes.

Referenced by setScrollListParameters().

Here is the caller graph for this function:

void LLScrollListCtrl::setColumnPadding ( const S32  c  )  [inline]

Definition at line 536 of file llscrolllistctrl.h.

References mColumnPadding.

Referenced by setScrollListParameters().

Here is the caller graph for this function:

S32 LLScrollListCtrl::getColumnPadding (  )  [inline]

Definition at line 537 of file llscrolllistctrl.h.

References mColumnPadding.

Referenced by LLColumnHeader::userSetShape().

Here is the caller graph for this function:

void LLScrollListCtrl::setCommitOnKeyboardMovement ( BOOL  b  )  [inline]

Definition at line 538 of file llscrolllistctrl.h.

References mCommitOnKeyboardMovement.

Referenced by LLComboBox::LLComboBox().

Here is the caller graph for this function:

void LLScrollListCtrl::setCommitOnSelectionChange ( BOOL  b  )  [inline]

void LLScrollListCtrl::setAllowKeyboardMovement ( BOOL  b  )  [inline]

Definition at line 540 of file llscrolllistctrl.h.

References mAllowKeyboardMovement.

Referenced by LLFloaterTelehub::LLFloaterTelehub().

Here is the caller graph for this function:

void LLScrollListCtrl::setMaxSelectable ( U32  max_selected  )  [inline]

Definition at line 542 of file llscrolllistctrl.h.

References mMaxSelectable.

Referenced by LLPanelFriends::postBuild().

Here is the caller graph for this function:

S32 LLScrollListCtrl::getMaxSelectable (  )  [inline]

Definition at line 543 of file llscrolllistctrl.h.

References mMaxSelectable.

S32 LLScrollListCtrl::getScrollPos (  )  const [virtual]

Implements LLCtrlScrollInterface.

Definition at line 2587 of file llscrolllistctrl.cpp.

References LLScrollbar::getDocPos(), and mScrollbar.

Referenced by LLFloaterNewIM::getScrollPos(), LLFloaterInspect::refresh(), and LLPanelFriends::refreshNames().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLScrollListCtrl::setScrollPos ( S32  pos  )  [virtual]

Implements LLCtrlScrollInterface.

Definition at line 2593 of file llscrolllistctrl.cpp.

References LLScrollbar::getDocPos(), mScrollbar, onScrollChange(), and LLScrollbar::setDocPos().

Referenced by LLFloaterInspect::refresh(), LLPanelFriends::refreshNames(), scrollToShowSelected(), and LLFloaterNewIM::setScrollPos().

Here is the call graph for this function:

Here is the caller graph for this function:

S32 LLScrollListCtrl::getSearchColumn (  )  [inline]

Definition at line 549 of file llscrolllistctrl.h.

References mSearchColumn.

void LLScrollListCtrl::setSearchColumn ( S32  column  )  [inline]

Definition at line 550 of file llscrolllistctrl.h.

References mSearchColumn.

Referenced by fromXML().

Here is the caller graph for this function:

S32 LLScrollListCtrl::getColumnIndexFromOffset ( S32  x  ) 

Definition at line 2102 of file llscrolllistctrl.cpp.

References getNumColumns(), llclamp(), mColumnPadding, mColumnsIndexed, and S32.

Referenced by handleClick(), and handleToolTip().

Here is the call graph for this function:

Here is the caller graph for this function:

S32 LLScrollListCtrl::getColumnOffsetFromIndex ( S32  index  ) 

Definition at line 2130 of file llscrolllistctrl.cpp.

References mColumnPadding, mColumnsIndexed, mItemListRect, LLRectBase< Type >::mRight, and S32.

Referenced by handleToolTip().

Here is the caller graph for this function:

S32 LLScrollListCtrl::getRowOffsetFromIndex ( S32  index  ) 

Definition at line 2148 of file llscrolllistctrl.cpp.

References mItemListRect, mLineHeight, mScrollLines, LLRectBase< Type >::mTop, and S32.

Referenced by handleToolTip().

Here is the caller graph for this function:

void LLScrollListCtrl::clearSearchString (  )  [inline]

Definition at line 555 of file llscrolllistctrl.h.

References mSearchString.

Referenced by LLComboBox::setFocus().

Here is the caller graph for this function:

void LLScrollListCtrl::draw ( void   )  [virtual]

BOOL LLScrollListCtrl::handleMouseDown ( S32  x,
S32  y,
MASK  mask 
) [virtual]

Reimplemented from LLView.

Definition at line 1948 of file llscrolllistctrl.cpp.

References LLView::childrenHandleMouseDown(), FALSE, handleClick(), mSelectionChanged, NULL, setFocus(), and TRUE.

Here is the call graph for this function:

BOOL LLScrollListCtrl::handleMouseUp ( S32  x,
S32  y,
MASK  mask 
) [virtual]

BOOL LLScrollListCtrl::handleDoubleClick ( S32  x,
S32  y,
MASK  mask 
) [virtual]

Reimplemented from LLView.

Definition at line 1991 of file llscrolllistctrl.cpp.

References LLView::childrenHandleDoubleClick(), handleClick(), LLUICtrl::mCallbackUserData, mCanSelect, mOnDoubleClickCallback, NULL, and TRUE.

Here is the call graph for this function:

BOOL LLScrollListCtrl::handleHover ( S32  x,
S32  y,
MASK  mask 
) [virtual]

Reimplemented from LLView.

Definition at line 2156 of file llscrolllistctrl.cpp.

References FALSE, getItemIndex(), LLView::handleHover(), LLView::hasMouseCapture(), highlightNthItem(), hitItem(), MASK_NONE, mCanSelect, mNeedsScroll, selectItemAt(), and TRUE.

Here is the call graph for this function:

BOOL LLScrollListCtrl::handleKeyHere ( KEY  key,
MASK  mask 
) [virtual]

BOOL LLScrollListCtrl::handleUnicodeCharHere ( llwchar  uni_char  )  [virtual]

BOOL LLScrollListCtrl::handleScrollWheel ( S32  x,
S32  y,
S32  clicks 
) [virtual]

Reimplemented from LLView.

Definition at line 1787 of file llscrolllistctrl.cpp.

References FALSE, LLScrollbar::handleScrollWheel(), and mScrollbar.

Here is the call graph for this function:

BOOL LLScrollListCtrl::handleToolTip ( S32  x,
S32  y,
LLString msg,
LLRect sticky_rect 
)

void LLScrollListCtrl::setEnabled ( BOOL  enabled  )  [virtual]

void LLScrollListCtrl::setFocus ( BOOL  b  )  [virtual]

Reimplemented from LLUICtrl.

Definition at line 3387 of file llscrolllistctrl.cpp.

References getFirstSelected(), mSearchString, selectFirstItem(), and LLUICtrl::setFocus().

Referenced by handleMouseDown(), LLComboBox::setFocus(), and LLComboBox::showList().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLScrollListCtrl::onFocusReceived (  )  [virtual]

Reimplemented from LLUICtrl.

Definition at line 3420 of file llscrolllistctrl.cpp.

References FALSE, mSelectionChanged, and LLUICtrl::onFocusReceived().

Here is the call graph for this function:

void LLScrollListCtrl::onFocusLost (  )  [virtual]

Reimplemented from LLUICtrl.

Definition at line 3428 of file llscrolllistctrl.cpp.

References gFocusMgr, LLView::hasMouseCapture(), NULL, LLUICtrl::onFocusLost(), and LLFocusMgr::setMouseCapture().

Here is the call graph for this function:

void LLScrollListCtrl::reshape ( S32  width,
S32  height,
BOOL  called_from_parent = TRUE 
) [virtual]

Reimplemented from LLView.

Definition at line 777 of file llscrolllistctrl.cpp.

References LLView::reshape(), and updateLayout().

Referenced by fitContents(), LLColumnHeader::LLColumnHeader(), LLColumnHeader::showList(), and LLComboBox::showList().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLScrollListCtrl::isDirty (  )  const [virtual]

Reimplemented from LLUICtrl.

Definition at line 3401 of file llscrolllistctrl.cpp.

References getFirstSelectedIndex(), mAllowMultipleSelection, mDirty, and mOriginalSelection.

Referenced by LLComboBox::isDirty().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLScrollListCtrl::resetDirty (  )  [virtual]

Reimplemented from LLUICtrl.

Definition at line 3412 of file llscrolllistctrl.cpp.

References FALSE, getFirstSelectedIndex(), mDirty, and mOriginalSelection.

Referenced by LLComboBox::resetDirty().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLScrollListCtrl::updateLayout (  )  [virtual]

void LLScrollListCtrl::fitContents ( S32  max_width,
S32  max_height 
) [virtual]

Definition at line 813 of file llscrolllistctrl.cpp.

References LLView::getRect(), getRequiredRect(), LLRectBase< Type >::getWidth(), llmin(), reshape(), and S32.

Referenced by LLComboBox::showList().

Here is the call graph for this function:

Here is the caller graph for this function:

LLRect LLScrollListCtrl::getRequiredRect (  )  [virtual]

Reimplemented from LLView.

Definition at line 822 of file llscrolllistctrl.cpp.

References getItemCount(), LLView::getRect(), LLRectBase< Type >::getWidth(), mBorderThickness, mDisplayColumnHeaders, mHeadingHeight, mLineHeight, and S32.

Referenced by fitContents().

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL LLScrollListCtrl::rowPreceeds ( LLScrollListItem new_row,
LLScrollListItem test_row 
) [static]

LLRect LLScrollListCtrl::getItemListRect (  )  [inline]

Definition at line 582 of file llscrolllistctrl.h.

References mItemListRect.

Referenced by LLColumnHeader::userSetShape().

Here is the caller graph for this function:

void LLScrollListCtrl::onScrollChange ( S32  new_pos,
LLScrollbar src,
void *  userdata 
) [static]

Definition at line 2528 of file llscrolllistctrl.cpp.

Referenced by setScrollPos().

Here is the caller graph for this function:

void LLScrollListCtrl::onClickColumn ( void *  userdata  )  [static]

void LLScrollListCtrl::updateColumns (  ) 

void LLScrollListCtrl::calcColumnWidths (  ) 

S32 LLScrollListCtrl::getMaxContentWidth (  )  [inline]

Definition at line 591 of file llscrolllistctrl.h.

References mMaxContentWidth.

Referenced by LLComboBox::showList().

Here is the caller graph for this function:

void LLScrollListCtrl::setDisplayHeading ( BOOL  display  ) 

Definition at line 1039 of file llscrolllistctrl.cpp.

References mDisplayColumnHeaders, and updateLayout().

Referenced by LLNameListCtrl::fromXML(), and fromXML().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLScrollListCtrl::setHeadingHeight ( S32  heading_height  ) 

Definition at line 1046 of file llscrolllistctrl.cpp.

References mHeadingHeight, and updateLayout().

Referenced by LLNameListCtrl::fromXML(), and fromXML().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLScrollListCtrl::setCollapseEmptyColumns ( BOOL  collapse  ) 

LLScrollListItem * LLScrollListCtrl::hitItem ( S32  x,
S32  y 
)

void LLScrollListCtrl::scrollToShowSelected (  )  [virtual]

Implements LLCtrlScrollInterface.

Definition at line 2601 of file llscrolllistctrl.cpp.

References getFirstSelectedIndex(), LLView::hasMouseCapture(), mItemList, mPageLines, mScrollLines, S32, and setScrollPos().

Referenced by draw().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLScrollListCtrl::copy (  )  [virtual]

Reimplemented from LLEditMenuHandler.

Definition at line 2930 of file llscrolllistctrl.cpp.

References LLClipboard::copyFromSubstring(), gClipboard, getAllSelected(), and utf8str_to_wstring().

Referenced by cut().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLScrollListCtrl::canCopy (  )  const [virtual]

Reimplemented from LLEditMenuHandler.

Definition at line 2944 of file llscrolllistctrl.cpp.

References getFirstSelected(), and NULL.

Referenced by canCut().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLScrollListCtrl::cut (  )  [virtual]

Reimplemented from LLEditMenuHandler.

Definition at line 2950 of file llscrolllistctrl.cpp.

References copy(), and LLEditMenuHandler::doDelete().

Here is the call graph for this function:

BOOL LLScrollListCtrl::canCut (  )  const [virtual]

Reimplemented from LLEditMenuHandler.

Definition at line 2957 of file llscrolllistctrl.cpp.

References canCopy(), and LLEditMenuHandler::canDoDelete().

Here is the call graph for this function:

void LLScrollListCtrl::selectAll (  )  [virtual]

Reimplemented from LLEditMenuHandler.

Definition at line 2963 of file llscrolllistctrl.cpp.

References commitIfChanged(), FALSE, LLScrollListItem::getEnabled(), mCommitOnSelectionChange, mItemList, and selectItem().

Referenced by operateOnAll().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLScrollListCtrl::canSelectAll (  )  const [virtual]

Reimplemented from LLEditMenuHandler.

Definition at line 2983 of file llscrolllistctrl.cpp.

References getCanSelect(), mAllowMultipleSelection, mItemList, and mMaxSelectable.

Here is the call graph for this function:

void LLScrollListCtrl::deselect (  )  [virtual]

Reimplemented from LLEditMenuHandler.

Definition at line 2989 of file llscrolllistctrl.cpp.

References deselectAllItems().

Referenced by LLFlyoutButton::onActionButtonClick().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLScrollListCtrl::canDeselect (  )  const [virtual]

Reimplemented from LLEditMenuHandler.

Definition at line 2995 of file llscrolllistctrl.cpp.

References getCanSelect().

Here is the call graph for this function:

void LLScrollListCtrl::setNumDynamicColumns ( int  num  )  [inline]

Definition at line 610 of file llscrolllistctrl.h.

References mNumDynamicWidthColumns.

void LLScrollListCtrl::setTotalStaticColumnWidth ( int  width  )  [inline]

Definition at line 611 of file llscrolllistctrl.h.

References mTotalStaticColumnWidth.

Referenced by LLNameListCtrl::fromXML(), and fromXML().

Here is the caller graph for this function:

std::string LLScrollListCtrl::getSortColumnName (  ) 

Definition at line 3112 of file llscrolllistctrl.cpp.

References mColumnsIndexed, LLScrollListColumn::mName, mSortColumns, and NULL.

Referenced by LLColumnHeader::draw(), LLPanelActiveSpeakers::onSortChanged(), and LLPanelDirLand::performQuery().

Here is the caller graph for this function:

BOOL LLScrollListCtrl::getSortAscending (  )  [inline]

Definition at line 614 of file llscrolllistctrl.h.

References mSortColumns, and TRUE.

Referenced by LLColumnHeader::draw(), LLColumnHeader::onClick(), LLPanelActiveSpeakers::onSortChanged(), LLPanelDirLand::performQuery(), and LLColumnHeader::showList().

Here is the caller graph for this function:

BOOL LLScrollListCtrl::needsSorting (  ) 

Definition at line 3120 of file llscrolllistctrl.cpp.

References mSortColumns.

Referenced by draw().

Here is the caller graph for this function:

S32 LLScrollListCtrl::selectMultiple ( LLDynamicArray< LLUUID ids  ) 

Definition at line 1238 of file llscrolllistctrl.cpp.

References commitIfChanged(), FALSE, LLScrollListItem::getEnabled(), LLScrollListItem::getUUID(), mCommitOnSelectionChange, mItemList, S32, and selectItem().

Referenced by LLPanelFriends::refreshNames().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLScrollListCtrl::sortItems (  ) 

Definition at line 2559 of file llscrolllistctrl.cpp.

References mItemList, mSortColumns, setSorted(), and TRUE.

Referenced by draw(), LLPanelGroupNotices::processNotices(), LLPanelFriends::refreshNames(), sortByColumn(), and LLPanelFriends::updateFriendItem().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLScrollListCtrl::setSorted ( BOOL  sorted  )  [inline]

Definition at line 621 of file llscrolllistctrl.h.

References mSorted.

Referenced by addItem(), LLPanelActiveSpeakers::refreshSpeakers(), and sortItems().

Here is the caller graph for this function:

void LLScrollListCtrl::dirtyColumns (  ) 

Definition at line 2570 of file llscrolllistctrl.cpp.

References mColumns, mColumnsDirty, mColumnsIndexed, and TRUE.

Referenced by addColumn(), LLNameListCtrl::addElement(), deleteItems(), deleteSelectedItems(), deleteSingleItem(), LLNameListCtrl::refresh(), and updateLayout().

Here is the caller graph for this function:

BOOL LLScrollListCtrl::addItem ( LLScrollListItem item,
EAddPosition  pos = ADD_BOTTOM,
BOOL  requires_column = TRUE 
) [protected]

item_list& LLScrollListCtrl::getItemList (  )  [inline, protected]

Definition at line 643 of file llscrolllistctrl.h.

References mItemList.

Referenced by LLNameListCtrl::refresh().

Here is the caller graph for this function:

void LLScrollListCtrl::selectPrevItem ( BOOL  extend_selection  )  [private]

void LLScrollListCtrl::selectNextItem ( BOOL  extend_selection  )  [private]

Definition at line 1340 of file llscrolllistctrl.cpp.

References LLScrollListItem::getEnabled(), getFirstSelected(), LLScrollListItem::getSelected(), mCommitOnKeyboardMovement, mItemList, mSearchString, NULL, LLUICtrl::onCommit(), reportInvalidInput(), selectFirstItem(), and selectItem().

Referenced by handleKeyHere().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLScrollListCtrl::drawItems (  )  [private]

void LLScrollListCtrl::updateLineHeight (  )  [private]

Definition at line 947 of file llscrolllistctrl.cpp.

References LLScrollListItem::getColumn(), LLScrollListItem::getNumColumns(), i, llmax(), mItemList, mLineHeight, and S32.

Here is the call graph for this function:

void LLScrollListCtrl::updateLineHeightInsert ( LLScrollListItem item  )  [private]

Definition at line 964 of file llscrolllistctrl.cpp.

References LLScrollListItem::getColumn(), LLScrollListItem::getNumColumns(), i, llmax(), mLineHeight, and S32.

Referenced by addItem().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLScrollListCtrl::reportInvalidInput (  )  [private]

Definition at line 2414 of file llscrolllistctrl.cpp.

References make_ui_sound().

Referenced by selectNextItem(), and selectPrevItem().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLScrollListCtrl::isRepeatedChars ( const LLWString string  )  const [private]

Definition at line 2419 of file llscrolllistctrl.cpp.

References FALSE, i, and TRUE.

Referenced by handleUnicodeCharHere().

Here is the caller graph for this function:

void LLScrollListCtrl::selectItem ( LLScrollListItem itemp,
BOOL  single_select = TRUE 
) [private]

void LLScrollListCtrl::deselectItem ( LLScrollListItem itemp  )  [private]

void LLScrollListCtrl::commitIfChanged (  )  [private]

Definition at line 2484 of file llscrolllistctrl.cpp.

References FALSE, mDirty, mSelectionChanged, LLUICtrl::onCommit(), and TRUE.

Referenced by deselectAllItems(), selectAll(), selectFirstItem(), selectItemAt(), selectItemByLabel(), selectItemRange(), selectMultiple(), selectPrevItem(), and setSelectedByValue().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLScrollListCtrl::setSort ( S32  column,
BOOL  ascending 
) [private]

Definition at line 2502 of file llscrolllistctrl.cpp.

References mSortColumns, and TRUE.

Referenced by sortByColumn().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 659 of file llscrolllistctrl.h.

Definition at line 660 of file llscrolllistctrl.h.

Definition at line 664 of file llscrolllistctrl.h.

Referenced by drawItems(), hitItem(), scrollToShowSelected(), and updateLayout().

Definition at line 666 of file llscrolllistctrl.h.

Referenced by canSelectAll(), getMaxSelectable(), selectItemAt(), and setMaxSelectable().

Definition at line 669 of file llscrolllistctrl.h.

Referenced by handleKeyHere(), and setAllowKeyboardMovement().

Definition at line 676 of file llscrolllistctrl.h.

Referenced by dirtyColumns(), and draw().

Definition at line 682 of file llscrolllistctrl.h.

Referenced by addCommentText(), addItem(), addStringUUIDItem(), and setMaxItemCount().

Definition at line 685 of file llscrolllistctrl.h.

Referenced by calcColumnWidths(), and getMaxContentWidth().

Definition at line 688 of file llscrolllistctrl.h.

Referenced by draw(), getXML(), and setBackgroundVisible().

Definition at line 689 of file llscrolllistctrl.h.

Referenced by drawItems(), getXML(), and setDrawStripes().

Definition at line 691 of file llscrolllistctrl.h.

Referenced by draw(), getXML(), and setBgWriteableColor().

Definition at line 692 of file llscrolllistctrl.h.

Referenced by draw(), drawItems(), getXML(), and setReadOnlyBgColor().

Definition at line 693 of file llscrolllistctrl.h.

Referenced by drawItems(), getXML(), and setBgSelectedColor().

Definition at line 694 of file llscrolllistctrl.h.

Referenced by drawItems(), getXML(), and setBgStripeColor().

Definition at line 695 of file llscrolllistctrl.h.

Referenced by drawItems(), getXML(), and setFgSelectedColor().

Definition at line 696 of file llscrolllistctrl.h.

Referenced by addCommentText(), drawItems(), getXML(), and setFgUnselectedColor().

Definition at line 697 of file llscrolllistctrl.h.

Referenced by drawItems(), getXML(), and setFgDisableColor().

Definition at line 698 of file llscrolllistctrl.h.

Referenced by drawItems(), getXML(), and setHighlightedColor().

Definition at line 700 of file llscrolllistctrl.h.

Referenced by getRequiredRect(), and updateLayout().

void(* LLScrollListCtrl::mOnDoubleClickCallback)(void *userdata) [private]

void(* LLScrollListCtrl::mOnMaximumSelectCallback)(void *userdata) [private]

void(* LLScrollListCtrl::mOnSortChangedCallback)(void *userdata) [private]

Definition at line 705 of file llscrolllistctrl.h.

Referenced by drawItems(), and highlightNthItem().

Definition at line 706 of file llscrolllistctrl.h.

Referenced by draw(), and getXML().

Definition at line 709 of file llscrolllistctrl.h.

Referenced by drawItems(), handleKeyHere(), and handleUnicodeCharHere().

Definition at line 712 of file llscrolllistctrl.h.

Referenced by addColumn(), calcColumnWidths(), and setNumDynamicColumns().

Definition at line 713 of file llscrolllistctrl.h.

Referenced by addColumn(), calcColumnWidths(), and setTotalStaticColumnWidth().

Definition at line 715 of file llscrolllistctrl.h.

Referenced by isSorted(), and setSorted().

Definition at line 720 of file llscrolllistctrl.h.

Referenced by clearRows(), commitIfChanged(), handleMouseUp(), isDirty(), and resetDirty().

Definition at line 721 of file llscrolllistctrl.h.

Referenced by isDirty(), resetDirty(), and selectFirstItem().

Definition at line 730 of file llscrolllistctrl.h.

Referenced by drawItems().


The documentation for this class was generated from the following files:

Generated on Fri May 16 09:03:07 2008 for SecondLife by  doxygen 1.5.5