/* * SearchTile.java * * Created on December 8, 2005, 7:35 AM */ package Current.manage; import Current.*; import Current.basic.*; import Current.plot.Plotters.*; import java.awt.*; import java.awt.geom.*; /** * This class does not really represent a tile, rather it represents * a search result. That is, it just holds a word. * @author pat */ /**modified by Rich. This class now holds a string of rational points in addition to a word.*/ public class SearchTile implements Tile { String W; int[] n1,k1,n2,k2; VertexPair V; int n; /** Creates a new instance of SearchTile */ public SearchTile(String Word) { W=Word; } /** Creates a new instance of SearchTile */ public SearchTile(String Word,VertexPair VP) { W=Word; V=VP; } public String getStringWord() { return W; } public boolean isPaintable() { return false; } public boolean isSaveable() { return false; } public void paint(Graphics2D g, AffineTransform T) { } public void paintSelected(Graphics2D g, AffineTransform T) { } /** Return a string that can be used to save this tile to a file */ public String saveString(){ return null; } public Rectangle2D getBounds() { return null; } public boolean contains(double x, double y) { return false; } public void setColor(Color C) { } public Color getColor() { return null; } public XPlotter getPlotter() { return null; } }