1 // HTMLParser Library - A java-based parser for HTML 2 // http://htmlparser.org 3 // Copyright (C) 2006 Derrick Oswald 4 // 5 // Revision Control Information 6 // 7 // $URL: https://svn.sourceforge.net/svnroot/htmlparser/trunk/thumbelina/src/main/java/org/htmlparser/lexerapplications/thumbelina/PictureListener.java $ 8 // $Author: derrickoswald $ 9 // $Date: 2006-09-16 10:44:17 -0400 (Sat, 16 Sep 2006) $ 10 // $Revision: 4 $ 11 // 12 // This library is free software; you can redistribute it and/or 13 // modify it under the terms of the Common Public License; either 14 // version 1.0 of the License, or (at your option) any later version. 15 // 16 // This library is distributed in the hope that it will be useful, 17 // but WITHOUT ANY WARRANTY; without even the implied warranty of 18 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 // Common Public License for more details. 20 // 21 // You should have received a copy of the Common Public License 22 // along with this library; if not, the license is available from 23 // the Open Source Initiative (OSI) website: 24 // http://opensource.org/licenses/cpl1.0.php 25 26 package org.htmlparser.lexerapplications.thumbelina; 27 28 /** 29 * Provides notification functionality for pictures. 30 */ 31 public interface PictureListener 32 { 33 /** 34 * Notification for a download completed. 35 * @param picture The picture for which download has finished. 36 */ 37 void pictureReceived (Picture picture); 38 39 /** 40 * Notification for a picture ready for use (loaded into memory). 41 */ 42 void pictureReady (Picture picture); 43 } 44