org.objectweb.jac.ide
Class Figure

java.lang.Object
  |
  +--org.objectweb.jac.ide.Figure
Direct Known Subclasses:
GenericFigure, LinkFigure

public class Figure
extends Object

The base class of diagram figures.

See Also:
Diagram

Constructor Summary
Figure()
           
Figure(ModelElement element)
           
 
Method Summary
 Diagram getDiagram()
          Get the value of diagram.
 ModelElement getElement()
          Get the value of the model element.
 void setDiagram(Diagram v)
          Set the value of diagram.
 void setElement(ModelElement element)
          Set the value of the model element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Figure

public Figure()

Figure

public Figure(ModelElement element)
Parameters:
element - the model element represented by this figure
Method Detail

getDiagram

public Diagram getDiagram()
Get the value of diagram.

Returns:
value of diagram.

setDiagram

public void setDiagram(Diagram v)
Set the value of diagram.

Parameters:
v - Value to assign to diagram.

getElement

public ModelElement getElement()
Get the value of the model element.

Returns:
value of elt.

setElement

public void setElement(ModelElement element)
Set the value of the model element.

Parameters:
element - Value to assign to element.