Public Member Functions | Public Attributes | Static Public Attributes
xdot.wxxdot.WxDotWindow Class Reference

List of all members.

Public Member Functions

def __init__
def animate_to
def get_current_pos
 Helper functions.
def get_drag_action
def get_jump
def get_url
def on_area_size_allocate
def on_zoom_100
def on_zoom_fit
def on_zoom_in
def on_zoom_out
def OnKeyDown
def OnMouse
def OnPaint
def OnResize
 Event handlers.
def OnScroll
def register_select_callback
 User callbacks.
def reload
def set_current_pos
def set_cursor
 Cursor manipulation.
def set_dotcode
def set_filter
def set_highlight
def set_xdotcode
def window2graph
def zoom_image
 Zooming methods.
def zoom_to_area
def zoom_to_fit

Public Attributes

 animation
 ctx
 cursor
 dc
 drag_action
 filter
 graph
 highlight
 items_by_url
 openfilename
 presstime
 pressx
 pressy
 select_cbs
 subgraph_shapes
 x
 y
 zoom_ratio
 zoom_to_fit_on_resize

Static Public Attributes

string filter = 'dot'
int POS_INCREMENT = 100
float ZOOM_INCREMENT = 1.25
int ZOOM_TO_FIT_MARGIN = 12

Detailed Description

wxpython Frame that draws dot graphs.

Definition at line 137 of file wxxdot.py.


Constructor & Destructor Documentation

def xdot.wxxdot.WxDotWindow.__init__ (   self,
  parent,
  id 
)
constructor

Definition at line 141 of file wxxdot.py.


Member Function Documentation

def xdot.wxxdot.WxDotWindow.animate_to (   self,
  x,
  y 
)

Definition at line 407 of file wxxdot.py.

Helper functions.

Get the current graph position.

Definition at line 251 of file wxxdot.py.

def xdot.wxxdot.WxDotWindow.get_drag_action (   self,
  event 
)
Get a drag action for this click.

Definition at line 336 of file wxxdot.py.

def xdot.wxxdot.WxDotWindow.get_jump (   self,
  x,
  y 
)

Definition at line 426 of file wxxdot.py.

def xdot.wxxdot.WxDotWindow.get_url (   self,
  x,
  y 
)

Definition at line 422 of file wxxdot.py.

def xdot.wxxdot.WxDotWindow.on_area_size_allocate (   self,
  area,
  allocation 
)

Definition at line 403 of file wxxdot.py.

def xdot.wxxdot.WxDotWindow.on_zoom_100 (   self,
  action 
)

Definition at line 331 of file wxxdot.py.

def xdot.wxxdot.WxDotWindow.on_zoom_fit (   self,
  action 
)

Definition at line 328 of file wxxdot.py.

def xdot.wxxdot.WxDotWindow.on_zoom_in (   self,
  action 
)

Definition at line 322 of file wxxdot.py.

def xdot.wxxdot.WxDotWindow.on_zoom_out (   self,
  action 
)

Definition at line 325 of file wxxdot.py.

def xdot.wxxdot.WxDotWindow.OnKeyDown (   self,
  event 
)
Process key down event.

Definition at line 218 of file wxxdot.py.

def xdot.wxxdot.WxDotWindow.OnMouse (   self,
  event 
)

Definition at line 360 of file wxxdot.py.

def xdot.wxxdot.WxDotWindow.OnPaint (   self,
  event 
)
Redraw the graph.

Definition at line 180 of file wxxdot.py.

def xdot.wxxdot.WxDotWindow.OnResize (   self,
  event 
)

Event handlers.

Definition at line 177 of file wxxdot.py.

def xdot.wxxdot.WxDotWindow.OnScroll (   self,
  event 
)
Zoom the view.

Definition at line 209 of file wxxdot.py.

User callbacks.

Definition at line 173 of file wxxdot.py.

Definition at line 487 of file wxxdot.py.

def xdot.wxxdot.WxDotWindow.set_current_pos (   self,
  x,
  y 
)
Set the current graph position.

Definition at line 255 of file wxxdot.py.

def xdot.wxxdot.WxDotWindow.set_cursor (   self,
  cursor_type 
)

Cursor manipulation.

Definition at line 268 of file wxxdot.py.

def xdot.wxxdot.WxDotWindow.set_dotcode (   self,
  dotcode,
  filename = '<stdin>' 
)

Definition at line 433 of file wxxdot.py.

def xdot.wxxdot.WxDotWindow.set_filter (   self,
  filter 
)

Definition at line 430 of file wxxdot.py.

def xdot.wxxdot.WxDotWindow.set_highlight (   self,
  items 
)
Set a number of items to be hilighted.

Definition at line 261 of file wxxdot.py.

def xdot.wxxdot.WxDotWindow.set_xdotcode (   self,
  xdotcode 
)
Set xdot code.

Definition at line 479 of file wxxdot.py.

def xdot.wxxdot.WxDotWindow.window2graph (   self,
  x,
  y 
)

Definition at line 411 of file wxxdot.py.

def xdot.wxxdot.WxDotWindow.zoom_image (   self,
  zoom_ratio,
  center = False,
  pos = None 
)

Zooming methods.

Zoom the graph.

Definition at line 273 of file wxxdot.py.

def xdot.wxxdot.WxDotWindow.zoom_to_area (   self,
  x1,
  y1,
  x2,
  y2 
)
Zoom to an area of the graph.

Definition at line 289 of file wxxdot.py.

Zoom to fit the size of the graph.

Definition at line 303 of file wxxdot.py.


Member Data Documentation

Definition at line 141 of file wxxdot.py.

Definition at line 141 of file wxxdot.py.

Definition at line 268 of file wxxdot.py.

Definition at line 141 of file wxxdot.py.

Definition at line 141 of file wxxdot.py.

string xdot::wxxdot.WxDotWindow::filter = 'dot' [static]

Definition at line 139 of file wxxdot.py.

Definition at line 430 of file wxxdot.py.

Definition at line 141 of file wxxdot.py.

Definition at line 141 of file wxxdot.py.

Definition at line 141 of file wxxdot.py.

Definition at line 141 of file wxxdot.py.

Definition at line 334 of file wxxdot.py.

Definition at line 141 of file wxxdot.py.

Definition at line 360 of file wxxdot.py.

Definition at line 360 of file wxxdot.py.

Definition at line 141 of file wxxdot.py.

Definition at line 433 of file wxxdot.py.

Definition at line 255 of file wxxdot.py.

Definition at line 141 of file wxxdot.py.

Definition at line 319 of file wxxdot.py.

Definition at line 141 of file wxxdot.py.

Definition at line 320 of file wxxdot.py.

Definition at line 141 of file wxxdot.py.


The documentation for this class was generated from the following file:


xdot
Author(s): Jose Fonseca, ROS package and WX frontend by Jonathan Bohren
autogenerated on Mon Oct 6 2014 07:25:57