|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class is an abstraction of all diagram related information.
Field Summary |
Fields inherited from interface net.sourceforge.toscanaj.model.diagram.Diagram2D |
DESCRIPTION_ELEMENT_NAME, DIAGRAM_ELEMENT_NAME, EXTRA_CANVAS_ITEMS_ELEMENT_NAME, MINIMUM_STEEPNESS, TITLE_ATTRIBUTE_NAME |
Method Summary | |
void |
addLine(DiagramNode from,
DiagramNode to)
Adds a line to the diagram (at the end of the list). |
void |
addNode(DiagramNode node)
Adds a point to the diagram (at the end of the list). |
void |
sendChangeEvent()
Sends a notification about a change into the broker attached. |
void |
setDescription(org.jdom.Element descriptionXML)
Gives the diagram a description. |
void |
setEventBroker(org.tockit.events.EventBroker eventBroker)
Sets an event broker to send DiagramChangeEvents to. |
void |
setTitle(java.lang.String title)
Change the title of the diagram. |
Methods inherited from interface net.sourceforge.toscanaj.model.diagram.Diagram2D |
getAttributeLabel, getBottomConcept, getBounds, getDescription, getEventBroker, getFromPosition, getLine, getLines, getNode, getNode, getNodeForConcept, getNodes, getNumberOfLines, getNumberOfNodes, getObjectLabel, getTitle, getTopConcept, getToPosition, isHasseDiagram |
Methods inherited from interface net.sourceforge.toscanaj.util.xmlize.XMLizable |
readXML, toXML |
Method Detail |
public void setTitle(java.lang.String title)
public void setDescription(org.jdom.Element descriptionXML)
public void addNode(DiagramNode node)
public void addLine(DiagramNode from, DiagramNode to)
public void setEventBroker(org.tockit.events.EventBroker eventBroker)
public void sendChangeEvent()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |