LLSearchEditor Class Reference

#include <lllineeditor.h>

Inheritance diagram for LLSearchEditor:

Inheritance graph
[legend]
Collaboration diagram for LLSearchEditor:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLSearchEditor (const LLString &name, const LLRect &rect, S32 max_length_bytes, void(*search_callback)(const LLString &search_string, void *user_data), void *userdata)
virtual ~LLSearchEditor ()
void draw ()
void setText (const LLStringExplicit &new_text)
void setSearchCallback (void(*search_callback)(const LLString &search_string, void *user_data), void *data)
virtual void setValue (const LLSD &value)
virtual LLSD getValue () const
virtual BOOL setTextArg (const LLString &key, const LLStringExplicit &text)
virtual BOOL setLabelArg (const LLString &key, const LLStringExplicit &text)
virtual void clear ()

Static Public Member Functions

static LLViewfromXML (LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory)

Static Private Member Functions

static void onSearchEdit (LLLineEditor *caller, void *user_data)
static void onClearSearch (void *user_data)

Private Attributes

LLLineEditormSearchEdit
class LLButtonmClearSearchButton
void(* mSearchCallback )(const LLString &search_string, void *user_data)


Detailed Description

Definition at line 362 of file lllineeditor.h.


Constructor & Destructor Documentation

LLSearchEditor::LLSearchEditor ( const LLString name,
const LLRect rect,
S32  max_length_bytes,
void(*)(const LLString &search_string, void *user_data)  search_callback,
void *  userdata 
)

virtual LLSearchEditor::~LLSearchEditor (  )  [inline, virtual]

Definition at line 371 of file lllineeditor.h.


Member Function Documentation

void LLSearchEditor::draw ( void   )  [virtual]

Reimplemented from LLView.

Definition at line 2638 of file lllineeditor.cpp.

References LLView::draw(), LLLineEditor::getWText(), mClearSearchButton, mSearchEdit, and LLView::setVisible().

Here is the call graph for this function:

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

Reimplemented from LLUICtrl.

Definition at line 2669 of file lllineeditor.cpp.

References LLView::createRect(), LLUICtrl::initFromXML(), LLSearchEditor(), mSearchEdit, NULL, S32, LLLineEditor::setLabel(), and setText().

Here is the call graph for this function:

void LLSearchEditor::setText ( const LLStringExplicit new_text  )  [inline]

Definition at line 377 of file lllineeditor.h.

References mSearchEdit, and LLLineEditor::setText().

Referenced by LLFloaterTexturePicker::draw(), LLInventoryView::draw(), fromXML(), and onClearSearch().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLSearchEditor::setSearchCallback ( void(*)(const LLString &search_string, void *user_data)  search_callback,
void *  data 
) [inline]

Definition at line 379 of file lllineeditor.h.

References LLUICtrl::mCallbackUserData, mSearchCallback, and search_callback().

Referenced by LLInventoryView::init(), LLFloaterLandmark::LLFloaterLandmark(), and LLFloaterTexturePicker::LLFloaterTexturePicker().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Reimplemented from LLView.

Definition at line 2606 of file lllineeditor.cpp.

References mSearchEdit, and LLLineEditor::setValue().

Here is the call graph for this function:

LLSD LLSearchEditor::getValue (  )  const [virtual]

Reimplemented from LLUICtrl.

Definition at line 2612 of file lllineeditor.cpp.

References LLLineEditor::getValue(), and mSearchEdit.

Here is the call graph for this function:

BOOL LLSearchEditor::setTextArg ( const LLString key,
const LLStringExplicit text 
) [virtual]

Reimplemented from LLUICtrl.

Definition at line 2618 of file lllineeditor.cpp.

References mSearchEdit, and LLLineEditor::setTextArg().

Here is the call graph for this function:

BOOL LLSearchEditor::setLabelArg ( const LLString key,
const LLStringExplicit text 
) [virtual]

Reimplemented from LLUICtrl.

Definition at line 2624 of file lllineeditor.cpp.

References mSearchEdit, and LLLineEditor::setLabelArg().

Here is the call graph for this function:

void LLSearchEditor::clear ( void   )  [virtual]

Reimplemented from LLUICtrl.

Definition at line 2630 of file lllineeditor.cpp.

References LLLineEditor::clear(), and mSearchEdit.

Here is the call graph for this function:

void LLSearchEditor::onSearchEdit ( LLLineEditor caller,
void *  user_data 
) [static, private]

Definition at line 2647 of file lllineeditor.cpp.

References LLLineEditor::getText(), LLUICtrl::mCallbackUserData, and mSearchCallback.

Referenced by LLSearchEditor().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLSearchEditor::onClearSearch ( void *  user_data  )  [static, private]

Definition at line 2657 of file lllineeditor.cpp.

References LLUICtrl::mCallbackUserData, mSearchCallback, LLStringBase< char >::null, and setText().

Referenced by LLSearchEditor().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 393 of file lllineeditor.h.

Referenced by draw(), and LLSearchEditor().

void(* LLSearchEditor::mSearchCallback)(const LLString &search_string, void *user_data) [private]


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

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