01: package org.enhydra.jawe.components.graph;
02:
03: /**
04: * Defines the requirements for an object that
05: * represents a cell that should be linked with
06: * other cells.
07: */
08:
09: public interface Linkable {
10: /**
11: * Returns <code>true</code> if cell that implements it is a valid source for link.
12: */
13: boolean acceptsSource();
14:
15: /**
16: * Returns <code>true</code> if cell that implements it is a valid target for link.
17: */
18: boolean acceptsTarget();
19:
20: }
|