urv.emulator.topology.graph
Class GraphEvent

java.lang.Object
  extended by urv.emulator.topology.graph.GraphEvent

public class GraphEvent
extends java.lang.Object

This class contains information about events that will generate a graph from a Pajek dynamic file

Author:
Marcel Arrufat Arias

Field Summary
static java.lang.String ADD_EDGE
           
static java.lang.String ADD_VERTEX
           
static java.lang.String HIDE_EDGE
           
static java.lang.String SHOW_EDGE
           
 
Constructor Summary
GraphEvent(java.lang.String type, java.lang.String srcNode)
           
GraphEvent(java.lang.String type, java.lang.String src, java.lang.String dst)
           
GraphEvent(java.lang.String type, java.lang.String srcNode, java.lang.String dstNode, java.lang.String weight)
           
 
Method Summary
 java.lang.String getDstNode()
           
 java.lang.String getSrcNode()
           
 java.lang.String getType()
           
 java.lang.String getWeight()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ADD_VERTEX

public static java.lang.String ADD_VERTEX

ADD_EDGE

public static java.lang.String ADD_EDGE

HIDE_EDGE

public static java.lang.String HIDE_EDGE

SHOW_EDGE

public static java.lang.String SHOW_EDGE
Constructor Detail

GraphEvent

public GraphEvent(java.lang.String type,
                  java.lang.String srcNode)
Parameters:
type -
srcNode -

GraphEvent

public GraphEvent(java.lang.String type,
                  java.lang.String src,
                  java.lang.String dst)

GraphEvent

public GraphEvent(java.lang.String type,
                  java.lang.String srcNode,
                  java.lang.String dstNode,
                  java.lang.String weight)
Parameters:
type -
srcNode -
dstNode -
weight -
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getDstNode

public java.lang.String getDstNode()
Returns:
Returns the dstNode.

getSrcNode

public java.lang.String getSrcNode()
Returns:
Returns the srcNode.

getType

public java.lang.String getType()
Returns:
Returns the type.

getWeight

public java.lang.String getWeight()
Returns:
Returns the weight.