[graphl-cvs] graphl/src/org/mediavirus/graphl/graph Node.java DefaultNode.java
Status: Pre-Alpha
Brought to you by:
flo1
From: Flo L. <fl...@us...> - 2004-12-29 14:31:45
|
Update of /cvsroot/graphl/graphl/src/org/mediavirus/graphl/graph In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19091/src/org/mediavirus/graphl/graph Modified Files: Node.java DefaultNode.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: DefaultNode.java =================================================================== RCS file: /cvsroot/graphl/graphl/src/org/mediavirus/graphl/graph/DefaultNode.java,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** DefaultNode.java 14 Oct 2004 13:03:02 -0000 1.13 --- DefaultNode.java 29 Dec 2004 14:31:33 -0000 1.14 *************** *** 254,256 **** --- 254,268 ---- + /** + * @param height The height to set. + */ + public void setHeight(double height) { + this.height = height; + } + /** + * @param width The width to set. + */ + public void setWidth(double width) { + this.width = width; + } } Index: Node.java =================================================================== RCS file: /cvsroot/graphl/graphl/src/org/mediavirus/graphl/graph/Node.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** Node.java 5 Oct 2004 07:54:19 -0000 1.10 --- Node.java 29 Dec 2004 14:31:33 -0000 1.11 *************** *** 63,66 **** --- 63,67 ---- */ double getWidth(); + void setWidth(double newWidth); /** * If a negative number is returned, height is unconstrained. *************** *** 68,71 **** --- 69,73 ---- */ double getHeight(); + void setHeight(double newHeight); /** |