|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.composite.event.base.AbstractBaseCompositeEvent
com.tensegrity.composite.event.base.BCMouseEvent
The MouseEvent occurs whenever a mouse interaction has taken
place to a BaseComposite.
| Constructor Summary | |
BCMouseEvent(BaseComposite basecomposite,
MouseInfo mouseInfo,
Coordinate coordinate)
Constructor for MouseEvent with a BaseComposite
given by basecomposite for which the event is generated and
a MouseInfo object that hold the necessary informations
about the state of the mouse, a timestamp and such. |
|
| Method Summary | |
Coordinate |
getLocation()
Returns the current location of the mouse in units of the window toolkit the BaseComposite (repectiveliy the
CompositeView) is resided in. |
Coordinate |
getLocationInCompositeSpace()
Returns the current location of the mouse in units of the coordinate system of the BaseComposite. |
Coordinate |
getLocationInViewSpace()
Returns the current location of the mouse in units of the coordinate system of the CompositeView the BaseComposite
is resided in. |
MouseInfo |
getMouseInfo()
Returns a MouseInfo |
java.lang.String |
toString()
|
| Methods inherited from class com.tensegrity.composite.event.base.AbstractBaseCompositeEvent |
getBaseComposite |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public BCMouseEvent(BaseComposite basecomposite,
MouseInfo mouseInfo,
Coordinate coordinate)
MouseEvent with a BaseComposite
given by basecomposite for which the event is generated and
a MouseInfo object that hold the necessary informations
about the state of the mouse, a timestamp and such.
basecomposite - the BaseComposite the event occurs atmouseInfo - the MouseInfo objectcoordinate - the Coordinate of the event.| Method Detail |
public MouseInfo getMouseInfo()
MouseInfo object. To get more informations about
this object please see the documentation about the
MouseInfo class.
- Returns:
- MouseInfo the
MouseInfo object
public Coordinate getLocation()
BaseComposite (repectiveliy the
CompositeView) is resided in.
public Coordinate getLocationInViewSpace()
CompositeView the BaseComposite
is resided in.
CompositeViewpublic Coordinate getLocationInCompositeSpace()
BaseComposite.
BaseCompositepublic java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||