HEADER

biouml.model
Interface DiagramViewBuilder

All Known Implementing Classes:
DefaultDiagramViewBuilder

public interface DiagramViewBuilder


Method Summary
 CompositeViewcreateCompartmentView(Compartment compartment, DiagramViewOptions options, Graphics g)
           
 DiagramViewOptionscreateDefaultDiagramViewOptions()
           
 CompositeViewcreateDiagramView(Diagram diagram, Graphics g)
           
 CompositeViewcreateEdgeView(Edge edge, DiagramViewOptions options, Graphics g)
           
 CompositeViewcreateNodeView(Node node, DiagramViewOptions options, Graphics g)
           
 Action[]getInsertActions(Diagram diagram)
           
 voidhide(Compartment diagram, Filter filter)
          Hide elements and semantically related edges not satisfying to the specified filter.
 voidhideElement(DiagramElement element)
           
 voidhighlight(Compartment diagram, Filter filter, Brush brush)
          Highlights elements satisfying to the specified filter.
 voidmoveNode(Node node, Point newLocation)
           
 voidremoveElement(DiagramElement element)
           
 voidrestoreView(Compartment diagram)
          Removes effects of any filter.

Method Detail

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.

FOOTER

BOTTOM