1 package org.catacomb.dataview; 2 3 import org.catacomb.datalish.Box; 4 import org.catacomb.graph.gui.Painter; 5 import java.awt.Color; 6 7 public abstract class PlotElement { 8 9 public String label; 10 public Color col = Color.white; 11 12 public abstract void instruct(Painter p); 13 14 public abstract void push(Box b); 15 16 17 public String getLabel() { 18 return label; 19 } 20 21 public Color getColor() { 22 return col; 23 } 24 25 26 }