1 package org.catacomb.dataview.formats; 2 3 import java.io.File; 4 5 import org.catacomb.dataview.display.ViewConfig; 6 import org.catacomb.graph.gui.PaintInstructor; 7 8 public interface DataHandler extends PaintInstructor { 9 10 11 public String getMagic(); 12 13 public void read(File f); 14 15 public String[] getViewOptions(); 16 17 public void setViewStyle(String s); 18 19 public String[] getPlotNames(); 20 21 public double getMinValue(); 22 23 public double getMaxValue(); 24 25 public double[] getFrameValues(); 26 27 28 public final static int STATIC = 1; 29 public final static int FRAMES2D = 2; 30 31 public int getContentStyle(); 32 33 public void setFrame(int ifr); 34 35 public void setPlot(String s); 36 37 public DataHandler getCoHandler(); 38 39 public boolean hasData(); 40 41 public String getXAxisLabel(); 42 43 public String getYAxisLabel(); 44 45 public ViewConfig getViewConfig(String s); 46 47 public void setZValue(double d); 48 49 }