Clarisse 5.0 SP8 SDK
5.0.5.8.0
|
Public Types | |
enum | RowFlag { ROW_FLAG_HAS_CHILDREN = 1 << 0, ROW_FLAG_SHOW_CHILDREN = 1 << 1, ROW_FLAG_IS_REMOVED = 1 << 2, ROW_FLAG_DASHED = 1 << 3, ROW_FLAG_HIDDEN = 1 << 4, ROW_FLAG_COUNT = 5 } |
typedef void(* | PreDrawCallback )(GuiSpreadsheetRow *row, const unsigned int &row_index, void *data) |
Public Member Functions | |
GuiSpreadsheetRow (GuiSpreadsheet *spreadsheet) | |
virtual void | init () |
GuiSpreadsheetCell * | get_cell (const int &column) |
GuiSpreadsheetCell * | get_row_data (const int &column) |
void | add_cell (GuiSpreadsheetCell *cell) |
GuiSpreadsheet & | get_spreadsheet () |
GuiApp & | get_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 |
virtual void | refresh_data () |
void | pre_draw (const unsigned int &row_index) |
void | set_pre_draw_callback (GuiSpreadsheetRow::PreDrawCallback callback, void *data) |
![]() | |
bool | is_kindof (const CoreBaseObject &object) const |
virtual size_t | get_memory_size () const |
CoreString | get_class_info_name () const |
const unsigned long & | get_class_info_id () const |
virtual bool | is_kindof (const CoreClassInfo &cinfo) const |
virtual const CoreClassInfo & | get_class_info () const |
template<class T > | |
T * | cast () |
template<class T > | |
const T * | cast () const |
![]() | |
bool | is_kindof (const CoreClassInfo &cinfo) const |
Protected Member Functions | |
void | set_cell (const int &column, GuiSpreadsheetCell *cell) |
Protected Attributes | |
GuiSpreadsheet * | m_spreadsheet |
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 |
PreDrawCallback | m_pre_draw_callback |
void * | m_pre_draw_callback_data |
Additional Inherited Members | |
![]() | |
static const CoreClassInfo & | class_info () |
template<class T > | |
static T * | cast (CoreBaseObject *object) |
template<class T > | |
static const T * | cast (const CoreBaseObject *object) |
|
protected |
Replace or set a cell
column | The column index where the new cell will be affected |
cell | The new cell |
note: The previous cell was be destroyed. Check before if the row have enough of cells with get_cell_count().