DroidDiagram Programmer's Guide
TableNodeBuilder Members
Constructors Methods
 


A class used to initialize TableNode objects.

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

 Public Constructors

  Name Description

TableNodeBuilder

Overloaded.  

 Public Methods

  Name Description

allowIncomingLinks

Sets a value indicating whether users are allowed to draw links to this node.

allowOutgoingLinks

Sets a value indicating whether users are allowed to draw links from this node.

allowResizeColumns

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

allowResizeRows

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

anchorPattern

Sets the anchor points to which link end points are aligned when links connect to this node.

brush

Overloaded.  

caption

Sets the caption text of a table.

captionBrush

Overloaded.  

captionFormat

Sets a TextFormat object specifying how to format and align the caption text.

captionHeight

Sets the height of the caption area of the table.

cellFrameStyle

Sets the style of the cell frame lines.

cellTextBrush

Overloaded.  

columnCount

Sets the number of columns of this table.

columnWidth

Sets the initial width of the columns of this table.

connectionStyle

Sets a value indicating whether links should connect to the rows of this table or to the table as an integral entity.

constraints

Sets constraints to the node size and movement direction. The constraints are applied when a user modifies the node interactively. They are not checked when the position of a node is set programmatically.

create

Creates a new object with the attributes accumulated by this builder.

currentRow

Scrolls the table to the specified row.

enabledHandles

Sets a combination of NodeHandleType members identifying which manipulation handles are enabled for a node. This effectively controls what kind of modifications users are allowed to perform on this node.

enableStyledText

Sets a value indicating whether the text displayed inside a table contains formatting tags which should be processed by JDiagram.

expandable

Sets a value indicating whether users are allowed to expand or collapse the tree branch that starts from this node.

expanded

Expands or collapses the tree branch that starts from a node.

font

Overloaded.  

get

Returns an existing object passed for initialization to this builder.

handlesStyle

Sets the style of the box selection handles.

hyperLink

Sets the hyperlink associated with an item.

id

Assigns user-defined identifier to this item. If the id object is serializable, it will be automatically saved when serializing the diagram into binary format. When serializing to XML, you can save the tag by handling the DiagramListener.serializeTag event.

ignoreLayout

Sets a value indicating whether an item should be ignored by the automatic layout algorithms.

image

Sets the image that should be displayed inside this table.

imageAlign

Sets the alignment of the table image relative to the boundaries of the table.

layerIndex

Sets the zero-based index of the layer this item is associated with, or -1, if the item is not associated with any layer.

locked

Sets a value indicating whether users are allowed to modify an item.

obstacle

Sets a value indicating whether the link routing algorithm should consider this node an obstacle.

offsetHeaderRows

Sets a value indicating whether the table cells should be offset to the right to accommodate for the expand buttons displayed inside header rows.

pen

Sets the pen used to draw the item frame lines.

printable

Sets a value indicating whether an item will be printed.

rotationAngle

Sets the rotation angle of a node.

rowAnchorPattern

Sets the default row AnchorPattern. A link is aligned to the points of this pattern if the row the link connects to doesn't have an AnchorPattern defined for it.

rowCount

Sets the number of rows of this table.

rowHeight

Sets the initial height of the rows of this table.

scrollable

Sets a value indicating whether users are allowed to scroll the table.

selected

Selects or deselects an item.

shadowBrush

Overloaded.  

shadowOffsetX

Sets the horizontal distance between a shadow and the item that casts it.

shadowOffsetY

Sets the vertical distance between a shadow and the item that casts it.

shape

Sets the shape of this table.

style

Sets the style associated with the item.

tag

Assigns user-defined data to an item. If the tag object is serializable, it will be automatically saved when serializing the diagram into binary format. When serializing to XML, you can save the tag by handling the DiagramListener.serializeTag event.

textBrush

Overloaded.  

textPadding

Sets the spacing between the item boundaries and its text.

toolTip

Sets the tooltip text that should be displayed when the mouse pointer rests over an item.

visible

Sets a value indicating whether an item is visible.

weight

Sets a weight value used in layout and path-finding algorithms.

zIndex

Sets the position of an item within the diagram's Z order.

 See Also

TableNodeBuilder Class
com.mindfusion.diagramming.builders Namespace