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

Class EditorEPConnection

source code


Represents any topo EPConnection using a line with an arrow head in the middle.
Instance Methods [hide private]
 
__init__(self, name, canvas, from_node)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
select_view(self, view_choice) source code
 
set_colours(self) source code
 
draw(self)
Draw the object at the current x, y position.
source code
 
draw_line(self, from_position, to_position) source code
 
remove(self)
Remove this object from the canvas and from the Topographica simulation.
source code
 
move(self)
Update position of object and redraw.
source code
 
decrement_draw_index(self) source code
 
connect(self, to_node, con) source code
 
get_middle(self, pos1, pos2) source code
 
get_radius(self)
Not implemented in this class
source code
 
update_factor(self) source code
 
connect_to_coord(self, width) source code
 
calculate_gradient(self)
Not implemented in this class
source code
 
in_bounds(self, x, y)
Return true if x,y lies within this gui object's boundary.
source code
 
set_mode(self, mode) source code

Inherited from EditorConnection: set_focus, show_properties, update_position

Inherited from EditorObject: 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)

draw(self)

source code 
Draw the object at the current x, y position.
Overrides: EditorObject.draw
(inherited documentation)

remove(self)

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

move(self)

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

connect(self, to_node, con)

source code 
Overrides: EditorConnection.connect

in_bounds(self, x, y)

source code 
Return true if x,y lies within this gui object's boundary.
Overrides: EditorObject.in_bounds
(inherited documentation)