Update of /cvsroot/graphl/graphl/src/org/mediavirus/graphl/painter
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19091/src/org/mediavirus/graphl/painter
Modified Files:
BoxNodePainter.java
Log Message:
- FEATURE: updated applets parameters to match application command line options
- FEATURE: GraphlPane now maintains a pointer to node+edge the mouse is currently over
- FEATURE: started implementation of generic type menu
- FEATURE: started implementation of node manipulator
- BUG: fixed graph context menu
- CODE: moved AbstractManipulator to correct package
- CODE: added setHeight + setWidth in node interface
- CODE: replaced zoomButton with a label
- DOC: some documentation
Index: BoxNodePainter.java
===================================================================
RCS file: /cvsroot/graphl/graphl/src/org/mediavirus/graphl/painter/BoxNodePainter.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** BoxNodePainter.java 30 Nov 2004 09:38:34 -0000 1.8
--- BoxNodePainter.java 29 Dec 2004 14:31:34 -0000 1.9
***************
*** 224,227 ****
--- 224,229 ----
height+=20;
}
+ node.setWidth(width);
+ node.setHeight(height);
Color oldColor=g.getColor();
g.setColor(getBackgroundColor(highlighted, selected, false));
|