Package topo :: Package tkgui :: Module editor :: Class EditorConnection
[hide private]
[frames] | no frames]

Class EditorConnection

source code


A connection formed between 2 EditorNodes on a EditorCanvas. A EditorConnection is used to cover any topographica connection (connection / projection), and extending classes will supply a draw method and other type specific attributes.
Instance Methods [hide private]
 
__init__(self, name, canvas, from_node)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
set_focus(self, focus) source code
 
move(self)
Update position of object and redraw.
source code
 
update_position(self, pos) source code
 
connect(self, to_node, con) source code
 
remove(self)
Remove this object from the canvas and from the Topographica simulation.
source code
 
show_properties(self)
Show parameters frame for object.
source code

Inherited from EditorObject: draw, in_bounds, objdoc, okay_parameters, update_parameters

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from EditorObject: FROM, TO

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name, canvas, from_node)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

set_focus(self, focus)

source code 
Overrides: EditorObject.set_focus

move(self)

source code 
Update position of object and redraw.
Overrides: EditorObject.move
(inherited documentation)

remove(self)

source code 
Remove this object from the canvas and from the Topographica simulation.
Overrides: EditorObject.remove
(inherited documentation)

show_properties(self)

source code 
Show parameters frame for object.
Overrides: EditorObject.show_properties
(inherited documentation)