biouml.model
Interface DiagramViewBuilder
- All Known Implementing Classes:
- DefaultDiagramViewBuilder
- public interface DiagramViewBuilder
| Method Summary |
CompositeView | createCompartmentView(Compartment compartment, DiagramViewOptions options, Graphics g) |
DiagramViewOptions | createDefaultDiagramViewOptions() |
CompositeView | createDiagramView(Diagram diagram, Graphics g) |
CompositeView | createEdgeView(Edge edge, DiagramViewOptions options, Graphics g) |
CompositeView | createNodeView(Node node, DiagramViewOptions options, Graphics g) |
Action[] | getInsertActions(Diagram diagram) |
void | hide(Compartment diagram, Filter filter) Hide elements and semantically related edges not satisfying to the specified filter. |
void | hideElement(DiagramElement element) |
void | highlight(Compartment diagram, Filter filter, Brush brush) Highlights elements satisfying to the specified filter. |
void | moveNode(Node node, Point newLocation) |
void | removeElement(DiagramElement element) |
void | restoreView(Compartment diagram) Removes effects of any filter. |
createCompartmentView
public CompositeView createCompartmentView(Compartment compartment, DiagramViewOptions options, Graphics g)
createDefaultDiagramViewOptions
public DiagramViewOptions createDefaultDiagramViewOptions()
createDiagramView
public CompositeView createDiagramView(Diagram diagram, Graphics g)
createEdgeView
public CompositeView createEdgeView(Edge edge, DiagramViewOptions options, Graphics g)
createNodeView
public CompositeView createNodeView(Node node, DiagramViewOptions options, Graphics g)
getInsertActions
public Action[] getInsertActions(Diagram diagram)
hide
public void hide(Compartment diagram, Filter filter)
- Hide elements and semantically related edges not satisfying to the specified filter.
hideElement
public void hideElement(DiagramElement element)
highlight
public void highlight(Compartment diagram, Filter filter, Brush brush)
- Highlights elements satisfying to the specified filter.
moveNode
public void moveNode(Node node, Point newLocation)
removeElement
public void removeElement(DiagramElement element)
restoreView
public void restoreView(Compartment diagram)
- Removes effects of any filter.
BOTTOM