LLTextSegment Class Reference

#include <lltexteditor.h>

Collaboration diagram for LLTextSegment:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLTextSegment (S32 start)
 LLTextSegment (const LLStyleSP &style, S32 start, S32 end)
 LLTextSegment (const LLColor4 &color, S32 start, S32 end, BOOL is_visible)
 LLTextSegment (const LLColor4 &color, S32 start, S32 end)
 LLTextSegment (const LLColor3 &color, S32 start, S32 end)
S32 getStart () const
S32 getEnd () const
void setEnd (S32 end)
const LLColor4getColor () const
void setColor (const LLColor4 &color)
const LLStyleSPgetStyle () const
void setStyle (const LLStyleSP &style)
void setIsDefault (BOOL b)
BOOL getIsDefault () const
void setToken (LLKeywordToken *token)
LLKeywordTokengetToken () const
BOOL getToolTip (LLString &msg) const
void dump () const

Private Attributes

LLStyleSP mStyle
S32 mStart
S32 mEnd
LLKeywordTokenmToken
BOOL mIsDefault

Classes

struct  compare


Detailed Description

Definition at line 526 of file lltexteditor.h.


Constructor & Destructor Documentation

LLTextSegment::LLTextSegment ( S32  start  ) 

Definition at line 4006 of file lltexteditor.cpp.

LLTextSegment::LLTextSegment ( const LLStyleSP style,
S32  start,
S32  end 
)

Definition at line 4009 of file lltexteditor.cpp.

LLTextSegment::LLTextSegment ( const LLColor4 color,
S32  start,
S32  end,
BOOL  is_visible 
)

Definition at line 4017 of file lltexteditor.cpp.

LLTextSegment::LLTextSegment ( const LLColor4 color,
S32  start,
S32  end 
)

Definition at line 4025 of file lltexteditor.cpp.

LLTextSegment::LLTextSegment ( const LLColor3 color,
S32  start,
S32  end 
)

Definition at line 4033 of file lltexteditor.cpp.


Member Function Documentation

S32 LLTextSegment::getStart (  )  const [inline]

S32 LLTextSegment::getEnd (  )  const [inline]

void LLTextSegment::setEnd ( S32  end  )  [inline]

Definition at line 538 of file lltexteditor.h.

References mEnd.

Referenced by LLKeywords::insertSegment(), and LLTextEditor::pruneSegments().

Here is the caller graph for this function:

const LLColor4& LLTextSegment::getColor (  )  const [inline]

Definition at line 539 of file lltexteditor.h.

References mStyle.

Referenced by LLTextEditor::drawCursor().

Here is the caller graph for this function:

void LLTextSegment::setColor ( const LLColor4 color  )  [inline]

Definition at line 540 of file lltexteditor.h.

References mStyle.

const LLStyleSP& LLTextSegment::getStyle (  )  const [inline]

void LLTextSegment::setStyle ( const LLStyleSP style  )  [inline]

Definition at line 542 of file lltexteditor.h.

References mStyle.

void LLTextSegment::setIsDefault ( BOOL  b  )  [inline]

Definition at line 543 of file lltexteditor.h.

References mIsDefault.

Referenced by LLTextEditor::updateSegments().

Here is the caller graph for this function:

BOOL LLTextSegment::getIsDefault (  )  const [inline]

Definition at line 544 of file lltexteditor.h.

References mIsDefault.

void LLTextSegment::setToken ( LLKeywordToken token  )  [inline]

Definition at line 545 of file lltexteditor.h.

References mToken.

Referenced by LLKeywords::findSegments().

Here is the caller graph for this function:

LLKeywordToken* LLTextSegment::getToken (  )  const [inline]

Definition at line 546 of file lltexteditor.h.

References mToken.

Referenced by LLScriptEdCore::updateDynamicHelp().

Here is the caller graph for this function:

BOOL LLTextSegment::getToolTip ( LLString msg  )  const

Definition at line 4042 of file lltexteditor.cpp.

References FALSE, LLKeywordToken::getToolTip(), mToken, TRUE, and wstring_to_utf8str().

Referenced by LLViewerTextEditor::handleToolTip(), and LLTextEditor::handleToolTip().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLTextSegment::dump (  )  const

Definition at line 4055 of file lltexteditor.cpp.

References getEnd(), llendl, llinfos, and mStart.

Here is the call graph for this function:


Member Data Documentation

Definition at line 560 of file lltexteditor.h.

Referenced by getColor(), getStyle(), setColor(), and setStyle().

Definition at line 561 of file lltexteditor.h.

Referenced by dump(), getStart(), and LLTextSegment::compare::operator()().

Definition at line 562 of file lltexteditor.h.

Referenced by getEnd(), and setEnd().

Definition at line 563 of file lltexteditor.h.

Referenced by getToken(), getToolTip(), and setToken().

Definition at line 564 of file lltexteditor.h.

Referenced by getIsDefault(), and setIsDefault().


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

Generated on Fri May 16 09:14:01 2008 for SecondLife by  doxygen 1.5.5