/* * @(#)ViewportPainter.java * * Copyright (c) 2004-2010 Werner Randelshofer, Immensee, Switzerland. * All rights reserved. * * You may not use, copy or modify this file, except in compliance with the * license agreement you entered into with Werner Randelshofer. * For details see accompanying license terms. */ package ch.randelshofer.quaqua.util; import java.awt.*; import javax.swing.*; /** * This interface is implemented by user interface delegates that wish to * paint onto the content area of a JViewport. * * @author Werner Randelshofer * @version $Id: ViewportPainter.java 363 2010-11-21 17:41:04Z wrandelshofer $ */ public interface ViewportPainter { /** * Paints the viewport of a JViewport, that contains the component of the * user interface delegate. * This method is invoked by QuaquaViewportUI. */ public void paintViewport(Graphics g, JViewport c); }