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

Class EditorEP

source code


Represents any topo EventProcessor as a small, fixed-size oval by default.
Instance Methods [hide private]
 
__init__(self, canvas, simobj, pos, name)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
set_focus(self, focus) source code
 
select_view(self, view_choice) source code
 
set_colours(self) source code
 
init_draw(self, colour, focus) source code
 
dec_to_hex_str(self, val, length) source code
 
draw(self, x=0, y=0)
Draw the object at the current x, y position.
source code
 
remove(self)
Remove this object from the canvas and from the Topographica simulation.
source code
 
move(self, x, y)
Update position of object and redraw.
source code
 
remove_connection(self, con, from_to) source code
 
get_connection_count(self, node) source code
 
in_bounds(self, pos_x, pos_y)
Return true if x,y lies within this gui object's boundary.
source code
 
set_bounds(self) source code
 
set_mode(self, mode) source code

Inherited from EditorNode: attach_connection, get_pos, show_properties, view_connection_parameters

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, canvas, simobj, pos, name)
(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

draw(self, x=0, y=0)

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, x, y)

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

remove_connection(self, con, from_to)

source code 
Overrides: EditorNode.remove_connection

in_bounds(self, pos_x, pos_y)

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