MATES 3.0-rc2

org.mates.sim.event.host
Class HostClickedEvent

java.lang.Object
  extended byorg.mates.sim.event.Event
      extended byorg.mates.sim.event.host.HostEvent
          extended byorg.mates.sim.event.host.HostClickedEvent

public class HostClickedEvent
extends HostEvent

Event raised when a host is clicked in the TopologyVisualizer

Author:
Evan Sultanik

Field Summary
 
Fields inherited from class org.mates.sim.event.host.HostEvent
host
 
Constructor Summary
HostClickedEvent(Host host, java.awt.event.MouseEvent mouse_event)
          Constructs a new HostMovedEvent.
 
Method Summary
 java.awt.event.MouseEvent getMouseEvent()
          Returns the MouseEvent describing the context of the click.
 java.lang.String toString()
          Returns a string representation of this event.
 
Methods inherited from class org.mates.sim.event.host.HostEvent
getHost
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HostClickedEvent

public HostClickedEvent(Host host,
                        java.awt.event.MouseEvent mouse_event)
Constructs a new HostMovedEvent.

Method Detail

getMouseEvent

public java.awt.event.MouseEvent getMouseEvent()
Returns the MouseEvent describing the context of the click.


toString

public java.lang.String toString()
Description copied from class: Event
Returns a string representation of this event.

Specified by:
toString in class Event

MATES 3.0-rc2

Submit a bug or request a feature
http://mates.sourceforge.net/

Copyright 2004 Evan Sultanik