fr.emn.inputeditor
Interface Uniteable

All Known Implementing Classes:
LiteLink, LiteNode

public interface Uniteable

A lite object that can be part of a union must implement this interface.


Method Summary
 boolean canUniteWith(Lite l)
          Returns true if this lite can form a union with l.
 LiteUnion getUnionInstance()
          Returns an instance of LiteUnion related to this lite object.
 

Method Detail

canUniteWith

public boolean canUniteWith(Lite l)
Returns true if this lite can form a union with l.

This must be a relation of equivalence.


getUnionInstance

public LiteUnion getUnionInstance()
Returns an instance of LiteUnion related to this lite object.