| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
IdeDiagram visualizes a content of RwiDiagram on the screen.
| Method Summary | |
IdeDiagramElement | findElement(RwiElement rwiElement)Returns IdeDiagramElement corresponding to the specified RwiElement. |
IdeDiagramElement | findElement(RwiReference rwiReference)Returns IdeDiagramElement corresponding to the RwiElement referred to by the
specified RwiReference. |
void | fitInWindow()Zooms this diagram out so that all elements fit the diagram's window. |
RwiDiagram | getRwiDiagram()Returns the RwiDiagram corresponding to this diagram. |
double | getZoomFactor()Returns zoom factor. |
void | scrollTo(IdeDiagramElement element)Scrolls the diagram to make specified IdeDIagramElement visible. |
void | select(IdeDiagramElement element)Adds specified IdeDiagramElement to the set of selected elements of this diagram. |
IdeDiagramElementEnumeration | selectedElements()Returns an enumeration of IdeDiagramElements currently selected in this diagram. |
void | setZoomFactor(double factor)Sets specified zoom factor for this diagram. |
void | unselect(IdeDiagramElement element)Removes the specified IdeDiagramElement from the selection in this diagram. |
void | unselectAll()Clears the selection in this diagram. |
| Method Detail |
public IdeDiagramElement findElement(RwiElement rwiElement)
IdeDiagramElement corresponding to the specified RwiElement.
If there is no such element returns null.RwiElement instanceIdeDiagramElement corresponding to the specified RwiElementpublic IdeDiagramElement findElement(RwiReference rwiReference)
IdeDiagramElement corresponding to the RwiElement referred to by the
specified RwiReference.
If there is no such element returns null.rwiReferenceIdeDiagramElement corresponding to the
RwiElement referred to by the specified RwiReferencepublic void fitInWindow()
public RwiDiagram getRwiDiagram()
RwiDiagram corresponding to this diagram.RwiDiagram corresponding to this diagram.public double getZoomFactor()
public void scrollTo(IdeDiagramElement element)
IdeDIagramElement visible.IdeDiagramElement to scroll topublic void select(IdeDiagramElement element)
IdeDiagramElement to the set of selected elements of this diagram.IdeDiagramElement to add to the selection.public IdeDiagramElementEnumeration selectedElements()
IdeDiagramElements currently selected in this diagram.IdeDiagramElements currently selected in this diagram.public void setZoomFactor(double factor)
public void unselect(IdeDiagramElement element)
IdeDiagramElement from the selection in this diagram.IdeDiagramElement to remove from the selection.public void unselectAll()
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||