Graph Common

pl.psnc.graph.model.listener
Class CustomGraphSelectionListener

java.lang.Object
  extended by pl.psnc.graph.model.listener.CustomGraphSelectionListener
All Implemented Interfaces:
java.util.EventListener, org.jgraph.event.GraphSelectionListener

public class CustomGraphSelectionListener
extends java.lang.Object
implements org.jgraph.event.GraphSelectionListener

CustomGraphSelectionListener class - graph selection listener

Author:
Dominik Stoklosa (~osa~)
Email address
osa@man.poznan.pl

Constructor Summary
CustomGraphSelectionListener(CustomGraph graph)
          Creates a new instance of CustomGraphSelectionListener
 
Method Summary
 CustomGraph getGraph()
          Get value of field: graph
 void setGraph(CustomGraph graph)
          Set value of field: graph
 void valueChanged(org.jgraph.event.GraphSelectionEvent graphSelectionEvent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomGraphSelectionListener

public CustomGraphSelectionListener(CustomGraph graph)
Creates a new instance of CustomGraphSelectionListener

Method Detail

valueChanged

public void valueChanged(org.jgraph.event.GraphSelectionEvent graphSelectionEvent)
Specified by:
valueChanged in interface org.jgraph.event.GraphSelectionListener

getGraph

public CustomGraph getGraph()
Get value of field: graph

Returns:
the graph

setGraph

public void setGraph(CustomGraph graph)
Set value of field: graph

Parameters:
graph - the graph to set

Graph Common

Copyright 2008 by VLAB Dominik Stoklosa