proland::EditGraphOrthoLayer::EditGraphHandlerList Class Reference

Handles the multiple EditGraphHandlers associated to each EditGraphOrthoLayer. More...

#include <EditGraphOrthoLayer.h>

List of all members.

Public Member Functions

 EditGraphHandlerList ()
 Creates a new EditGraphHandlerList.
 ~EditGraphHandlerList ()
 Deletes this EditGraphHandlerList.
void addHandler (EditGraphOrthoLayer *e, EditGraphOrthoLayer::EditGraphHandler *t)
 Adds an EditGraphHandlerList in the list of handlers.
void removeHandler (EditGraphOrthoLayer *e)
 Removes an EditGraphHandlerList from the list of handlers.
void redisplay (double t, double dt)
 Calls redisplay method for each stored handler.
bool mouseClick (button b, state s, modifier m, int x, int y)
 Calls mouseClick method for each stored handler.
bool mouseMotion (int x, int y)
 Calls mouseMotion method for each stored handler.
bool keyTyped (unsigned char c, modifier m, int x, int y)
 Calls keyTyped method for each stored handler.
bool specialKey (key k, modifier m, int x, int y)
 Calls specialKey method for each stored handler.

Public Attributes

map< EditGraphOrthoLayer
*, EditGraphOrthoLayer::EditGraphHandler * > 
handlers
 The list of handled handlers.
SelectionData selectedCurveData
 Contains data on the current selection.

Detailed Description

Handles the multiple EditGraphHandlers associated to each EditGraphOrthoLayer.

There should only be one static instance of this object.


Constructor & Destructor Documentation

proland::EditGraphOrthoLayer::EditGraphHandlerList::EditGraphHandlerList (  )  [inline]

Creates a new EditGraphHandlerList.

proland::EditGraphOrthoLayer::EditGraphHandlerList::~EditGraphHandlerList (  )  [inline]

Deletes this EditGraphHandlerList.


Member Function Documentation

void proland::EditGraphOrthoLayer::EditGraphHandlerList::addHandler ( EditGraphOrthoLayer e,
EditGraphOrthoLayer::EditGraphHandler t 
) [inline]

Adds an EditGraphHandlerList in the list of handlers.

bool proland::EditGraphOrthoLayer::EditGraphHandlerList::keyTyped ( unsigned char  c,
modifier  m,
int  x,
int  y 
) [inline]

Calls keyTyped method for each stored handler.

bool proland::EditGraphOrthoLayer::EditGraphHandlerList::mouseClick ( button  b,
state  s,
modifier  m,
int  x,
int  y 
) [inline]

Calls mouseClick method for each stored handler.

bool proland::EditGraphOrthoLayer::EditGraphHandlerList::mouseMotion ( int  x,
int  y 
) [inline]

Calls mouseMotion method for each stored handler.

void proland::EditGraphOrthoLayer::EditGraphHandlerList::redisplay ( double  t,
double  dt 
) [inline]

Calls redisplay method for each stored handler.

void proland::EditGraphOrthoLayer::EditGraphHandlerList::removeHandler ( EditGraphOrthoLayer e  )  [inline]

Removes an EditGraphHandlerList from the list of handlers.

bool proland::EditGraphOrthoLayer::EditGraphHandlerList::specialKey ( key  k,
modifier  m,
int  x,
int  y 
) [inline]

Calls specialKey method for each stored handler.


Member Data Documentation

The list of handled handlers.

Contains data on the current selection.

see SelectionData class.


Generated on Sat May 12 09:43:14 2012 for proland by  doxygen 1.6.1