예제 #1
0
    public ArrayList<Datum> getHoveredDatums() {
      ArrayList<Datum> toReturn = new ArrayList<Datum>();
      for (Node n : fdg.getNodes()) {
        if (n.containsPoint(mouseX, mouseY)) {
          for (Datum d : n.datumsEncapsulated) {
            toReturn.add(d);
          }
        }
      }

      return toReturn;
    }
예제 #2
0
 public void setBounds(Rect bounds) {
   fdg.setBounds(bounds);
 }
예제 #3
0
 public void render() {
   fdg.render();
 }