LLPanelDirBrowser Class Reference

#include <llpaneldirbrowser.h>

Inheritance diagram for LLPanelDirBrowser:

Inheritance graph
[legend]
Collaboration diagram for LLPanelDirBrowser:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLPanelDirBrowser (const std::string &name, LLFloaterDirectory *floater)
virtual ~LLPanelDirBrowser ()
virtual BOOL postBuild ()
virtual void draw ()
virtual void onVisibilityChange (BOOL curVisibilityIn)
virtual void prevPage ()
virtual void nextPage ()
void resetSearchStart ()
virtual void performQuery ()
const LLUUIDgetSearchID () const
void selectByUUID (const LLUUID &id)
void selectEventByID (S32 event_id)
U32 getSelectedEventID () const
void getSelectedInfo (LLUUID *id, S32 *type)
void showDetailPanel (S32 type, LLSD item_id)
void setupNewSearch ()
void addHelpText (const char *text)
void newClassified ()
void showEvent (const U32 event_id)
std::string filterShortWords (const std::string source_string, int shortest_word_length, bool &was_filtered)

Static Public Member Functions

static void onClickSearchCore (void *userdata)
static void sendDirFindQuery (LLMessageSystem *msg, const LLUUID &query_id, const LLString &text, U32 flags, S32 query_start)
static void onClickNext (void *data)
static void onClickPrev (void *data)
static void onCommitList (LLUICtrl *ctrl, void *data)
static void processDirPeopleReply (LLMessageSystem *msg, void **)
static void processDirPlacesReply (LLMessageSystem *msg, void **)
static void processDirEventsReply (LLMessageSystem *msg, void **)
static void processDirGroupsReply (LLMessageSystem *msg, void **)
static void processDirClassifiedReply (LLMessageSystem *msg, void **)
static void processDirLandReply (LLMessageSystem *msg, void **)

Protected Member Functions

void updateResultCount ()
void addClassified (LLCtrlListInterface *list, const LLUUID &classified_id, const char *name, const U32 creation_date, const S32 price_for_listing)
LLSD createLandSale (const LLUUID &parcel_id, BOOL is_auction, BOOL is_for_sale, const LLString &name, S32 *type)
S32 showNextButton (S32 rows)

Static Protected Member Functions

static void onKeystrokeName (LLLineEditor *line, void *data)

Protected Attributes

LLUUID mSearchID
LLUUID mWantSelectID
LLString mCurrentSortColumn
BOOL mCurrentSortAscending
S32 mSearchStart
S32 mResultsPerPage
S32 mResultsReceived
U32 mMinSearchChars
LLSD mResultsContents
BOOL mHaveSearchResults
BOOL mDidAutoSelect
LLFrameTimer mLastResultTimer
LLFloaterDirectorymFloaterDirectory


Detailed Description

Definition at line 48 of file llpaneldirbrowser.h.


Constructor & Destructor Documentation

LLPanelDirBrowser::LLPanelDirBrowser ( const std::string &  name,
LLFloaterDirectory floater 
)

Definition at line 84 of file llpaneldirbrowser.cpp.

LLPanelDirBrowser::~LLPanelDirBrowser (  )  [virtual]

Definition at line 116 of file llpaneldirbrowser.cpp.

References mSearchID, and LLMap< INDEX_TYPE, MAPPED_TYPE >::removeData().

Here is the call graph for this function:


Member Function Documentation

BOOL LLPanelDirBrowser::postBuild ( void   )  [virtual]

void LLPanelDirBrowser::draw ( void   )  [virtual]

void LLPanelDirBrowser::onVisibilityChange ( BOOL  curVisibilityIn  )  [virtual]

Reimplemented from LLView.

Reimplemented in LLPanelDirFind.

Definition at line 1172 of file llpaneldirbrowser.cpp.

References NULL, onCommitList(), and LLView::onVisibilityChange().

Here is the call graph for this function:

void LLPanelDirBrowser::prevPage (  )  [virtual]

Definition at line 166 of file llpaneldirbrowser.cpp.

References LLPanel::childSetVisible(), mResultsPerPage, mSearchStart, and performQuery().

Here is the call graph for this function:

void LLPanelDirBrowser::nextPage (  )  [virtual]

Definition at line 156 of file llpaneldirbrowser.cpp.

References LLPanel::childShow(), mResultsPerPage, mSearchStart, and performQuery().

Here is the call graph for this function:

void LLPanelDirBrowser::resetSearchStart (  ) 

Definition at line 175 of file llpaneldirbrowser.cpp.

References LLPanel::childHide(), and mSearchStart.

Here is the call graph for this function:

virtual void LLPanelDirBrowser::performQuery (  )  [inline, virtual]

Reimplemented in LLPanelDirClassified, LLPanelDirEvents, LLPanelDirLand, and LLPanelDirPeople.

Definition at line 66 of file llpaneldirbrowser.h.

Referenced by nextPage(), and prevPage().

Here is the caller graph for this function:

const LLUUID& LLPanelDirBrowser::getSearchID (  )  const [inline]

Definition at line 68 of file llpaneldirbrowser.h.

References mSearchID.

Referenced by LLPanelDirLand::performQuery().

Here is the caller graph for this function:

void LLPanelDirBrowser::selectByUUID ( const LLUUID id  ) 

Definition at line 274 of file llpaneldirbrowser.cpp.

References LLPanel::childGetListInterface(), mWantSelectID, NULL, onCommitList(), LLCtrlSelectionInterface::setCurrentByID(), and LLUUID::setNull().

Referenced by LLFloaterDirectory::showClassified(), and LLFloaterDirectory::showLandForSale().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelDirBrowser::selectEventByID ( S32  event_id  ) 

Definition at line 294 of file llpaneldirbrowser.cpp.

References mFloaterDirectory, LLFloaterDirectory::mPanelEventp, LLPanelEvent::setEventID(), LLView::setVisible(), and TRUE.

Referenced by LLFloaterDirectory::showEvents().

Here is the call graph for this function:

Here is the caller graph for this function:

U32 LLPanelDirBrowser::getSelectedEventID (  )  const

Definition at line 306 of file llpaneldirbrowser.cpp.

References LLPanelEvent::getEventID(), mFloaterDirectory, and LLFloaterDirectory::mPanelEventp.

Here is the call graph for this function:

void LLPanelDirBrowser::getSelectedInfo ( LLUUID id,
S32 type 
)

Definition at line 318 of file llpaneldirbrowser.cpp.

References LLSD::asString(), LLSD::asUUID(), LLPanel::childGetListInterface(), LLPanel::childGetValue(), and mResultsContents.

Here is the call graph for this function:

void LLPanelDirBrowser::showDetailPanel ( S32  type,
LLSD  item_id 
)

void LLPanelDirBrowser::setupNewSearch (  ) 

void LLPanelDirBrowser::onClickSearchCore ( void *  userdata  )  [static]

void LLPanelDirBrowser::sendDirFindQuery ( LLMessageSystem msg,
const LLUUID query_id,
const LLString text,
U32  flags,
S32  query_start 
) [static]

void LLPanelDirBrowser::addHelpText ( const char *  text  ) 

Definition at line 1147 of file llpaneldirbrowser.cpp.

References LLScrollListCtrl::addCommentText(), and LLPanel::childDisable().

Here is the call graph for this function:

void LLPanelDirBrowser::newClassified (  ) 

void LLPanelDirBrowser::showEvent ( const U32  event_id  ) 

Definition at line 431 of file llpaneldirbrowser.cpp.

References LLFloaterDirectory::hideAllDetailPanels(), mFloaterDirectory, LLFloaterDirectory::mPanelEventp, LLPanelEvent::setEventID(), LLView::setVisible(), and TRUE.

Referenced by showDetailPanel().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelDirBrowser::onClickNext ( void *  data  )  [static]

Definition at line 229 of file llpaneldirbrowser.cpp.

Referenced by postBuild().

Here is the caller graph for this function:

void LLPanelDirBrowser::onClickPrev ( void *  data  )  [static]

Definition at line 221 of file llpaneldirbrowser.cpp.

Referenced by postBuild().

Here is the caller graph for this function:

void LLPanelDirBrowser::onCommitList ( LLUICtrl ctrl,
void *  data 
) [static]

Definition at line 333 of file llpaneldirbrowser.cpp.

References EVENT_CODE, FALSE, LLCtrlSelectionInterface::getCanSelect(), LLCtrlSelectionInterface::getCurrentID(), and S32.

Referenced by draw(), onVisibilityChange(), postBuild(), and selectByUUID().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelDirBrowser::processDirPeopleReply ( LLMessageSystem msg,
void **   
) [static]

void LLPanelDirBrowser::processDirPlacesReply ( LLMessageSystem msg,
void **   
) [static]

void LLPanelDirBrowser::processDirEventsReply ( LLMessageSystem msg,
void **   
) [static]

void LLPanelDirBrowser::processDirGroupsReply ( LLMessageSystem msg,
void **   
) [static]

void LLPanelDirBrowser::processDirClassifiedReply ( LLMessageSystem msg,
void **   
) [static]

void LLPanelDirBrowser::processDirLandReply ( LLMessageSystem msg,
void **   
) [static]

std::string LLPanelDirBrowser::filterShortWords ( const std::string  source_string,
int  shortest_word_length,
bool &  was_filtered 
)

Definition at line 236 of file llpaneldirbrowser.cpp.

References codec.

Referenced by LLPanelDirPeople::performQuery().

Here is the caller graph for this function:

void LLPanelDirBrowser::updateResultCount (  )  [protected]

void LLPanelDirBrowser::addClassified ( LLCtrlListInterface list,
const LLUUID classified_id,
const char *  name,
const U32  creation_date,
const S32  price_for_listing 
) [protected]

Definition at line 998 of file llpaneldirbrowser.cpp.

References LLCtrlListInterface::addElement(), CLASSIFIED_CODE, and llformat().

Referenced by newClassified().

Here is the call graph for this function:

Here is the caller graph for this function:

LLSD LLPanelDirBrowser::createLandSale ( const LLUUID parcel_id,
BOOL  is_auction,
BOOL  is_for_sale,
const LLString name,
S32 type 
) [protected]

Definition at line 1020 of file llpaneldirbrowser.cpp.

References AUCTION_CODE, FOR_SALE_CODE, and PLACE_CODE.

void LLPanelDirBrowser::onKeystrokeName ( LLLineEditor line,
void *  data 
) [static, protected]

Reimplemented in LLPanelDirPeople.

Definition at line 1156 of file llpaneldirbrowser.cpp.

References LLLineEditor::getLength(), and S32.

Referenced by LLPanelDirPeople::postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

S32 LLPanelDirBrowser::showNextButton ( S32  rows  )  [protected]

Definition at line 1181 of file llpaneldirbrowser.cpp.

References LLPanel::childHide(), LLPanel::childSetVisible(), LLView::getName(), mResultsPerPage, and mResultsReceived.

Here is the call graph for this function:


Member Data Documentation

Definition at line 138 of file llpaneldirbrowser.h.

Referenced by selectByUUID().

Definition at line 139 of file llpaneldirbrowser.h.

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

Definition at line 140 of file llpaneldirbrowser.h.

Referenced by LLPanelDirLand::postBuild().

Definition at line 146 of file llpaneldirbrowser.h.

Referenced by setupNewSearch(), and showNextButton().

Definition at line 150 of file llpaneldirbrowser.h.

Referenced by getSelectedInfo().

Definition at line 153 of file llpaneldirbrowser.h.

Referenced by draw().

Definition at line 154 of file llpaneldirbrowser.h.

Referenced by draw().


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

Generated on Fri May 16 08:55:58 2008 for SecondLife by  doxygen 1.5.5