gccv::BackgroundTextTag Class Reference

Background color. More...

#include <text-tag.h>

Inheritance diagram for gccv::BackgroundTextTag:

gccv::TextTag

List of all members.

Public Member Functions

 BackgroundTextTag (GOColor color)
virtual ~BackgroundTextTag ()
void Filter (PangoAttrList *l, unsigned start, unsigned end)
bool operator== (TextTag const &tag) const
TextTagDuplicate () const
GOColor GetColor () const


Detailed Description

Background color.

TextTag class for background color.

Definition at line 766 of file text-tag.h.


Constructor & Destructor Documentation

gccv::BackgroundTextTag::BackgroundTextTag ( GOColor  color  ) 

Parameters:
color the background color.
Constructs a BackgroundTextTag with color as background color.

virtual gccv::BackgroundTextTag::~BackgroundTextTag (  )  [virtual]

The destructor.


Member Function Documentation

TextTag* gccv::BackgroundTextTag::Duplicate (  )  const [virtual]

Creates a copy of the BackgroundTextTag with the same background color.

Returns:
the new TextTag.

Implements gccv::TextTag.

void gccv::BackgroundTextTag::Filter ( PangoAttrList *  l,
unsigned  start,
unsigned  end 
) [virtual]

Parameters:
l a PangoAttrList.
start the start index of the relevant text.
end the end index of the relevant text.
Filter method for the BackgroundTextTag class.

Implements gccv::TextTag.

GOColor gccv::BackgroundTextTag::GetColor ( void   )  const [inline]

Returns:
the background color.

Definition at line 804 of file text-tag.h.

bool gccv::BackgroundTextTag::operator== ( TextTag const &  tag  )  const [virtual]

Parameters:
tag a TextTag.
Equality operator.
Returns:
true if tag is a BackgroundTextTag and has the same background color than this.

Implements gccv::TextTag.


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

Generated on Fri Sep 24 15:58:43 2010 for The Gnome Chemistry Utils by  doxygen 1.5.9