Clarisse 4.0 SP9 SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
GuiSpreadsheetRow Class Reference
Inheritance diagram for GuiSpreadsheetRow:
CoreBaseObject CoreBaseType GuiFileBrowserSpreadsheetRow GuiOfItemSpreadsheetRow

Public Types

enum  RowFlag {
  ROW_FLAG_DASHED = 1 << 3,
  ROW_FLAG_HIDDEN = 1 << 4,

Public Member Functions

 GuiSpreadsheetRow (GuiSpreadsheet *spreadsheet)
virtual void init ()
GuiSpreadsheetCellget_cell (const int &column)
GuiSpreadsheetCellget_row_data (const int &column)
void add_cell (GuiSpreadsheetCell *cell)
GuiSpreadsheetget_spreadsheet ()
GuiAppget_application ()
int get_height () const
void set_height (const int &height)
bool is_dashed () const
void set_dashed (bool d)
virtual bool is_hidden () const
virtual void set_hidden (bool h)
unsigned int get_cell_count ()
virtual void remove_all_data ()
void set_show_children (const bool &show)
bool has_children () const
void set_has_children (bool has)
bool is_show_children () const
void set_children_count (const int &count)
int get_children_count () const
void set_depth_in_tree (const int &depth)
int get_depth_in_tree () const
void set_total_sub_children_count (const int &count)
int get_total_sub_children_count () const
void set_parent_index (const int &index)
int get_parent_index () const
virtual void set_is_removed ()
virtual bool is_removed () const
- Public Member Functions inherited from CoreBaseObject
bool is_kindof (const CoreBaseObject &object) const
virtual size_t get_memory_size () const
CoreString get_class_info_name () const
CoreString get_class_interface () const
const unsigned long & get_class_info_id () const
bool is_kindof (const CoreClassInfo &cinfo) const
virtual const CoreClassInfoget_class_info () const
bool operator== (const CoreBaseObject &obj) const
template<class T >
T * cast ()
template<class T >
const T * cast () const
- Public Member Functions inherited from CoreBaseType
bool is_kindof (const CoreClassInfo &cinfo) const
bool operator== (const CoreBaseType &obj) const

Protected Member Functions

void set_cell (const int &column, GuiSpreadsheetCell *cell)

Protected Attributes

CoreVector< GuiSpreadsheetCell * > m_row_data
int m_height
int m_children_count
int m_total_sub_children_count
int m_depth_in_tree
int m_index_parent
int m_flags

Additional Inherited Members

- Static Public Member Functions inherited from CoreBaseObject
static const CoreClassInfoclass_info ()
static bool ___class_destructor__ (void *instance, const bool &is_array)
template<class T >
static T * cast (CoreBaseObject *object)
template<class T >
static const T * cast (const CoreBaseObject *object)

Member Function Documentation

void GuiSpreadsheetRow::set_cell ( const int &  column,
GuiSpreadsheetCell cell 

Replace or set a cell

columnThe column index where the new cell will be affected
cellThe new cell

note: The previous cell was be destroyed. Check before if the row have enough of cells with get_cell_count().