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

Public Types

enum  Type {
  TYPE_FOLDER,
  TYPE_FILE
}
 
- 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

 GuiFileBrowserSpreadsheetRow (GuiFileBrowserSpreadsheet &spreadsheet, const CoreString &name, const CoreString &fullpath, Type type)
 
virtual void create_cells ()
 
bool is_folder () const
 
bool is_file () const
 
Type get_type () const
 
CoreString get_name () const
 
CoreString get_fullpath () const
 
void set_name (const CoreString &name)
 
void set_fullpath (const CoreString &fullpath)
 
void compute_cell_infos ()
 
const
SysFilesystem::FileInformations
get_informations () const
 
void set_informations (const SysFilesystem::FileInformations info)
 
- 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
 

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