Table of Contents

Class: point | ../bkchem/classes.py
--- | ---
Base Classes |
--- | ---
point_drawable interactive child
Methods |
--- | ---
__init__ change_type delete draw focus get_package get_xy lift | move move_to read_package redraw select unfocus unselect
| __init__
    __init__ (
            self,
            paper,
            xy=(),
            arrow=None,
            package=None,
            type='invisible',
            )
| change_type
    change_type ( self,  type )
| delete
    delete ( self )
| draw
    draw ( self )
| focus
    focus ( self )
| get_package
    get_package ( self,  doc )
returns a DOM element describing the object in CDML, doc is the parent document which is used for element creation (the returned element is not inserted into the document)
| get_xy
    get_xy ( self )
| lift
    lift ( self )
| move
    move (
            self,
            dx,
            dy,
            )
| move_to
    move_to (
            self,
            x,
            y,
            )
| read_package
    read_package ( self,  package )
reads the dom element package and sets internal state according to it
| redraw
    redraw ( self )
| select
    select ( self )
| unfocus
    unfocus ( self )
| unselect
    unselect ( self )

Table of Contents

This document was automatically generated on Tue Dec 12 13:46:43 2006 by HappyDoc version 2.1