KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > jawe > graph > Linkable


1 /* Linkable.java
2  *
3  * Authors:
4  * Stefanovic Nenad chupo@iis.ns.ac.yu
5  * Bojanic Sasa sasaboy@neobee.net
6  * Puskas Vladimir vpuskas@eunet.yu
7  * Pilipovic Goran zboniek@uns.ac.yu
8  *
9  */

10
11 package org.enhydra.jawe.graph;
12
13 /**
14 * Defines the requirements for an object that
15 * represents a cell that should be linked with
16 * other cells.
17 */

18
19 public interface Linkable {
20    /**
21    * Returns <code>true</code> if cell that implements it is a valid source for link.
22    */

23    boolean acceptsSource();
24
25    /**
26    * Returns <code>true</code> if cell that implements it is a valid target for link.
27    */

28    boolean acceptsTarget();
29
30 }
31
32 /* End of Linkable.java */
33
Popular Tags