| HEADER | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Default implementation of DiagramViewBuilder.
| Method Summary | |
static void | calcAttachmentPoints(Rectangle r1, Rectangle r2, Point p1, Point p2, int offset)Calculates the attachment points to paint relation between two images described by the specified rectangles. |
CompositeView | createCompartmentView(Compartment compartment, DiagramViewOptions options, Graphics g)Creates compartment view. |
DiagramViewOptions | createDefaultDiagramViewOptions() |
CompositeView | createDiagramView(Diagram diagram, Graphics g)Creates the diagram view |
CompositeView | createEdgeView(Edge edge, DiagramViewOptions options, Graphics g) |
CompositeView | createEquivalentNodeGroupView(EquivalentNodeGroup group, DiagramViewOptions options, Graphics g)Creates view for equivalent node grpoup. |
CompositeView | createNodeView(Node node, DiagramViewOptions options, Graphics g) |
Action[] | getInsertActions(Diagram diagram) |
void | hide(Compartment diagram, Filter filter) |
void | hideElement(DiagramElement element) |
void | highlight(Compartment diagram, Filter filter, Brush brush) |
void | highlightNode(Node node, Filter filter, Brush brush) |
void | moveNode(Node node, Point newLocation) |
static int | proportion(int L, int l) |
void | removeElement(DiagramElement element) |
void | restoreView(Compartment diagram)Removes effects of previous filter. |
| Method Detail |
public static void calcAttachmentPoints(Rectangle r1, Rectangle r2, Point p1, Point p2, int offset)
Two situations are possible:
1 situation 2 situation ________ ______ _______ | | | | | | | | _______ | | | | | |___| | |______| |_______| |________| | | \ | |_______| \ _______ __|_____ | | | | | | | | |_______| |________|
public CompositeView createCompartmentView(Compartment compartment, DiagramViewOptions options, Graphics g)
public DiagramViewOptions createDefaultDiagramViewOptions()
public CompositeView createDiagramView(Diagram diagram, Graphics g)
public CompositeView createEdgeView(Edge edge, DiagramViewOptions options, Graphics g)
public CompositeView createEquivalentNodeGroupView(EquivalentNodeGroup group, DiagramViewOptions options, Graphics g)
public CompositeView createNodeView(Node node, DiagramViewOptions options, Graphics g)
public Action[] getInsertActions(Diagram diagram)
public void hide(Compartment diagram, Filter filter)
public void hideElement(DiagramElement element)
public void highlight(Compartment diagram, Filter filter, Brush brush)
public void highlightNode(Node node, Filter filter, Brush brush)
public void moveNode(Node node, Point newLocation)
public static int proportion(int L, int l)
public void removeElement(DiagramElement element)
public void restoreView(Compartment diagram)
| Association Links |
| FOOTER | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||