be_graphe2/be-graphes-gui/src/main/java/org/insa/graphs/gui/drawing/GraphPalette.java
2020-02-27 21:09:05 +01:00

23 wiersze
486 B
Java

package org.insa.graphs.gui.drawing;
import java.awt.Color;
import org.insa.graphs.model.Arc;
public interface GraphPalette {
/**
* @param arc Arc for which color should be retrieved.
*
* @return Color associated with the given arc.
*/
public Color getColorForArc(Arc arc);
/**
* @param arc Arc for which width should be retrieved.
*
* @return Width associated with the given arc.
*/
public int getWidthForArc(Arc arc);
}