| Package | com.yworks.graph.drawing |
| Class | public class TableNodeStyle |
| Inheritance | TableNodeStyle AbstractTableNodeStyle Object |
ITableNodeStyle that stores the table instance
in the style instance.
For this implementation, style instances can not be shared among different node instances.
See also
| Property | Defined By | ||
|---|---|---|---|
![]() | backgroundStyle : INodeStyle
The style that is used to draw the background of the table. | AbstractTableNodeStyle | |
![]() | styleRenderer : IStyleRenderer [read-only]
Gets the renderer implementation that has been supplied to
this instance upon creation. | AbstractTableNodeStyle | |
| table : ITable
The table which is associated with this style. | TableNodeStyle | ||
| tableProvider : ITableProvider [override] [read-only]
The implementation of the ITableProvider interface that can yield
a table object for each item that will be assigned this style. | TableNodeStyle | ||
![]() | tableRenderingOrder : TableRenderingOrder | AbstractTableNodeStyle | |
| Method | Defined By | ||
|---|---|---|---|
Creates a new instance of a TableNodeStyle with the given background style. | TableNodeStyle | ||
clone():Object [override]
Creates a clone of this instance. | TableNodeStyle | ||
![]() |
Prepares the rendering of an IModelItem in a CanvasComponent by
adding ICanvasObject's to the provided canvas. | AbstractTableNodeStyle | |
| table | property |
table:ITableThe table which is associated with this style.
public function get table():ITable public function set table(value:ITable):void| tableProvider | property |
tableProvider:ITableProvider [read-only] [override]
The implementation of the ITableProvider interface that can yield
a table object for each item that will be assigned this style.
This implementation returns a provider which returns the value of the
table property.
public function get tableProvider():ITableProviderSee also
| TableNodeStyle | () | Constructor |
public function TableNodeStyle(table:ITable = null, renderer:TableNodeStyleRenderer = null)
Creates a new instance of a TableNodeStyle with the given background style.
table:ITable (default = null) | |
renderer:TableNodeStyleRenderer (default = null) |
| clone | () | method |
override public function clone():ObjectCreates a clone of this instance.
The clone's table will be a clone of this instance's table.
Object — A clone of this instance.
|