LLUICtrl Class Reference

#include <lluictrl.h>

Inheritance diagram for LLUICtrl:

Inheritance graph
[legend]
Collaboration diagram for LLUICtrl:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLUICtrl ()
 LLUICtrl (const LLString &name, const LLRect &rect, BOOL mouse_opaque, LLUICtrlCallback callback, void *callback_userdata, U32 reshape=FOLLOWS_NONE)
virtual ~LLUICtrl ()
virtual void initFromXML (LLXMLNodePtr node, LLView *parent)
virtual LLXMLNodePtr getXML (bool save_children=true) const
virtual LLSD getValue () const
virtual BOOL setTextArg (const LLString &key, const LLStringExplicit &text)
virtual BOOL setLabelArg (const LLString &key, const LLStringExplicit &text)
virtual LLCtrlSelectionInterfacegetSelectionInterface ()
virtual LLCtrlListInterfacegetListInterface ()
virtual LLCtrlScrollInterfacegetScrollInterface ()
virtual void setFocus (BOOL b)
virtual BOOL hasFocus () const
virtual void setTabStop (BOOL b)
virtual BOOL hasTabStop () const
virtual BOOL acceptsTextInput () const
virtual void onTabInto ()
virtual void clear ()
virtual void setIsChrome (BOOL is_chrome)
virtual BOOL getIsChrome () const
virtual void onCommit ()
virtual BOOL isCtrl () const
virtual void setTentative (BOOL b)
virtual BOOL getTentative () const
LLPanelgetParentPanel () const
voidgetCallbackUserData () const
void setCallbackUserData (void *data)
void setCommitCallback (void(*cb)(LLUICtrl *, void *))
void setValidateBeforeCommit (BOOL(*cb)(LLUICtrl *, void *))
virtual void setDoubleClickCallback (void(*cb)(void *))
virtual void setColor (const LLColor4 &color)
virtual void setMinValue (LLSD min_value)
virtual void setMaxValue (LLSD max_value)
void setFocusLostCallback (void(*cb)(LLUICtrl *caller, void *user_data))
void setFocusReceivedCallback (void(*cb)(LLUICtrl *, void *))
void setFocusChangedCallback (void(*cb)(LLUICtrl *, void *))
BOOL focusFirstItem (BOOL prefer_text_fields=FALSE)
virtual BOOL isDirty () const
virtual void resetDirty ()

Static Public Member Functions

static void onFocusLostCallback (LLUICtrl *old_focus)

Protected Member Functions

virtual void onFocusReceived ()
virtual void onFocusLost ()
void onChangeFocus (S32 direction)

Protected Attributes

void(* mCommitCallback )(LLUICtrl *ctrl, void *userdata)
void(* mFocusLostCallback )(LLUICtrl *caller, void *userdata)
void(* mFocusReceivedCallback )(LLUICtrl *ctrl, void *userdata)
void(* mFocusChangedCallback )(LLUICtrl *ctrl, void *userdata)
BOOL(* mValidateCallback )(LLUICtrl *ctrl, void *userdata)
voidmCallbackUserData
BOOL mTentative
BOOL mTabStop

Private Attributes

BOOL mIsChrome

Classes

class  LLTabStopPostFilter
class  LLTextInputFilter

Detailed Description

Definition at line 56 of file lluictrl.h.


Constructor & Destructor Documentation

LLUICtrl::LLUICtrl (  ) 

Definition at line 50 of file lluictrl.cpp.

LLUICtrl::LLUICtrl ( const LLString name,
const LLRect rect,
BOOL  mouse_opaque,
LLUICtrlCallback  callback,
void callback_userdata,
U32  reshape = FOLLOWS_NONE 
)

LLUICtrl::~LLUICtrl (  )  [virtual]

Definition at line 82 of file lluictrl.cpp.

References LLView::getName(), LLFocusMgr::getTopCtrl(), gFocusMgr, llendl, llwarns, LLFocusMgr::releaseFocusIfNeeded(), and LLFocusMgr::removeTopCtrlWithoutCallback().


Member Function Documentation

BOOL LLUICtrl::acceptsTextInput (  )  const [virtual]

Reimplemented in LLComboBox, LLLineEditor, and LLTextEditor.

Definition at line 144 of file lluictrl.cpp.

References FALSE.

Referenced by LLUICtrl::LLTextInputFilter::operator()().

void LLUICtrl::clear (  )  [virtual]

Reimplemented in LLCheckBoxCtrl, LLComboBox, LLLineEditor, LLSearchEditor, LLSliderCtrl, LLSpinCtrl, LLTextEditor, LLPanelGroupInvite, and LLTextureCtrl.

Definition at line 155 of file lluictrl.cpp.

Referenced by LLPreviewTexture::onFileLoadedForSave().

BOOL LLUICtrl::focusFirstItem ( BOOL  prefer_text_fields = FALSE  )  [virtual]

Reimplemented from LLView.

Definition at line 265 of file lluictrl.cpp.

References LLView::focusFirstItem(), LLSingleton< DefaultTabGroupFirstSorter >::getInstance(), LLView::getTabOrderQuery(), gFocusMgr, LLViewQuery::setSorter(), LLFocusMgr::triggerFocusFlash(), and TRUE.

Referenced by LLScrollableContainerView::draw(), LLPanel::handleKey(), LLFloaterTexturePicker::handleKeyHere(), LLFloaterLandmark::handleKeyHere(), LLTabContainerVertical::handleMouseUp(), LLTabContainer::handleMouseUp(), LLViewerWindow::handlePerFrameHover(), LLPanel::setFocus(), LLFloaterSnapshot::show(), and LLInventoryView::startSearch().

void* LLUICtrl::getCallbackUserData (  )  const [inline]

Definition at line 113 of file lluictrl.h.

References mCallbackUserData.

Referenced by LLScrollListCtrl::onClickColumn().

BOOL LLUICtrl::getIsChrome (  )  const [virtual]

Definition at line 166 of file lluictrl.cpp.

References mIsChrome.

Referenced by LLPanel::addCtrl(), LLPanel::addCtrlAtEnd(), LLFloater::draw(), LLSlider::handleMouseDown(), LLButton::handleMouseDown(), LLFloater::init(), and LLFloater::setFocus().

LLCtrlListInterface * LLUICtrl::getListInterface (  )  [virtual]

Reimplemented in LLComboBox, and LLScrollListCtrl.

Definition at line 120 of file lluictrl.cpp.

References NULL.

Referenced by LLPanel::childGetListInterface().

LLPanel * LLUICtrl::getParentPanel (  )  const

Definition at line 338 of file lluictrl.cpp.

References LLView::getParent(), LLView::getWidgetType(), WIDGET_TYPE_FLOATER, and WIDGET_TYPE_PANEL.

LLCtrlScrollInterface * LLUICtrl::getScrollInterface (  )  [virtual]

Reimplemented in LLScrollListCtrl.

Definition at line 126 of file lluictrl.cpp.

References NULL.

Referenced by LLPanel::childGetScrollInterface().

LLCtrlSelectionInterface * LLUICtrl::getSelectionInterface (  )  [virtual]

Reimplemented in LLComboBox, LLRadioGroup, and LLScrollListCtrl.

Definition at line 114 of file lluictrl.cpp.

References NULL.

Referenced by LLPanel::childGetSelectionInterface(), and LLPrefsVoiceLogic::onEarLocationCommit().

BOOL LLUICtrl::getTentative (  )  const [virtual]

Reimplemented from LLView.

Reimplemented in LLCheckBoxCtrl.

Definition at line 357 of file lluictrl.cpp.

References mTentative.

Referenced by LLPanelFaceSetTEFunctor::apply(), LLFloaterTexturePicker::draw(), LLCheckBoxCtrl::getTentative(), and LLPanelFace::sendTexture().

virtual LLSD LLUICtrl::getValue (  )  const [inline, virtual]

Reimplemented in LLButton, LLCheckBoxCtrl, LLComboBox, LLIconCtrl, LLLineEditor, LLSearchEditor, LLRadioGroup, LLScrollListCtrl, LLSlider, LLSliderCtrl, LLSpinCtrl, LLTextBox, LLTextEditor, LLColorSwatchCtrl, LLNameEditor, and LLTextureCtrl.

Definition at line 72 of file lluictrl.h.

Referenced by LLPanel::childGetValue(), commit_slider_zoom(), LLScriptEdCore::onCheckLock(), LLPanelFriends::onClickMapStatus(), LLPanelFriends::onClickModifyStatus(), LLPanelFriends::onClickOnlineStatus(), LLFloaterVoiceWizard::onCommitVoiceEnable(), LLScriptEdCore::onHelpComboCommit(), LLFloaterColorPicker::onTextEntryChanged(), LLFloaterIMPanel::onVolumeChange(), LLFloaterAvatarList::refreshAvatarList(), set_language(), LLPanelGeneral::set_start_location(), LLSavedSettingsGlue::setBOOL(), LLSavedSettingsGlue::setF32(), LLSavedSettingsGlue::setS32(), LLSavedSettingsGlue::setString(), and LLSavedSettingsGlue::setU32().

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

Reimplemented from LLView.

Reimplemented in LLButton, LLCheckBoxCtrl, LLComboBox, LLFloater, LLIconCtrl, LLLineEditor, LLMenuGL, LLMenuBarGL, LLPanel, LLRadioGroup, LLScrollableContainerView, LLScrollingPanelList, LLScrollListCtrl, LLSlider, LLSliderCtrl, LLSpinCtrl, LLTabContainer, LLTabContainerVertical, LLTextBox, LLTextEditor, LLColorSwatchCtrl, LLInventoryPanel, LLJoystick, LLNameListCtrl, and LLTextureCtrl.

Definition at line 328 of file lluictrl.cpp.

References LLView::getXML(), hasTabStop(), and TRUE.

Referenced by LLTextureCtrl::getXML(), LLTextEditor::getXML(), LLTextBox::getXML(), LLSpinCtrl::getXML(), LLSliderCtrl::getXML(), LLSlider::getXML(), LLScrollListCtrl::getXML(), LLScrollingPanelList::getXML(), LLRadioGroup::getXML(), LLLineEditor::getXML(), LLJoystick::getXML(), LLIconCtrl::getXML(), LLComboBox::getXML(), LLColorSwatchCtrl::getXML(), LLCheckBoxCtrl::getXML(), and LLButton::getXML().

BOOL LLUICtrl::hasFocus (  )  const [virtual]

Definition at line 196 of file lluictrl.cpp.

References LLFocusMgr::childHasKeyboardFocus(), and gFocusMgr.

Referenced by LLPanel::childHasFocus(), LLFloater::close(), LLFloater::closeFocusedFloater(), LLBottomPanel::draw(), LLTextureCtrl::draw(), LLSlider::draw(), LLScriptEdCore::draw(), LLComboBox::draw(), LLColorSwatchCtrl::draw(), LLButton::draw(), LLTextEditor::drawSelectionBackground(), LLViewerWindow::handleDoubleClick(), LLFloaterTexturePicker::handleKeyHere(), LLSpinCtrl::handleKeyHere(), LLScrollListCtrl::handleKeyHere(), LLInventoryView::handleKeyHere(), LLFloaterLandmark::handleKeyHere(), LLViewerWindow::handleMouseDown(), LLViewerWindow::handleRightMouseDown(), LLChatBar::inputEditorHasFocus(), LLMenuGL::jumpKeysActive(), LLFloaterPreference::onBtnApply(), LLFloaterPreference::onBtnCancel(), LLFloaterPreference::onBtnOK(), LLFloaterPostcard::onMsgFormFocusRecieved(), LLFocusMgr::setAppHasFocus(), setFocus(), LLTextEditor::setFocus(), LLPanelLogin::setFocus(), LLLineEditor::setFocus(), LLFolderView::setFocus(), LLSpinCtrl::setValue(), and LLFloaterSettingsDebug::updateControl().

BOOL LLUICtrl::hasTabStop (  )  const [virtual]

Definition at line 138 of file lluictrl.cpp.

References mTabStop.

Referenced by getXML(), LLButton::handleMouseDown(), initFromXML(), and LLUICtrl::LLTabStopPostFilter::operator()().

void LLUICtrl::initFromXML ( LLXMLNodePtr  node,
LLView parent 
) [virtual]

Reimplemented from LLView.

Definition at line 318 of file lluictrl.cpp.

References hasTabStop(), LLView::initFromXML(), and setTabStop().

Referenced by LLViewerTextEditor::fromXML(), LLUICtrlLocate::fromXML(), LLTextureCtrl::fromXML(), LLTextEditor::fromXML(), LLTextBox::fromXML(), LLSpinCtrl::fromXML(), LLSliderCtrl::fromXML(), LLSlider::fromXML(), LLScrollListCtrl::fromXML(), LLScrollingPanelList::fromXML(), LLRadioGroup::fromXML(), LLNameListCtrl::fromXML(), LLNameEditor::fromXML(), LLMenuBarGL::fromXML(), LLSearchEditor::fromXML(), LLLineEditor::fromXML(), LLJoystickAgentSlide::fromXML(), LLJoystickAgentTurn::fromXML(), LLInventoryPanel::fromXML(), LLIconCtrl::fromXML(), LLComboBox::fromXML(), LLColorSwatchCtrl::fromXML(), LLCheckBoxCtrl::fromXML(), LLButton::fromXML(), LLFloater::initFloaterXML(), and LLPanel::setPanelParameters().

virtual BOOL LLUICtrl::isCtrl (  )  const [inline, virtual]

Reimplemented from LLView.

Definition at line 103 of file lluictrl.h.

References TRUE.

Referenced by LLFloaterView::getFocusedFloater().

virtual BOOL LLUICtrl::isDirty (  )  const [inline, virtual]

Reimplemented in LLCheckBoxCtrl, LLComboBox, LLLineEditor, LLScrollListCtrl, LLSpinCtrl, LLTextEditor, LLPanelEditWearable, LLFloaterCustomize, LLFloaterTexturePicker, and LLTextureCtrl.

Definition at line 155 of file lluictrl.h.

References FALSE.

Referenced by LLPanelGroupGeneral::updateChanged().

void LLUICtrl::onChangeFocus ( S32  direction  )  [protected]

void LLUICtrl::onCommit (  )  [virtual]

Reimplemented in LLButton, LLCheckBoxCtrl, LLComboBox, LLLineEditor, LLSliderCtrl, LLSpinCtrl, LLFloaterNameDesc, and LLPreview.

Definition at line 93 of file lluictrl.cpp.

References mCallbackUserData, and mCommitCallback.

Referenced by LLScrollListCtrl::commitIfChanged(), LLTextureCtrl::handleDragAndDrop(), LLScrollListCtrl::handleKeyHere(), LLRadioGroup::handleKeyHere(), LLScrollListCtrl::handleMouseUp(), LLScrollListCtrl::handleUnicodeCharHere(), LLFloaterPreference::onBtnApply(), LLFloaterPreference::onBtnCancel(), LLFloaterPreference::onBtnOK(), LLSpinCtrl::onCommit(), LLSliderCtrl::onCommit(), LLLineEditor::onCommit(), LLComboBox::onCommit(), LLCheckBoxCtrl::onCommit(), LLButton::onCommit(), LLTextureCtrl::onFloaterCommit(), LLTextEditor::onFocusLost(), LLScrollListCtrl::selectNextItem(), and LLSlider::setValueAndCommit().

void LLUICtrl::onFocusLost (  )  [protected, virtual]

Reimplemented from LLView.

Reimplemented in LLComboBox, LLLineEditor, LLTearOffMenu, LLScrollListCtrl, LLTextEditor, and LLFolderView.

Definition at line 183 of file lluictrl.cpp.

References mCallbackUserData, mFocusChangedCallback, and mFocusLostCallback.

Referenced by LLTextEditor::onFocusLost(), LLScrollListCtrl::onFocusLost(), LLTearOffMenu::onFocusLost(), LLLineEditor::onFocusLost(), LLFolderView::onFocusLost(), LLComboBox::onFocusLost(), onFocusLostCallback(), and setFocus().

void LLUICtrl::onFocusLostCallback ( LLUICtrl old_focus  )  [static]

Definition at line 227 of file lluictrl.cpp.

References onFocusLost().

Referenced by setFocus().

void LLUICtrl::onFocusReceived (  )  [protected, virtual]

Reimplemented from LLView.

Reimplemented in LLTearOffMenu, LLScrollListCtrl, LLFloaterInspect, and LLFloaterTools.

Definition at line 171 of file lluictrl.cpp.

References mCallbackUserData, mFocusChangedCallback, and mFocusReceivedCallback.

Referenced by LLPanelClassified::postBuild(), setFocus(), and LLPanel::setFocus().

void LLUICtrl::onTabInto (  )  [virtual]

Reimplemented in LLLineEditor, LLSliderCtrl, LLSpinCtrl, and LLTextEditor.

Definition at line 150 of file lluictrl.cpp.

virtual void LLUICtrl::resetDirty (  )  [inline, virtual]

Reimplemented in LLCheckBoxCtrl, LLComboBox, LLLineEditor, LLScrollListCtrl, and LLTextureCtrl.

Definition at line 157 of file lluictrl.h.

Referenced by LLPanelClassified::confirmPublish(), LLTextEditor::LLTextEditor(), LLTextEditor::setText(), and LLTextEditor::setWText().

void LLUICtrl::setCallbackUserData ( void data  )  [inline]

Reimplemented in LLTextBox.

Definition at line 114 of file lluictrl.h.

References mCallbackUserData.

Referenced by LLTabContainerVertical::addTabPanel(), LLTabContainer::addTabPanel(), LLPanel::childSetCommitCallback(), LLPanel::childSetDoubleClickCallback(), LLPanel::childSetKeystrokeCallback(), LLPanel::childSetUserData(), LLPanelGroupMembersSubTab::handleMemberSelect(), LLColumnHeader::LLColumnHeader(), LLFloaterAvatarList::LLFloaterAvatarList(), LLFloaterEventLog::LLFloaterEventLog(), LLFloaterSettingsDebug::postBuild(), LLPreviewGesture::postBuild(), LLPanelPlace::postBuild(), LLPanelPick::postBuild(), LLPanelObject::postBuild(), LLPanelGroupVoting::postBuild(), LLPanelGroupSubTab::postBuild(), LLPanelGroupNotices::postBuild(), LLPanelGroupLandMoney::postBuild(), LLPanelGroupInvite::postBuild(), LLPanelGroupGeneral::postBuild(), LLPanelGroup::postBuild(), LLPanelGroupTab::postBuild(), LLPanelFace::postBuild(), LLPanelEvent::postBuild(), LLPanelDisplay3::postBuild(), LLPanelDisplay::postBuild(), LLPanelClassified::postBuild(), LLFloaterIMPanel::postBuild(), LLFloaterSaveAvatar::postBuild(), LLFloaterPostcard::postBuild(), LLFloaterNewIM::postBuild(), LLPanelLandMedia::postBuild(), LLPanelLandOptions::postBuild(), LLFloaterImport::postBuild(), LLFloaterColorPicker::postBuild(), LLFloaterAnimPreview::postBuild(), LLChatBar::postBuild(), LLPanelGroupActionsSubTab::postBuildSubTab(), LLPanelGroupRolesSubTab::postBuildSubTab(), LLPanelGroupMembersSubTab::postBuildSubTab(), LLCurrencyUIManager::Impl::prepare(), LLChatBar::setGestureCombo(), LLDebugVarMessageBox::show(), and LLFloaterBuyLandUI::updateCovenantInfo().

void LLUICtrl::setColor ( const LLColor4 color  )  [virtual]

Reimplemented in LLIconCtrl, and LLTextBox.

Definition at line 368 of file lluictrl.cpp.

Referenced by LLPanel::childSetColor(), and LLPanelVolume::onLightCancelColor().

void LLUICtrl::setCommitCallback ( void(*)(LLUICtrl *, void *)  cb  )  [inline]

Definition at line 116 of file lluictrl.h.

References mCommitCallback.

Referenced by LLPanel::childSetCommitCallback(), LLPanelGroupMembersSubTab::handleMemberSelect(), LLColumnHeader::LLColumnHeader(), LLPanelLogin::LLPanelLogin(), LLFloaterSettingsDebug::postBuild(), LLPreviewGesture::postBuild(), LLPanelPick::postBuild(), LLPanelObject::postBuild(), LLPanelGroupNotices::postBuild(), LLPanelGroupLandMoney::postBuild(), LLPanelGroupInvite::postBuild(), LLPanelGroupGeneral::postBuild(), LLPanelGeneral::postBuild(), LLPanelFace::postBuild(), LLPanelDisplay3::postBuild(), LLPanelDisplay::postBuild(), LLPanelClassified::postBuild(), LLFloaterIMPanel::postBuild(), LLPanelLandMedia::postBuild(), LLPanelLandOptions::postBuild(), LLPanelLandGeneral::postBuild(), LLFloaterColorPicker::postBuild(), LLPanelGroupActionsSubTab::postBuildSubTab(), LLPanelGroupRolesSubTab::postBuildSubTab(), LLPanelGroupMembersSubTab::postBuildSubTab(), LLChatBar::setGestureCombo(), LLDebugVarMessageBox::show(), and LLFloaterBuyLandUI::updateCovenantInfo().

void LLUICtrl::setDoubleClickCallback ( void(*)(void *)  cb  )  [virtual]

Reimplemented in LLScrollListCtrl.

Definition at line 363 of file lluictrl.cpp.

Referenced by LLPanel::childSetDoubleClickCallback().

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

Reimplemented in LLComboBox, LLFloater, LLLineEditor, LLPanel, LLScrollListCtrl, LLSpinCtrl, LLTextEditor, LLFolderView, LLPanelLogin, and LLVoiceHotkeySelectDialog.

Definition at line 201 of file lluictrl.cpp.

References LLFocusMgr::childHasKeyboardFocus(), gFocusMgr, hasFocus(), LLView::mEnabled, NULL, onFocusLost(), onFocusLostCallback(), onFocusReceived(), and LLFocusMgr::setKeyboardFocus().

Referenced by LLPanel::childSetFocus(), LLAlertDialog::createDialog(), LLViewerWindow::handleDoubleClick(), LLViewerWindow::handleMouseDown(), LLSlider::handleMouseDown(), LLFloaterColorPicker::handleMouseDown(), LLButton::handleMouseDown(), LLViewerWindow::handleRightMouseDown(), LLMenuGL::highlightNextItem(), LLMenuGL::highlightPrevItem(), LLFloaterLagMeter::onClickShrink(), LLFloaterColorPicker::postBuild(), LLFocusMgr::setAppHasFocus(), LLTextEditor::setFocus(), LLSpinCtrl::setFocus(), LLScrollListCtrl::setFocus(), LLPanel::setFocus(), LLLineEditor::setFocus(), LLFolderView::setFocus(), LLFloater::setFocus(), LLComboBox::setFocus(), LLFocusMgr::setKeyboardFocus(), LLFloaterColorPicker::setMouseDownInHueRegion(), LLFloaterColorPicker::setMouseDownInLumRegion(), and LLFloaterColorPicker::setMouseDownInSwatch().

void LLUICtrl::setFocusChangedCallback ( void(*)(LLUICtrl *, void *)  cb  )  [inline]

Definition at line 132 of file lluictrl.h.

References mFocusChangedCallback.

Referenced by LLPanel::childSetFocusChangedCallback(), LLComboBox::LLComboBox(), LLPanelGroupGeneral::postBuild(), and LLFloaterPostcard::postBuild().

void LLUICtrl::setFocusLostCallback ( void(*)(LLUICtrl *caller, void *user_data)  cb  )  [inline]

Definition at line 130 of file lluictrl.h.

References mFocusLostCallback.

Referenced by LLLineEditor::LLLineEditor(), LLFloaterIMPanel::postBuild(), LLPanelLandObjects::postBuild(), LLChatBar::postBuild(), and LLFolderView::startRenamingSelectedItem().

void LLUICtrl::setFocusReceivedCallback ( void(*)(LLUICtrl *, void *)  cb  )  [inline]

Definition at line 131 of file lluictrl.h.

References mFocusReceivedCallback.

Referenced by LLSliderCtrl::LLSliderCtrl(), LLPanelGroupGeneral::postBuild(), LLPanelClassified::postBuild(), LLFloaterIMPanel::postBuild(), LLChatBar::postBuild(), and LLPanelGroupRolesSubTab::postBuildSubTab().

void LLUICtrl::setIsChrome ( BOOL  is_chrome  )  [virtual]

Reimplemented in LLFloater.

Definition at line 160 of file lluictrl.cpp.

References mIsChrome.

Referenced by LLPanel::addCtrl(), LLPanel::addCtrlAtEnd(), LLPanel::init(), LLBottomPanel::LLBottomPanel(), LLChatBar::LLChatBar(), LLMediaRemoteCtrl::LLMediaRemoteCtrl(), LLNotifyBox::LLNotifyBox(), LLOverlayBar::LLOverlayBar(), LLStatusBar::LLStatusBar(), LLToolBar::LLToolBar(), LLVoiceRemoteCtrl::LLVoiceRemoteCtrl(), and LLFloater::setIsChrome().

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

Reimplemented from LLView.

Reimplemented in LLButton, LLCheckBoxCtrl, LLLineEditor, LLSearchEditor, and LLSliderCtrl.

Definition at line 108 of file lluictrl.cpp.

References FALSE.

void LLUICtrl::setMaxValue ( LLSD  max_value  )  [virtual]

Reimplemented in LLSlider, LLSliderCtrl, and LLSpinCtrl.

Definition at line 376 of file lluictrl.cpp.

Referenced by LLPanel::childSetMaxValue().

void LLUICtrl::setMinValue ( LLSD  min_value  )  [virtual]

Reimplemented in LLSlider, LLSliderCtrl, and LLSpinCtrl.

Definition at line 372 of file lluictrl.cpp.

Referenced by LLPanel::childSetMinValue().

void LLUICtrl::setTabStop ( BOOL  b  )  [virtual]

Definition at line 132 of file lluictrl.cpp.

References mTabStop.

Referenced by LLScrollListCtrl::addColumn(), LLTabContainerVertical::addTabPanel(), LLTabContainer::addTabPanel(), LLFloater::buildButtons(), LLScrollableContainerView::init(), LLPanel::init(), LLTabContainerVertical::initButtons(), LLTabContainer::initButtons(), initFromXML(), LLColumnHeader::LLColumnHeader(), LLFloaterView::LLFloaterView(), LLFolderView::LLFolderView(), LLFolderViewItem::LLFolderViewItem(), LLIconCtrl::LLIconCtrl(), LLMenuGL::LLMenuGL(), LLNotifyBox::LLNotifyBox(), LLRadioCtrl::LLRadioCtrl(), LLScrollbar::LLScrollbar(), LLSpinCtrl::LLSpinCtrl(), LLTextBox::LLTextBox(), LLPanelGroupNotices::postBuild(), LLComboBox::setAllowTextEntry(), LLScrollListCtrl::setEnabled(), LLLineEditor::setEnabled(), LLRadioCtrl::setValue(), and LLFloater::updateButtons().

void LLUICtrl::setTentative ( BOOL  b  )  [virtual]

Reimplemented from LLView.

Reimplemented in LLCheckBoxCtrl, LLSliderCtrl, and LLSpinCtrl.

Definition at line 351 of file lluictrl.cpp.

References mTentative.

Referenced by LLPanelObject::getState(), LLPanelFace::getState(), LLTextureCtrl::handleDragAndDrop(), LLSliderCtrl::onCommit(), LLComboBox::onCommit(), LLTextureCtrl::onFloaterCommit(), LLComboBox::onTextEntry(), LLComboBox::setLabel(), LLSpinCtrl::setTentative(), LLSliderCtrl::setTentative(), LLCheckBoxCtrl::setTentative(), and LLComboBox::updateSelection().

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

Reimplemented in LLLineEditor, LLSearchEditor, and LLTextBox.

Definition at line 102 of file lluictrl.cpp.

References FALSE.

Referenced by LLPanel::childSetTextArg().

void LLUICtrl::setValidateBeforeCommit ( BOOL(*)(LLUICtrl *, void *)  cb  )  [inline]

Definition at line 117 of file lluictrl.h.

References mValidateCallback.

Referenced by LLPanel::childSetValidate(), and LLPanelObject::postBuild().


Member Data Documentation

void* LLUICtrl::mCallbackUserData [protected]

Reimplemented in LLScrollbar, LLTextBox, LLWearableSaveAsDialog, and LLMakeOutfitDialog.

Definition at line 172 of file lluictrl.h.

Referenced by LLTextureCtrl::allowDrop(), LLLineEditor::cut(), LLLineEditor::doDelete(), LLTextureCtrl::doDrop(), getCallbackUserData(), LLScrollListCtrl::handleDoubleClick(), LLButton::handleHover(), LLLineEditor::handleKeyHere(), LLButton::handleKeyHere(), LLSlider::handleMouseDown(), LLButton::handleMouseDown(), LLSlider::handleMouseUp(), LLButton::handleMouseUp(), LLLineEditor::handleUnicodeCharHere(), LLButton::handleUnicodeCharHere(), LLButton::init(), LLJoystick::LLJoystick(), LLSearchEditor::onClearSearch(), onCommit(), LLButton::onCommit(), LLTextureCtrl::onFloaterCommit(), onFocusLost(), onFocusReceived(), LLSearchEditor::onSearchEdit(), LLComboBox::onTextEntry(), LLLineEditor::paste(), LLScrollListCtrl::selectItemAt(), setCallbackUserData(), LLSearchEditor::setSearchCallback(), and LLComboBox::updateSelection().

void(* LLUICtrl::mCommitCallback)(LLUICtrl *ctrl, void *userdata) [protected]

Reimplemented in LLWearableSaveAsDialog, and LLMakeOutfitDialog.

Referenced by onCommit(), and setCommitCallback().

void(* LLUICtrl::mFocusChangedCallback)(LLUICtrl *ctrl, void *userdata) [protected]

Referenced by onFocusLost(), onFocusReceived(), and setFocusChangedCallback().

void(* LLUICtrl::mFocusLostCallback)(LLUICtrl *caller, void *userdata) [protected]

Referenced by onFocusLost(), and setFocusLostCallback().

void(* LLUICtrl::mFocusReceivedCallback)(LLUICtrl *ctrl, void *userdata) [protected]

Referenced by onFocusReceived(), and setFocusReceivedCallback().

BOOL LLUICtrl::mIsChrome [private]

Definition at line 177 of file lluictrl.h.

Referenced by getIsChrome(), and setIsChrome().

BOOL LLUICtrl::mTabStop [protected]

Definition at line 174 of file lluictrl.h.

Referenced by hasTabStop(), and setTabStop().

BOOL LLUICtrl::mTentative [protected]

Definition at line 173 of file lluictrl.h.

Referenced by LLTextureCtrl::draw(), LLLineEditor::draw(), LLButton::draw(), getTentative(), and setTentative().

BOOL(* LLUICtrl::mValidateCallback)(LLUICtrl *ctrl, void *userdata) [protected]

Referenced by setValidateBeforeCommit().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:54 2010 for Second Life Viewer by  doxygen 1.4.7