MindFusion.Diagramming for JavaScript Programmer's Guide
TableNode Methods
 


 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.

containsPoint

Checks if the TableNode 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.

getAllowResizeColumns

Gets a value indicating whether users are allowed to resize table columns.

getAllowResizeRows

Gets a value indicating whether users are allowed to resize table rows.

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.

getCellFrameStyle

Gets the style of the cell frame lines.

getColumn

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

getEnableStyledText

Gets a value indicating whether styled text rendering is enabled.

getOutline

Gets an array of points that define the outline of this node shape.

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.

getShape

Gets the shape of the table's outline.

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.

setAllowResizeColumns

Sets a value indicating whether users are allowed to resize table columns.

setAllowResizeRows

Sets a value indicating whether users are allowed to resize table rows.

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.

setCellFrameStyle

Sets the style of the cell frame lines.

setCurrScrollRow

Sets the table's current scroll position.

setEnableStyledText

Sets a value indicating whether styled text rendering is enabled.

setScrollable

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

setShape

Sets the shape of the table's outline.

 See Also

TableNode Class
MindFusion.Diagramming Namespace