#include <tablecell.hh>
Public Member Functions | |
| TableCell (TableCell *ref, bool limitTextWidth) | |
| ~TableCell () | |
Static Public Attributes | |
| static int | CLASS_ID = -1 |
Protected Member Functions | |
| void | wordWrap (int wordIndex) |
| int | getValue () |
| void | setMaxValue (int maxValue, int value) |
Private Attributes | |
| int | charWordIndex |
| int | charWordPos |
| dw::TableCell::TableCell | ( | TableCell * | ref, | |
| bool | limitTextWidth | |||
| ) |
References charWordIndex, CLASS_ID, lout::identity::IdentifiableObject::registerName(), dw::core::Widget::setButtonSensitive(), and dw::AlignedTextblock::setRefTextblock().
| dw::TableCell::~TableCell | ( | ) |
| int dw::TableCell::getValue | ( | ) | [protected, virtual] |
Implements dw::AlignedTextblock.
References charWordIndex, charWordPos, dw::Textblock::Word::content, dw::core::style::StyleAttrs::font, lout::misc::SimpleVector< T >::getRef(), dw::core::Widget::layout, dw::Textblock::Word::origSpace, dw::Textblock::Word::size, lout::misc::SimpleVector< T >::size(), dw::Textblock::Word::style, dw::core::Content::text, dw::core::Requisition::width, and dw::Textblock::words.
| void dw::TableCell::setMaxValue | ( | int | maxValue, | |
| int | value | |||
| ) | [protected, virtual] |
Implements dw::AlignedTextblock.
References dw::Textblock::line1Offset, and dw::core::Widget::queueResize().
| void dw::TableCell::wordWrap | ( | int | wordIndex | ) | [protected, virtual] |
Reimplemented from dw::Textblock.
References charWordIndex, charWordPos, dw::Textblock::Word::content, lout::misc::SimpleVector< T >::getRef(), dw::core::Content::space, dw::Textblock::Word::style, dw::core::Content::text, dw::core::Content::TEXT, dw::core::style::StyleAttrs::textAlignChar, dw::core::Content::type, dw::AlignedTextblock::updateValue(), and dw::Textblock::words.
int dw::TableCell::charWordIndex [private] |
Referenced by getValue(), TableCell(), and wordWrap().
int dw::TableCell::charWordPos [private] |
Referenced by getValue(), and wordWrap().
int dw::TableCell::CLASS_ID = -1 [static] |
1.5.9