Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Types | Protected Attributes | List of all members
GuiSpreadsheetCellOfItemNameBasic Class Referenceabstract
Inheritance diagram for GuiSpreadsheetCellOfItemNameBasic:
GuiSpreadsheetCellBasic GuiSpreadsheetCell CoreBaseObject CoreBaseType GuiSpreadsheetCellOfItemName

Public Member Functions

 GuiSpreadsheetCellOfItemNameBasic (GuiSpreadsheetRow &row_parent)
 
virtual CoreString get_text () override
 
virtual void draw (GuiSpreadsheetDrawContext &draw_context) override
 
virtual int get_edit_offset () override
 returns the x-offset to use to popup the cell line edit
 
virtual CoreString get_item_name (const OfContext *working_context)=0
 
virtual OfItemHandle get_item ()=0
 
virtual OfObjectHandle get_object ()=0
 
virtual OfContextget_context ()=0
 
virtual OfAttrHandle get_attr ()=0
 
virtual bool is_object () const =0
 
virtual bool is_context () const =0
 
virtual bool is_attr () const =0
 
virtual ImageIcon::ImageIconSize get_icon_size ()
 
virtual const
GuiItemDraw::NameDisplay & 
get_display_object_name ()=0
 
void set_suffix (const CoreString &suffix)
 
- Public Member Functions inherited from GuiSpreadsheetCellBasic
 GuiSpreadsheetCellBasic (GuiSpreadsheetRow &row_parent)
 
void set_background_color (const unsigned char &r, const unsigned char &g, const unsigned char &b)
 
void get_background_color (unsigned char &r, unsigned char &g, unsigned char &b)
 
void hide_background_color ()
 
const bool & is_background_color ()
 
virtual void set_text (const CoreString &text)
 
virtual void set_has_value (const bool &value)
 
virtual bool get_has_value () const
 
void draw_highlight (GuiSpreadsheetDrawContext &draw_context, const CoreString &text, const int &offset_x, const int &offset_y, const bool clamp)
 
void refresh_highlight ()
 
virtual void refresh_data () override
 
- Public Member Functions inherited from GuiSpreadsheetCell
 GuiSpreadsheetCell (GuiSpreadsheetRow &row_parent)
 
virtual void init (GuiSpreadsheetRow &row_parent)
 
virtual void remove_all_data ()
 
virtual bool is_selectable (const bool &mouse_down) const
 
virtual void set_is_selectable (const bool &value)
 
virtual void set_enable (const bool &enable)
 
virtual bool is_enabled () const
 
void start_edit_content (const bool &change_preselection_row=true)
 
void stop_edit_content ()
 
virtual bool on_edit_content ()
 
virtual bool on_double_click ()
 
virtual bool on_click (const bool &mouse_down)
 
virtual void on_edit_changed (const int &column, const int &row)
 
virtual void on_cursor_enter (const int &column, const int &row)
 
virtual void on_cursor_leave (const int &column, const int &row)
 
virtual GuiWidgetget_edit_field ()
 
const bool & get_is_locked () const
 
void set_is_locked (const bool &locked)
 
const bool & get_is_read_only () const
 
void set_is_read_only (const bool &is_read_only)
 
GuiSpreadsheetRowget_row () const
 
GuiSpreadsheetget_spreadsheet () const
 
virtual CoreString get_pastable_text ()
 
virtual CoreVariant get_variant ()
 
virtual int compare (GuiSpreadsheetCell *other_cell)
 
virtual void on_value_changing ()
 
virtual void on_value_changed ()
 
- 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
 

Protected Types

enum  Type {
  TYPE_OBJECT,
  TYPE_ATTRIBUTE,
  TYPE_ATTRIBUTE_OBJECT,
  TYPE_CONTEXT,
  TYPE_NO_DEFINE
}
 

Protected Attributes

CoreString m_suffix
 
- Protected Attributes inherited from GuiSpreadsheetCellBasic
bool m_show_background_color
 
unsigned char m_background_color [3]
 
bool m_highlight_info_done
 
CoreVector< HighlightInfos > * m_highlight_info
 
- Protected Attributes inherited from GuiSpreadsheetCell
GuiSpreadsheetRowm_row_parent
 
bool m_enable
 
bool m_is_locked
 
bool m_is_selectable
 
bool m_is_read_only
 

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 GuiSpreadsheetCellBasic
void convert_highlight_position_in_pixel (GuiSpreadsheetDrawContext &draw_context, const CoreString &_text, const CoreVector< CoreString > &keyword_list, const int &offset_x, const bool clamp)
 
void compute_highlight (const CoreString &text, const CoreVector< CoreString > &keyword_list, const bool &case_sensitive)