23 |
package gzz.view; |
package gzz.view; |
24 |
import gzz.*; |
import gzz.*; |
25 |
import gzz.vob.*; |
import gzz.vob.*; |
|
import java.awt.Dimension; |
|
26 |
|
|
27 |
/** A view showing a single cell. |
/** A view showing a single cell. |
28 |
*/ |
*/ |
29 |
public interface CellView { |
public abstract class CellView extends CellInBox { |
30 |
|
public static final String rcsid = "$Id$"; |
|
/** Place a single cell. |
|
|
* @param Box The box into which to |
|
|
* place the cell. |
|
|
*/ |
|
|
void place(Cell c, VobScene vs, Box b, ViewContext context); |
|
|
|
|
|
/** Get the default size of a cell at a given scale. |
|
|
* Writes the result into a <code>Dimension</code> object. |
|
|
*/ |
|
|
void getDefaultSize(float scale, Dimension writeInto); |
|
|
|
|
31 |
} |
} |