LayoutCanvasEvent Class Reference

Event class to send events from a LayoutCanvas. More...

#include <layoutCanvas.hpp>

List of all members.

Public Member Functions

 LayoutCanvasEvent (wxEventType commandType=wxEVT_NULL, int id=0)
 Constructor.
int getX ()
 Member accessor.
int getY ()
 Member accessor.
void setX (int y)
 Member set.
void setY (int y)
 Member set.

Private Attributes

int x
 x coordinate
int y
 y coordinate


Detailed Description

Event class to send events from a LayoutCanvas.

This class is a wxWindows event class done to send events from a LayoutCanvas object when a cell is clicked.

Author:
Bernat Rāfales Mulet <the_bell@users.sourceforge.net>
Version:
Revision
1.18

Definition at line 135 of file layoutCanvas.hpp.


Constructor & Destructor Documentation

LayoutCanvasEvent::LayoutCanvasEvent wxEventType  commandType = wxEVT_NULL,
int  id = 0
 

Constructor.

Parameters:
commandType event type.
id identifier of the widget sending the event.

Definition at line 42 of file layoutCanvas.cpp.


Member Function Documentation

int LayoutCanvasEvent::getX  ) 
 

Member accessor.

Returns:
The x coordinate.

Definition at line 54 of file layoutCanvas.cpp.

References x.

Referenced by RuleView::OnClick(), LayoutView::OnClick(), and ForbiddenPatternView::OnClick().

int LayoutCanvasEvent::getY  ) 
 

Member accessor.

Returns:
The y coordinate.

Definition at line 64 of file layoutCanvas.cpp.

References y.

Referenced by RuleView::OnClick(), LayoutView::OnClick(), and ForbiddenPatternView::OnClick().

void LayoutCanvasEvent::setX int  x  ) 
 

Member set.

Parameters:
x the x coordinate.

Definition at line 74 of file layoutCanvas.cpp.

Referenced by LayoutCanvas::OnLeftDown().

void LayoutCanvasEvent::setY int  y  ) 
 

Member set.

Parameters:
y the y coordinate.

Definition at line 84 of file layoutCanvas.cpp.

Referenced by LayoutCanvas::OnLeftDown().


Member Data Documentation

int LayoutCanvasEvent::x [private]
 

x coordinate

Definition at line 147 of file layoutCanvas.hpp.

Referenced by getX().

int LayoutCanvasEvent::y [private]
 

y coordinate

Definition at line 149 of file layoutCanvas.hpp.

Referenced by getY().


The documentation for this class was generated from the following files:
Generated on Fri Sep 1 23:57:38 2006 for NanoComp by  doxygen 1.4.6