No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

GraphPalette.java 477B

1234567891011121314151617181920212223
  1. package org.insa.graphics.drawing;
  2. import java.awt.Color;
  3. import org.insa.graph.Arc;
  4. public interface GraphPalette {
  5. /**
  6. * @param arc Arc for which color should be retrieved.
  7. *
  8. * @return Color associated with the given arc.
  9. */
  10. public Color getColorForArc(Arc arc);
  11. /**
  12. * @param arc Arc for which width should be retrieved.
  13. *
  14. * @return Width associated with the given arc.
  15. */
  16. public int getWidthForArc(Arc arc);
  17. }