Ejemplo n.º 1
0
 /**
  * Sets the colour of all links and repaints
  *
  * @param colour link colour
  */
 public void setAllLinkColor(Color colour) {
   for (drawLink L : links.values()) {
     L.color = colour;
   }
   this.repaint();
 }
Ejemplo n.º 2
0
 /**
  * Sets the colour of all links, but don't repaint
  *
  * @param colour link colour
  */
 public void setAllLinkColorNoRepaint(Color colour) {
   for (drawLink L : links.values()) {
     L.color = colour;
   }
 }