uk.ac.vamsas.client.picking
Class MouseOverMessage

java.lang.Object
  extended byuk.ac.vamsas.client.picking.Message
      extended byuk.ac.vamsas.client.picking.MouseOverMessage

public class MouseOverMessage
extends Message

Message class that can be used to send mouse over events.


Field Summary
 
Fields inherited from class uk.ac.vamsas.client.picking.Message
message
 
Constructor Summary
MouseOverMessage(java.lang.String vorbaID, int position)
          Constructs a new mouse over message.
 
Method Summary
 int getPosition()
          Returns the position value associated with this message.
 java.lang.String getVorbaID()
          Returns the VAMSAS object ID associated with this message.
 
Methods inherited from class uk.ac.vamsas.client.picking.Message
equals, getRawMessage, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MouseOverMessage

public MouseOverMessage(java.lang.String vorbaID,
                        int position)
Constructs a new mouse over message.

Parameters:
vorbaID - the VAMSAS object ID of the event's source (usually an alignment or alignment sequence)
position - a position on the source in its coordinate system (ie a column or nucleotide/residue position)
Method Detail

getVorbaID

public java.lang.String getVorbaID()
Returns the VAMSAS object ID associated with this message.

Returns:
the VAMSAS object ID associated with this message

getPosition

public int getPosition()
Returns the position value associated with this message.

Returns:
the position value associated with this message