xdot::wxxdot::WxDotWindow Class Reference

List of all members.

Public Member Functions

def __init__
def animate_to
def get_current_pos
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
def OnScroll
def register_select_callback
def reload
def set_current_pos
def set_cursor
def set_dotcode
def set_filter
def set_highlight
def set_xdotcode
def window2graph
def zoom_image
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.


Member Function Documentation

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

Definition at line 141 of file wxxdot.py.

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

Definition at line 407 of file wxxdot.py.

def xdot::wxxdot::WxDotWindow::get_current_pos (   self  ) 
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 
)

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.

def xdot::wxxdot::WxDotWindow::register_select_callback (   self,
  cb 
)

Definition at line 173 of file wxxdot.py.

def xdot::wxxdot::WxDotWindow::reload (   self  ) 

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 
)

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 
)
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.

def xdot::wxxdot::WxDotWindow::zoom_to_fit (   self  ) 
Zoom to fit the size of the graph.

Definition at line 303 of file wxxdot.py.


Member Data Documentation

Definition at line 151 of file wxxdot.py.

Definition at line 169 of file wxxdot.py.

Definition at line 269 of file wxxdot.py.

Definition at line 168 of file wxxdot.py.

Definition at line 152 of file wxxdot.py.

Definition at line 431 of file wxxdot.py.

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

Definition at line 139 of file wxxdot.py.

Definition at line 145 of file wxxdot.py.

Definition at line 154 of file wxxdot.py.

Definition at line 170 of file wxxdot.py.

Definition at line 146 of file wxxdot.py.

Definition at line 334 of file wxxdot.py.

Definition at line 153 of file wxxdot.py.

Definition at line 390 of file wxxdot.py.

Definition at line 391 of file wxxdot.py.

Definition at line 167 of file wxxdot.py.

Definition at line 464 of file wxxdot.py.

Definition at line 257 of file wxxdot.py.

Definition at line 148 of file wxxdot.py.

Definition at line 319 of file wxxdot.py.

Definition at line 149 of file wxxdot.py.

Definition at line 320 of file wxxdot.py.

Definition at line 150 of file wxxdot.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables


xdot
Author(s): Jose Fonseca, ROS package and WX frontend by Jonathan Bohren
autogenerated on Fri Jan 11 09:59:30 2013