SDS2 Parametric API
 All Classes Namespaces Functions Variables Pages
List of all members
diagram.DiagramBuilder.CompositeItem Class Reference

An abstract diagram item that is composed of multiple other diagram items. More...

Inheritance diagram for diagram.DiagramBuilder.CompositeItem:
diagram.DiagramBuilder.DiagramItem diagram.DiagramBuilder.DimensionItem diagram.DiagramBuilder.LabeledArrowItem

Methods defined here:

def ClearHighlight
def Highlight
def __init__

Methods inherited from DiagramItem:

def Draw
def Erase

Data and other attributes inherited from DiagramItem:

float expansion_factor = 100.0

Additional Inherited Members

- Public Member Functions inherited from diagram.DiagramBuilder.DiagramItem
- Static Public Attributes inherited from diagram.DiagramBuilder.DiagramItem
float expansion_factor = 100.0

Detailed Description

An abstract diagram item that is composed of multiple other diagram items.

Constructor & Destructor Documentation

def diagram.DiagramBuilder.CompositeItem.__init__ (   args)
 Creates a new instance.
 Parameters:  
 items: The subordinate diagram items.

Reimplemented from diagram.DiagramBuilder.DiagramItem.

Reimplemented in diagram.DiagramBuilder.LabeledArrowItem, and diagram.DiagramBuilder.DimensionItem.

Member Function Documentation

def diagram.DiagramBuilder.CompositeItem.ClearHighlight (   args)
def diagram.DiagramBuilder.CompositeItem.Draw (   args)
 Draws the diagram item on the canvas.
 Parameters:
 canvas: The canvas widget.
 Returns A list of ids of items added to the canvas.

Reimplemented from diagram.DiagramBuilder.DiagramItem.

Reimplemented in diagram.DiagramBuilder.LabeledArrowItem, and diagram.DiagramBuilder.DimensionItem.

def diagram.DiagramBuilder.CompositeItem.Erase (   args)
 Erases the diagram item from the canvas.
 Parameters:
 canvas: The canvas widget.

Reimplemented from diagram.DiagramBuilder.DiagramItem.

Reimplemented in diagram.DiagramBuilder.LabeledArrowItem, and diagram.DiagramBuilder.DimensionItem.

def diagram.DiagramBuilder.CompositeItem.Highlight (   args)

Member Data Documentation

float diagram.DiagramBuilder.CompositeItem.expansion_factor = 100.0
static