An abstract diagram item that is composed of multiple other diagram items. More...
Methods defined here: | |
def | ClearHighlight |
def | Highlight |
def | __init__ |
Methods inherited from DiagramItem: | |
def | ClearHover |
def | Draw |
def | Erase |
def | Hover |
Static methods inherited from DiagramItem: | |
def | CleanArgs |
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 |
An abstract diagram item that is composed of multiple other diagram items.
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.
def diagram.DiagramBuilder.CompositeItem.CleanArgs | ( | args | ) |
CleanArgs(args)
Reimplemented from diagram.DiagramBuilder.DiagramItem.
Reimplemented in diagram.DiagramBuilder.LabeledArrowItem, and diagram.DiagramBuilder.DimensionItem.
def diagram.DiagramBuilder.CompositeItem.ClearHighlight | ( | args | ) |
ClearHighlight(args)
Reimplemented from diagram.DiagramBuilder.DiagramItem.
Reimplemented in diagram.DiagramBuilder.LabeledArrowItem, and diagram.DiagramBuilder.DimensionItem.
def diagram.DiagramBuilder.CompositeItem.ClearHover | ( | args | ) |
ClearHover(args)
Reimplemented from diagram.DiagramBuilder.DiagramItem.
Reimplemented in diagram.DiagramBuilder.LabeledArrowItem, and diagram.DiagramBuilder.DimensionItem.
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 | ) |
Highlight(args)
Reimplemented from diagram.DiagramBuilder.DiagramItem.
Reimplemented in diagram.DiagramBuilder.LabeledArrowItem, and diagram.DiagramBuilder.DimensionItem.
def diagram.DiagramBuilder.CompositeItem.Hover | ( | args | ) |
Hover(args)
Reimplemented from diagram.DiagramBuilder.DiagramItem.
Reimplemented in diagram.DiagramBuilder.LabeledArrowItem, and diagram.DiagramBuilder.DimensionItem.
|
static |