LLPanelDirFind Class Reference

#include <llpaneldirfind.h>

Inheritance diagram for LLPanelDirFind:

Inheritance graph
[legend]
Collaboration diagram for LLPanelDirFind:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLPanelDirFind (const std::string &name, LLFloaterDirectory *floater, const std::string &browser_name)
 ~LLPanelDirFind ()
void draw ()
BOOL postBuild ()
void onVisibilityChange (BOOL new_visibility)
virtual void search (const std::string &search_text)=0
virtual void navigateToDefaultPage ()
void focus ()

Static Public Member Functions

static std::string buildSearchURL (const std::string &search_text, const std::string &collection, bool mature_in)
static std::string getSearchURLSuffix (bool mature_in)

Protected Attributes

LLWebBrowserCtrlmWebBrowser
std::string mBrowserName

Private Member Functions

void onNavigateBegin (const EventType &eventIn)
void onNavigateComplete (const EventType &eventIn)
void onLocationChange (const EventType &eventIn)

Static Private Member Functions

static void onClickBack (void *data)
static void onClickForward (void *data)
static void onClickHome (void *data)
static void onClickSearch (void *data)
static void onCommitSearch (LLUICtrl *, void *data)


Detailed Description

Definition at line 46 of file llpaneldirfind.h.


Constructor & Destructor Documentation

LLPanelDirFind::LLPanelDirFind ( const std::string &  name,
LLFloaterDirectory floater,
const std::string &  browser_name 
)

Definition at line 88 of file llpaneldirfind.cpp.

LLPanelDirFind::~LLPanelDirFind (  ) 

Definition at line 137 of file llpaneldirfind.cpp.

References mWebBrowser, and LLWebBrowserCtrl::remObserver().

Here is the call graph for this function:


Member Function Documentation

void LLPanelDirFind::draw ( void   )  [virtual]

Reimplemented from LLPanelDirBrowser.

Definition at line 144 of file llpaneldirfind.cpp.

References LLWebBrowserCtrl::canNavigateBack(), LLWebBrowserCtrl::canNavigateForward(), LLPanel::childSetEnabled(), LLPanelDirBrowser::draw(), and mWebBrowser.

Here is the call graph for this function:

BOOL LLPanelDirFind::postBuild ( void   )  [virtual]

void LLPanelDirFind::onVisibilityChange ( BOOL  new_visibility  )  [virtual]

Reimplemented from LLPanelDirBrowser.

Definition at line 162 of file llpaneldirfind.cpp.

References LLFloaterDirectory::hideAllDetailPanels(), LLPanelDirBrowser::mFloaterDirectory, and LLView::onVisibilityChange().

Here is the call graph for this function:

virtual void LLPanelDirFind::search ( const std::string &  search_text  )  [pure virtual]

void LLPanelDirFind::navigateToDefaultPage (  )  [virtual]

Definition at line 197 of file llpaneldirfind.cpp.

References LLSD::asBoolean(), LLPanel::childGetValue(), getSearchURLSuffix(), LLPanel::getString(), llendl, llinfos, mWebBrowser, and LLWebBrowserCtrl::navigateTo().

Referenced by postBuild(), LLPanelDirPlaces::search(), LLPanelDirGroups::search(), and LLPanelDirFindAll::search().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelDirFind::focus (  ) 

Definition at line 192 of file llpaneldirfind.cpp.

References LLPanel::childSetFocus().

Referenced by LLPanelDirFindAllInterface::focus().

Here is the call graph for this function:

Here is the caller graph for this function:

std::string LLPanelDirFind::buildSearchURL ( const std::string &  search_text,
const std::string &  collection,
bool  mature_in 
) [static]

Definition at line 211 of file llpaneldirfind.cpp.

References LLURI::escape(), getSearchURLSuffix(), LLControlGroup::getString(), gSavedSettings, llendl, and llinfos.

Referenced by LLPanelDirPlaces::search(), LLPanelDirGroups::search(), and LLPanelDirFindAll::search().

Here is the call graph for this function:

Here is the caller graph for this function:

std::string LLPanelDirFind::getSearchURLSuffix ( bool  mature_in  )  [static]

void LLPanelDirFind::onClickBack ( void *  data  )  [static, private]

Definition at line 323 of file llpaneldirfind.cpp.

Referenced by postBuild().

Here is the caller graph for this function:

void LLPanelDirFind::onClickForward ( void *  data  )  [static, private]

Definition at line 333 of file llpaneldirfind.cpp.

Referenced by postBuild().

Here is the caller graph for this function:

void LLPanelDirFind::onClickHome ( void *  data  )  [static, private]

Definition at line 343 of file llpaneldirfind.cpp.

Referenced by postBuild().

Here is the caller graph for this function:

void LLPanelDirFind::onClickSearch ( void *  data  )  [static, private]

Definition at line 359 of file llpaneldirfind.cpp.

References LLFloaterDirectory::sNewSearchCount.

Referenced by onCommitSearch(), and postBuild().

Here is the caller graph for this function:

void LLPanelDirFind::onCommitSearch ( LLUICtrl ,
void *  data 
) [static, private]

Definition at line 353 of file llpaneldirfind.cpp.

References onClickSearch().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelDirFind::onNavigateBegin ( const EventType eventIn  )  [private, virtual]

Reimplemented from LLWebBrowserCtrlObserver.

Definition at line 368 of file llpaneldirfind.cpp.

References LLPanel::childSetText(), and LLPanel::getString().

Here is the call graph for this function:

void LLPanelDirFind::onNavigateComplete ( const EventType eventIn  )  [private, virtual]

Reimplemented from LLWebBrowserCtrlObserver.

Definition at line 373 of file llpaneldirfind.cpp.

References LLPanel::childSetText(), and LLPanel::getString().

Here is the call graph for this function:

void LLPanelDirFind::onLocationChange ( const EventType eventIn  )  [private, virtual]

Reimplemented from LLWebBrowserCtrlObserver.

Definition at line 378 of file llpaneldirfind.cpp.

References LLWebBrowserCtrlEvent::getStringValue(), llendl, and llinfos.

Here is the call graph for this function:


Member Data Documentation

std::string LLPanelDirFind::mBrowserName [protected]

Definition at line 83 of file llpaneldirfind.h.

Referenced by postBuild().


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

Generated on Fri May 16 08:56:02 2008 for SecondLife by  doxygen 1.5.5