|
@@ -1572,13 +1572,25 @@ public class UpperNodeCanvas extends JPanel implements MouseListener, MouseMotio
|
|
|
public void setBackgroundImage(String imagePath, int mode, int width, int height) {
|
|
|
upperNode.setBackgroundImage(imagePath, mode, width, height);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
|
|
|
* set tooltIp
|
|
|
+ *
|
|
|
* @param bool
|
|
|
*/
|
|
|
- public void setToolTip(boolean bool){
|
|
|
+ public void setToolTip(boolean bool) {
|
|
|
this.toolTip = bool;
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ * Set the Mouse Position on the UpperNodeCanvas;
|
|
|
+ *
|
|
|
+ * @param x
|
|
|
+ * @param y
|
|
|
+ */
|
|
|
+ public void setXY(int x, int y) {
|
|
|
+ this.x = x;
|
|
|
+ this.y = y;
|
|
|
+ }
|
|
|
+
|
|
|
}
|