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

Public Types

enum  Type {
  TYPE_OBJECT,
  TYPE_ATTRIBUTE,
  TYPE_ATTRIBUTE_OBJECT,
  TYPE_PLUG,
  TYPE_CONTEXT,
  TYPE_STRING,
  TYPE_NO_DEFINE
}
 
- Public Types inherited from GuiSpreadsheetRow
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

 GuiOfItemSpreadsheetRow (GuiOfItemSpreadsheet &spreadsheet, OfItemHandle item, const bool do_create_cell=true)
 
 GuiOfItemSpreadsheetRow (GuiOfItemSpreadsheet &spreadsheet, OfAttrHandle attr, const bool do_create_cell=true)
 
 GuiOfItemSpreadsheetRow (GuiOfItemSpreadsheet &spreadsheet, OfOutputHandle &plug, const bool do_create_cell=true)
 
 GuiOfItemSpreadsheetRow (GuiOfItemSpreadsheet &spreadsheet, CoreString &text, const bool do_create_cell=true)
 
void init (GuiSpreadsheet &spreadsheet, OfItemHandle item, const bool recycle_cells=false)
 
void init (GuiSpreadsheet &spreadsheet, OfAttrHandle attr, const bool recycle_cells=false)
 
void init (GuiSpreadsheet &spreadsheet, OfOutputHandle &plug, const bool recycle_cells=false)
 
void init (GuiSpreadsheet &spreadsheet, CoreString &text, const bool recycle_cells=false)
 
virtual void create_cells (bool recycle=false)
 
const Type & get_type () const
 
CoreString get_item_name ()
 
OfItemHandle get_item ()
 
OfObjectHandle get_object ()
 
OfContextget_context ()
 
OfAttrHandle get_attr ()
 
OfPlugHandle get_plug ()
 
CoreStringget_string ()
 
bool is_object () const
 
bool is_context () const
 
bool is_attr () const
 
bool is_plug () const
 
bool is_string () const
 
- Public Member Functions inherited from GuiSpreadsheetRow
 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
 
virtual void refresh_data ()
 
void pre_draw (const unsigned int &row_index)
 
void set_pre_draw_callback (GuiSpreadsheetRow::PreDrawCallback callback, void *data)
 
- 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
 
const unsigned long & get_class_info_id () const
 
virtual bool is_kindof (const CoreClassInfo &cinfo) const
 
virtual const CoreClassInfoget_class_info () 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
 

Public Attributes

GuiOfItemSpreadsheetRowpool_path_next
 

Additional Inherited Members

- Static Public Member Functions inherited from CoreBaseObject
static const CoreClassInfoclass_info ()
 
template<class T >
static T * cast (CoreBaseObject *object)
 
template<class T >
static const T * cast (const CoreBaseObject *object)
 
- Protected Member Functions inherited from GuiSpreadsheetRow
void set_cell (const int &column, GuiSpreadsheetCell *cell)
 
- Protected Attributes inherited from GuiSpreadsheetRow
GuiSpreadsheetm_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