| Package | com.yworks.graph.drawing |
| Class | public class AbstractTableNodeStyle |
| Inheritance | AbstractTableNodeStyle Object |
| Implements | ITableNodeStyle |
| Subclasses | DynamicTableNodeStyle, TableNodeStyle |
TableNodeStyle and DynamicTableNodeStyle.
Superclasses have to override tableProvider.
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 | ||
| tableProvider : ITableProvider [read-only]
The implementation of the ITableProvider interface that can yield
a table object for each item that will be assigned this style. | AbstractTableNodeStyle | ||
| tableRenderingOrder : TableRenderingOrder | AbstractTableNodeStyle | ||
| Method | Defined By | ||
|---|---|---|---|
AbstractTableNodeStyle(renderer:TableNodeStyleRenderer = null)
Creates a new instance of a AbstractTableNodeStyle with the given background style. | AbstractTableNodeStyle | ||
clone():Object
Creates a clone of this instance. | AbstractTableNodeStyle | ||
Prepares the rendering of an IModelItem in a CanvasComponent by
adding ICanvasObject's to the provided canvas. | AbstractTableNodeStyle | ||
| backgroundStyle | property |
backgroundStyle:INodeStyleThe style that is used to draw the background of the table.
public function get backgroundStyle():INodeStyle public function set backgroundStyle(value:INodeStyle):void| styleRenderer | property |
styleRenderer:IStyleRenderer [read-only] Gets the renderer implementation that has been supplied to this instance upon creation.
public function get styleRenderer():IStyleRenderer| tableProvider | property |
tableProvider:ITableProvider [read-only]
The implementation of the ITableProvider interface that can yield
a table object for each item that will be assigned this style.
Superclasses have to override this method.
public function get tableProvider():ITableProviderSee also
| tableRenderingOrder | property |
tableRenderingOrder:TableRenderingOrder public function get tableRenderingOrder():TableRenderingOrder public function set tableRenderingOrder(value:TableRenderingOrder):void| AbstractTableNodeStyle | () | Constructor |
public function AbstractTableNodeStyle(renderer:TableNodeStyleRenderer = null)
Creates a new instance of a AbstractTableNodeStyle with the given background style.
renderer:TableNodeStyleRenderer (default = null) |
| clone | () | method |
public function clone():ObjectCreates a clone of this instance.
Superclasses have to override this method to create a memberwise clone of this instance.
ReturnsObject — A clone of this instance.
|
| install | () | method |
public function install(canvas:CanvasComponent, group:ICanvasObjectGroup, modelItem:IModelItem):Array
Prepares the rendering of an IModelItem in a CanvasComponent by
adding ICanvasObject's to the provided canvas.
Implementations may add zero or more ICanvasObject instances to
the given CanvasComponent. The group parameter
can be used as a hint for implementations. They can add their newly created
canvas objects to the given group. However they are not obliged to do that.
Parameters
canvas:CanvasComponent — The canvas to install the canvas objects in.
| |
group:ICanvasObjectGroup — A hint that tells the implementation where to add the canvas objects.
| |
modelItem:IModelItem — The item to install a visual representation for.
|
Array — An array of zero or more canvas objects that have been installed
in the canvas by this method or null if nothing was installed.
|