Search
TableNode Methods
 


 Public Methods

  Name Description

acceptLinks

Determines whether the node can be connected with links of the specified type. (Inherited from DiagramNode.)

addCanvasElements

Derived classes must implement this method by adding their graphics primitives to the canvas.elements collection. (Inherited from DiagramItem.)

addColumn

Adds a new column to the table.

addLabel

Adds a new label to this item. (Inherited from DiagramItem.)

addRow

Adds a new row to the table.

allowDrag

DiagramItem.allowDrag override. (Inherited from DiagramNode.)

animate

Animates the item. (Inherited from DiagramItem.)

attach

Attaches the specified subordinate node to this node, so that when this node is moved, the subordinate follows it. (Inherited from DiagramNode.)

attachTo

Attaches this node to the specified master node so that when the master is moved, the attached node follows it. (Inherited from DiagramNode.)

cellFromPoint

Returns the cell that contains the specified point.

clone

DiagramNode.clone override.

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.

detach

Detaches this node from its current master node. (Inherited from DiagramNode.)

endDrag

DiagramItem.endDrag override. (Inherited from DiagramNode.)

fromJson

Deserializes this item from a JSON object. (Inherited from DiagramItem.)

fromJson

DiagramNode.fromJson override.

getAllLinks

Returns all links connected to this node. (Inherited from DiagramNode.)

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.

getIntersection

Calculates the intersection point between the segment defined by the specified point pair and the node's outline. (Inherited from DiagramNode.)

getOutline

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

getParentRow

Returns the number of the first header row before thespecified row. If the specified row is a header rowitself, returns 'row'. If there is no header rowbefore this one, the return value is -1.

getRepaintBounds

Gets the repaint region for this item, taking into account factors such as pen width, selection handles and shadow. (Inherited from DiagramItem.)

getRotatedBounds

Gets the bounding rectangle of this item when it is rotated. (Inherited from DiagramNode.)

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.

hitTest

Returns the diagram item that contains the specified point. (Inherited from DiagramItem.)

insertColumn

Inserts a new column at the specified position.

insertRow

Inserts a new row at the specified position.

invalidate

Invalidates the region of the canvas, that matches the item's repaint bounds. (Inherited from DiagramItem.)

isRowCollapsed

Checks whether the specified row is collapsed.Collapsed are all rows whose header row is collapsed.

loadFromXml

DiagramNode.loadFromXml override. Loads the node's content from an XML element.

onRemove

Called when an item is removed from a Diagram, either by the user, programmatically or via undo / redo. (Inherited from DiagramItem.)

raiseClicked

Raises an event which notifies that a node has been clicked. (Inherited from DiagramNode.)

raiseDoubleClicked

Raises an event which notifies that a node has been double-clicked. (Inherited from DiagramNode.)

redimTable

Changes the number of columns and rows in this table.

removeCanvasElements

DiagramItem.removeCanvasElements override. (Inherited from DiagramNode.)

removeLabel

Removes the specified label from this item. (Inherited from DiagramItem.)

resizeToFitText

Resizes the columns and rows so that cells are large enough to fit their text.

restoreLocationState

DiagramItem.restoreLocationState override. (Inherited from DiagramNode.)

restoreState

DiagramNode.restoreState override.

restoreState

Loads the properties of this diagram item. (Inherited from DiagramItem.)

rowFromPoint

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

saveLocationState

DiagramItem.saveLocationState override. (Inherited from DiagramNode.)

saveState

DiagramNode.saveState override.

saveToXml

Saves the node's content into an XML element.

scrollDown

Scrolls the table's rows down.

scrollUp

Scrolls the table's rows up.

setBounds

Sets the rectangle that defines the position of the diagram node. (Inherited from DiagramNode.)

startDrag

Invoked when the user starts dragging this item. (Inherited from DiagramItem.)

toJson

DiagramNode.toJson override.

updateCanvasElements

Derived classes must implement this method to update the item's visual elements. (Inherited from DiagramItem.)

updateDrag

DiagramItem.updateDrag override. (Inherited from DiagramNode.)

 See Also