Dart Documentationorson_chartsContainerElement

ContainerElement abstract class

A TableElement that is a container for other TableElements.

Extends

TableElement > ContainerElement

Subclasses

FlowElement, VerticalFlowElement

Properties

final RefPt2D refPoint #

inherited from TableElement

Returns the reference point for the element.

Methods

abstract void addElement(TableElement element) #

Adds an element.

abstract void draw(CanvasRenderingContext2D context, Rectangle bounds) #

inherited from TableElement

Draws this element and all of its children on the canvas within the specified bounds.

abstract List<Rectangle> layoutElements(CanvasRenderingContext2D context, Rectangle bounds) #

inherited from TableElement

Calculates the layout for the elements within this element, returning a list of bounding rectangles.

abstract Dimension2D preferredSize(CanvasRenderingContext2D context, Rectangle bounds) #

inherited from TableElement

Returns the preferred size of the element. The bounds provides some context regarding the maximum available height and width.

abstract void receive(TableElementVisitor visitor) #

inherited from TableElement

Receives a visitor. This is part of a general mechanism for traversing a structure of table elements and performing operations on each one.