1 /* 2 * File: Drawable.java 3 * 4 * Drawable interface 5 * 6 * Copyright: Northeast Parallel Architectures Center 7 * 8 */ 9 10 import java.awt.Color; 11 import java.awt.Graphics; 12 import java.awt.Component; 13 14 public interface Drawable { 15 16 public Color getColor(); 17 public void setColor( Color color ); 18 19 public void draw( Graphics g ); 20 public void draw( Component c ); 21 22 public void fill( Graphics g ); 23 public void fill( Component c ); 24 25 }