package causation.lab.plaf; import javax.swing.plaf.*; import java.awt.Point; import java.awt.Graphics; import causation.lab.Workbench; /** * This class actually has a method, since all WorkbenchUIs must be able to * paint themselves under the special conditions given. * * @see Workbench * @version 1.0 Aug 30, 1999 * @author David Danks */ public abstract class WorkbenchUI extends ComponentUI { /** * Draw a screen shot of the Workbench onto the given graphics context * @param g The Graphics context in which to draw the screen shot * @param origin The origin of the screen shot (needed for translations) * @param mult The compression multiplier * @param expSetup Whether we're drawing an experimental setup * @param w The Workbench to draw onto g */ public abstract void drawWorkbenchImage(Graphics g, Point origin, double mult, boolean expSetup, Workbench w); }