DataView

The jdataview object provides a mechanism to display data in a tabular format. More...

+ Collaboration diagram for DataView:

Data Structures

struct  t_celldesc
 A dataview cell description. More...
struct  t_jcolumn
 A dataview column. More...
struct  t_jdataview
 The dataview object. More...
struct  t_privatesortrec
 used to pass data to a client sort function More...

Functions

void * jdataview_new (void)
 Create a dataview.
void jdataview_setclient (t_object *dv, t_object *client)
 Set a dataview's client.
t_objectjdataview_getclient (t_object *dv)
 Get a pointer to a dataview's client.

Detailed Description

The jdataview object provides a mechanism to display data in a tabular format.

In Max this is used internally for the implementation of the inspectors, file browser, preferences, and jit.cellblock object, among others.

A jdataview object does not contain the information that it presents. The object you create will maintain the data and then make the data available to the dataview using the provided api.


Function Documentation

t_object* jdataview_getclient ( t_object dv)

Get a pointer to a dataview's client.

The client is the object to which the dataview will send messages to get data, notify of changes to cells, etc.

Parameters:
dvThe dataview instance.
Returns:
A pointer to the dataview's client object.
void* jdataview_new ( void  )

Create a dataview.

You should free it with object_free().

Returns:
A pointer to the new instance.
void jdataview_setclient ( t_object dv,
t_object client 
)

Set a dataview's client.

The client is the object to which the dataview will send messages to get data, notify of changes to cells, etc. Typically this is the object in which you are creating the dataview.

Parameters:
dvThe dataview instance.
clientThe object to be assigned as the dataview's client.