|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.toscanaj.controller.fca.DiagramReference
Used to store references to diagrams, including the concept used for filtering in past diagrams. Beneath adding the concept reference (which is null for current and future diagrams) this gives the references identity, otherwise we would get problems in adding a diagram twice to the history.
Constructor Summary | |
DiagramReference(Diagram2D diagram,
Concept filterConcept)
Initialises a new reference. |
Method Summary | |
boolean |
equals(java.lang.Object other)
|
Diagram2D |
getDiagram()
Returns the diagram we refer to. |
Concept |
getFilterConcept()
Returns the concept used as filter (null for current and future diagrams). |
int |
hashCode()
|
void |
setFilterConcept(Concept filterConcept)
|
java.lang.String |
toString()
Returns the diagram title for usage in a view. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DiagramReference(Diagram2D diagram, Concept filterConcept)
Method Detail |
public Diagram2D getDiagram()
public Concept getFilterConcept()
public void setFilterConcept(Concept filterConcept)
public java.lang.String toString()
public boolean equals(java.lang.Object other)
public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |