MindFusion.Diagramming for JavaScript Programmer's Guide

TableNode Members

Constructors Methods
 


TableNode instances are diagram nodes that can be used to display tabular or list data.

The following tables list the members exposed by the TableNode type.

 Public Constructors

  Name Description

TableNode

Initializes a new instance of the TableNode class with default values supplied from the specified Diagram.

 Public Methods

  Name Description

addColumn

Adds a new column to the table.

addRow

Adds a new row to the table.

cellFromPoint

Returns the cell that contains the specified point.

createConnectionPoint

Creates a connection point between this node and the specified link at the specified point.

deleteColumn

Deletes the specified column.

deleteRow

Deletes the specified row.

getCaptionBackBrush

Gets the object that specifies how to fill the caption bar.

getCaptionFont

Gets the font used to render the table's caption text.

getCaptionHeight

Gets the height of the table's caption area.

getCell

Returns a reference to the cell located at the specified column and row of this table.

getColumn

Returns a reference to the column at the specified position within the table's list of columns.

getRow

Returns a reference to the row at the specified position within the table's list of rows.

getRowRect

Returns the bounding rectangle of the specified row.

getScrollable

Gets a value indicating whether the user is allowed to scroll the table rows.

insertColumn

Inserts a new column at the specified position.

insertRow

Inserts a new row at the specified position.

redimTable

Changes the number of columns and rows in this table.

rowFromPoint

Returns the index of the table's row that contains the specified point.

scrollDown

Scrolls the table's rows down.

scrollUp

Scrolls the table's rows up.

setCaptionBackBrush

Sets an object that specifies how to fill the caption bar.

setCaptionFont

Sets the font used to render the table's caption text.

setCaptionHeight

Sets the height of the table's caption area.

setCurrScrollRow

Sets the table's current scroll position.

setScrollable

Sets a value indicating whether the user is allowed to scroll the table rows.

 See Also