|
|
This is the base class for visible widgets which do not need access to the data, but do have to know whether or not a datasource is enabled and which row is the actual one.
| hk_dsvisible (hk_presentation* presentation=NULL)
| hk_dsvisible |
| ~hk_dsvisible (void)
| ~hk_dsvisible |
[virtual]
| void set_datasource (hk_datasource* d)
| set_datasource |
[virtual]
| bool set_presentationdatasource (long n, bool registerchange=true)
| set_presentationdatasource |
[virtual]
| long presentationdatasource (void)
| presentationdatasource |
| hk_datasource* datasource (void)
| datasource |
| void savedata (ostream& s, bool savedatasource,bool saveall)
| savedata |
[virtual]
Reimplemented from hk_visible.
| void savedata (ostream& s )
| savedata |
[virtual]
Reimplemented from hk_visible.
| void loaddata (const hk_string& definition)
| loaddata |
[virtual]
Reimplemented from hk_visible.
| void set_readonly (bool readonly)
| set_readonly |
| bool is_readonly (void)
| is_readonly |
[const]
| void set_before_row_change_action (const hk_string&, bool registerchange=true)
| set_before_row_change_action |
sets the script for the before_row_change action The before_row_change action before the current row changes
| hk_string before_row_change_action (void)
| before_row_change_action |
| void set_after_row_change_action (const hk_string&, bool registerchange=true)
| set_after_row_change_action |
sets the script for the after_row_change action The after_row_change action after the current row changes
| hk_string after_row_change_action (void)
| after_row_change_action |
| void set_before_update_action (const hk_string&, bool registerchange=true)
| set_before_update_action |
sets the script for the before_update action The before_update action before data changes will be stored
| hk_string before_update_action (void)
| before_update_action |
| void set_after_update_action (const hk_string&, bool registerchange=true)
| set_after_update_action |
sets the script for the after_update action The after_update action after data changes will be stored
| hk_string after_update_action (void)
| after_update_action |
| void set_before_delete_action (const hk_string&, bool registerchange=true)
| set_before_delete_action |
sets the script for the before_delete action The before_delete action before the current row will be deleted
| hk_string before_delete_action (void)
| before_delete_action |
| void set_after_delete_action (const hk_string&, bool registerchange=true)
| set_after_delete_action |
sets the script for the after_delete action The after_delete action after the current row was deleted
| hk_string after_delete_action (void)
| after_delete_action |
| void set_before_insert_action (const hk_string&, bool registerchange=true)
| set_before_insert_action |
sets the script for the before_insert action The before_insert action before a new row will be inserted
| hk_string before_insert_action (void)
| before_insert_action |
| void set_after_insert_action (const hk_string&, bool registerchange=true)
| set_after_insert_action |
sets the script for the after_insert action The after_insert action after a new row was inserted
| hk_string after_insert_action (void)
| after_insert_action |
| void row_change (void)
| row_change |
[protected]
| void insert_mode (void)
| insert_mode |
[protected]
| void widget_specific_insert_mode (void)
| widget_specific_insert_mode |
[protected virtual]
FOR WIDGET DEVELOPERS ONLY: will be automatically called when the datasource will be set to insert_mode. Has to be rewritten for a new widget
See also: before_row_change.
| bool widget_specific_row_change (void)
| widget_specific_row_change |
[protected virtual]
FOR WIDGET DEVELOPERS ONLY: will be automatically called when the datasource has changed the row. Has to be rewritten for a new widget
See also: before_row_change.
| void widget_specific_enable_disable (void)
| widget_specific_enable_disable |
[protected virtual]
FOR WIDGET DEVELOPERS ONLY: defines whether the widget should be enabled or disabled. Has to be rewritten for a new widget
| void widget_specific_enable (void)
| widget_specific_enable |
[protected virtual]
| void widget_specific_disable (void)
| widget_specific_disable |
[protected virtual]
| void widget_specific_row_added (void)
| widget_specific_row_added |
[protected virtual]
| void widget_specific_row_deleted (void)
| widget_specific_row_deleted |
[protected virtual]
| void before_row_change (void)
| before_row_change |
[protected virtual]
FOR WIDGET DEVELOPERS ONLY: called from hk_datasource before it tries to change the row or disable widget can i.e. store changed data there
| void before_store_changed_data (void)
| before_store_changed_data |
[protected virtual]
| void after_store_changed_data (void)
| after_store_changed_data |
[protected virtual]
| void before_insert_row (void)
| before_insert_row |
[protected virtual]
| void before_datasource_enables (void)
| before_datasource_enables |
[protected virtual]
| bool datasource_disable (void)
| datasource_disable |
[protected virtual]
FOR WIDGET DEVELOPERS ONLY: will be automatically called when the datasources is disabling
| bool datasource_enable (void)
| datasource_enable |
[protected virtual]
FOR WIDGET DEVELOPERS ONLY: will be automatically called when the datasources is enabling
| void datasource_delete (void)
| datasource_delete |
[protected virtual]
FOR WIDGET DEVELOPERS ONLY: will be automatically called when the datasources is destroyed
| void row_added (void)
| row_added |
[protected virtual]
FOR WIDGET DEVELOPERS ONLY: will be automatically called when the datasources creates new columns i.e.when enabling,disabling or when a depending datasource has to requery its rows.
| void row_deleted (void)
| row_deleted |
[protected virtual]
| bool columns_new_created (void)
| columns_new_created |
[protected virtual]
| void list_changes (listtype type)
| list_changes |
[protected virtual]
| bool before_columns_deleted (void)
| before_columns_deleted |
[protected virtual]
FOR WIDGET DEVELOPERS ONLY: will be automatically called before the columns will be deleted. usually column pointers will be set to NULL in this function. i.e.when enabling,disabling or when a depending datasource has to requery its rows.
| bool table_structure_changes (void)
| table_structure_changes |
[protected virtual]
FOR WIDGET DEVELOPERS ONLY: will be automatically called after the columnstructure of a table was successfully altered.
| void before_source_vanishes (void)
| before_source_vanishes |
[protected virtual]
FOR WIDGET DEVELOPERS ONLY: will be automatically called before the database will be closed.(i.e when a new database will be created and the old one will be destroyed by hk_connection
| void widget_specific_presentationdatasource (long)
| widget_specific_presentationdatasource |
[protected virtual]
FOR WIDGET DEVELOPERS ONLY: will be automatically called before the presentationdatasource will be set
| void presentationmode_changed (void)
| presentationmode_changed |
[protected virtual]
Reimplemented from hk_visible.
| hk_datasource* p_datasource | p_datasource |
[protected]
| hk_datetime p_date | p_date |
[protected]
| hk_string debug_p_columnname | debug_p_columnname |
[protected]