Package | com.yworks.graph.drawing |
Class | public class DynamicTableNodeStyle |
Inheritance | DynamicTableNodeStyle AbstractTableNodeStyle Object |
AbstractTableNodeStyle
that retrieves
the table instance from the node's user tag (ITagOwner.tag
).
For this implementations, style instances can be shared among different node instances, however, the user tag must be copied.
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 | ||
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. | DynamicTableNodeStyle | ||
tableRenderingOrder : TableRenderingOrder | AbstractTableNodeStyle |
Method | Defined By | ||
---|---|---|---|
DynamicTableNodeStyle(renderer:TableNodeStyleRenderer = null)
Creates a new instance. | DynamicTableNodeStyle | ||
clone():Object [override]
Creates a clone of this instance. | DynamicTableNodeStyle | ||
Prepares the rendering of an IModelItem in a CanvasComponent by
adding ICanvasObject's to the provided canvas. | AbstractTableNodeStyle |
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 associated node's user tag.
public function get tableProvider():ITableProvider
See also
DynamicTableNodeStyle | () | Constructor |
public function DynamicTableNodeStyle(renderer:TableNodeStyleRenderer = null)
Creates a new instance.
Parametersrenderer:TableNodeStyleRenderer (default = null ) — The renderer to use. If none is provided a new instance
of TableNodeStyleRenderer is used.
|
clone | () | method |
override public function clone():Object
Creates a clone of this instance.
The clone's table will be a clone of this instance's table
.
Object — A clone of this instance.
|