MyGUI::ISubWidgetText Class Reference

#include <MyGUI_ISubWidgetText.h>

Inheritance diagram for MyGUI::ISubWidgetText:

Inheritance graph
[legend]

Public Types

typedef RTTIBase Base
typedef ISubWidgetText RTTIBase

Public Member Functions

virtual const std::string & getTypeName () const
virtual bool isType (const std::type_info &_type) const
template<typename Type >
bool isType () const
virtual ~ISubWidgetText ()
virtual size_t getTextSelectionStart ()
virtual size_t getTextSelectionEnd ()
virtual void setTextSelection (size_t _start, size_t _end)
virtual bool getSelectBackground ()
virtual void setSelectBackground (bool _normal)
virtual bool getInvertSelected ()
virtual void setInvertSelected (bool _value)
virtual bool isVisibleCursor ()
virtual void setVisibleCursor (bool _value)
virtual size_t getCursorPosition ()
virtual void setCursorPosition (size_t _index)
virtual void setWordWrap (bool _value)
virtual size_t getCursorPosition (const IntPoint &_point)
virtual IntCoord getCursorCoord (size_t _position)
IntPoint getCursorPoint (size_t _position)
IntRect getCursorRect (size_t _position)
virtual IntSize getTextSize ()
virtual void setViewOffset (const IntPoint &_point)
virtual IntPoint getViewOffset ()
virtual void setCaption (const UString &_value)
virtual const UStringgetCaption ()
virtual void setTextColour (const Colour &_value)
virtual const ColourgetTextColour ()
virtual void setFontName (const std::string &_value)
virtual const std::string & getFontName ()
virtual void setFontHeight (int _value)
virtual int getFontHeight ()
virtual void setTextAlign (Align _value)
virtual Align getTextAlign ()
virtual void setShiftText (bool _value)

Static Public Member Functions

static const std::string & getClassTypeName ()

Detailed Description

Definition at line 33 of file MyGUI_ISubWidgetText.h.


Member Typedef Documentation

Reimplemented from MyGUI::ISubWidget.

Reimplemented in MyGUI::EditText, and MyGUI::SimpleText.

Definition at line 35 of file MyGUI_ISubWidgetText.h.

Reimplemented from MyGUI::ISubWidget.

Reimplemented in MyGUI::EditText, and MyGUI::SimpleText.

Definition at line 35 of file MyGUI_ISubWidgetText.h.


Constructor & Destructor Documentation

virtual MyGUI::ISubWidgetText::~ISubWidgetText (  )  [inline, virtual]

Definition at line 38 of file MyGUI_ISubWidgetText.h.


Member Function Documentation

virtual const UString& MyGUI::ISubWidgetText::getCaption (  )  [inline, virtual]

Reimplemented in MyGUI::EditText.

Definition at line 94 of file MyGUI_ISubWidgetText.h.

static const std::string& MyGUI::ISubWidgetText::getClassTypeName (  )  [inline, static]

Reimplemented from MyGUI::ISubWidget.

Reimplemented in MyGUI::EditText, and MyGUI::SimpleText.

Definition at line 35 of file MyGUI_ISubWidgetText.h.

virtual IntCoord MyGUI::ISubWidgetText::getCursorCoord ( size_t  _position  )  [inline, virtual]

Reimplemented in MyGUI::EditText.

Definition at line 70 of file MyGUI_ISubWidgetText.h.

IntPoint MyGUI::ISubWidgetText::getCursorPoint ( size_t  _position  )  [inline]

Definition at line 73 of file MyGUI_ISubWidgetText.h.

virtual size_t MyGUI::ISubWidgetText::getCursorPosition ( const IntPoint _point  )  [inline, virtual]

Reimplemented in MyGUI::EditText.

Definition at line 67 of file MyGUI_ISubWidgetText.h.

virtual size_t MyGUI::ISubWidgetText::getCursorPosition (  )  [inline, virtual]

Reimplemented in MyGUI::EditText.

Definition at line 60 of file MyGUI_ISubWidgetText.h.

IntRect MyGUI::ISubWidgetText::getCursorRect ( size_t  _position  )  [inline]

Definition at line 80 of file MyGUI_ISubWidgetText.h.

virtual int MyGUI::ISubWidgetText::getFontHeight (  )  [inline, virtual]

Reimplemented in MyGUI::EditText.

Definition at line 103 of file MyGUI_ISubWidgetText.h.

virtual const std::string& MyGUI::ISubWidgetText::getFontName (  )  [inline, virtual]

Reimplemented in MyGUI::EditText.

Definition at line 100 of file MyGUI_ISubWidgetText.h.

virtual bool MyGUI::ISubWidgetText::getInvertSelected (  )  [inline, virtual]

Reimplemented in MyGUI::EditText.

Definition at line 52 of file MyGUI_ISubWidgetText.h.

virtual bool MyGUI::ISubWidgetText::getSelectBackground (  )  [inline, virtual]

Reimplemented in MyGUI::EditText.

Definition at line 48 of file MyGUI_ISubWidgetText.h.

virtual Align MyGUI::ISubWidgetText::getTextAlign (  )  [inline, virtual]

Reimplemented in MyGUI::EditText.

Definition at line 106 of file MyGUI_ISubWidgetText.h.

virtual const Colour& MyGUI::ISubWidgetText::getTextColour (  )  [inline, virtual]

Reimplemented in MyGUI::EditText.

Definition at line 97 of file MyGUI_ISubWidgetText.h.

virtual size_t MyGUI::ISubWidgetText::getTextSelectionEnd (  )  [inline, virtual]

Get index of end of selection

Reimplemented in MyGUI::EditText.

Definition at line 43 of file MyGUI_ISubWidgetText.h.

virtual size_t MyGUI::ISubWidgetText::getTextSelectionStart (  )  [inline, virtual]

Get index of start of selection

Reimplemented in MyGUI::EditText.

Definition at line 41 of file MyGUI_ISubWidgetText.h.

virtual IntSize MyGUI::ISubWidgetText::getTextSize (  )  [inline, virtual]

Reimplemented in MyGUI::EditText.

Definition at line 87 of file MyGUI_ISubWidgetText.h.

virtual const std::string& MyGUI::ISubWidgetText::getTypeName (  )  const [inline, virtual]

Get type name as string

Reimplemented from MyGUI::ISubWidget.

Reimplemented in MyGUI::EditText, and MyGUI::SimpleText.

Definition at line 35 of file MyGUI_ISubWidgetText.h.

virtual IntPoint MyGUI::ISubWidgetText::getViewOffset (  )  [inline, virtual]

Reimplemented in MyGUI::EditText.

Definition at line 91 of file MyGUI_ISubWidgetText.h.

template<typename Type >
bool MyGUI::ISubWidgetText::isType (  )  const [inline]

Compare with selected type

Reimplemented from MyGUI::ISubWidget.

Reimplemented in MyGUI::EditText, and MyGUI::SimpleText.

Definition at line 35 of file MyGUI_ISubWidgetText.h.

virtual bool MyGUI::ISubWidgetText::isType ( const std::type_info &  _type  )  const [inline, virtual]

Compare with selected type

Reimplemented from MyGUI::ISubWidget.

Reimplemented in MyGUI::EditText, and MyGUI::SimpleText.

Definition at line 35 of file MyGUI_ISubWidgetText.h.

virtual bool MyGUI::ISubWidgetText::isVisibleCursor (  )  [inline, virtual]

Reimplemented in MyGUI::EditText.

Definition at line 56 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setCaption ( const UString _value  )  [inline, virtual]

Reimplemented in MyGUI::EditText.

Definition at line 93 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setCursorPosition ( size_t  _index  )  [inline, virtual]

Reimplemented in MyGUI::EditText.

Definition at line 61 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setFontHeight ( int  _value  )  [inline, virtual]

Reimplemented in MyGUI::EditText.

Definition at line 102 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setFontName ( const std::string &  _value  )  [inline, virtual]

Reimplemented in MyGUI::EditText.

Definition at line 99 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setInvertSelected ( bool  _value  )  [inline, virtual]

Reimplemented in MyGUI::EditText.

Definition at line 53 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setSelectBackground ( bool  _normal  )  [inline, virtual]

Reimplemented in MyGUI::EditText.

Definition at line 49 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setShiftText ( bool  _value  )  [inline, virtual]

Reimplemented in MyGUI::EditText.

Definition at line 108 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setTextAlign ( Align  _value  )  [inline, virtual]

Reimplemented in MyGUI::EditText.

Definition at line 105 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setTextColour ( const Colour _value  )  [inline, virtual]

Reimplemented in MyGUI::EditText.

Definition at line 96 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setTextSelection ( size_t  _start,
size_t  _end 
) [inline, virtual]

Set text selection

Reimplemented in MyGUI::EditText.

Definition at line 45 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setViewOffset ( const IntPoint _point  )  [inline, virtual]

Reimplemented in MyGUI::EditText, and MyGUI::SimpleText.

Definition at line 90 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setVisibleCursor ( bool  _value  )  [inline, virtual]

Reimplemented in MyGUI::EditText.

Definition at line 57 of file MyGUI_ISubWidgetText.h.

virtual void MyGUI::ISubWidgetText::setWordWrap ( bool  _value  )  [inline, virtual]

Reimplemented in MyGUI::EditText.

Definition at line 63 of file MyGUI_ISubWidgetText.h.


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

Generated on Thu Dec 9 14:48:13 2010 for MyGUI by  doxygen 1.5.9