Menu

[r32]: / GraphScript / trunk / ls / graph / ui / VertexColors.java  Maximize  Restore  History

Download this file

19 lines (12 with data), 299 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
package ls.graph.ui;
import java.awt.*;
public enum VertexColors
{
RED(Color.RED), BLACK(Color.BLACK), GREY(Color.GRAY), WHITE(Color.WHITE);
private Color color = Color.BLACK;
VertexColors(Color c)
{
this.color = c;
}
public Color color() { return this.color; }
}
MongoDB Logo MongoDB