Changeset 10166
- Timestamp:
- 2005-06-23T11:49:01+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/java/org/nzdl/gsdl/GsdlCollageApplet/GsdlCollageApplet.java
r9237 r10166 30 30 * newer images will simply be pasted on top of existing images <br> */ 31 31 protected boolean isJava2_ = true; 32 /** Number of nested links to follow 33 * When used with greenstone, controls to which level of the document links will be followed 34 * For example a maximum depth of 1 will mean only the top page of a document will be examined, 35 * while a depth of 2 will include sections within this document, 3 includes sections within 36 * sections, and so on */ 32 /** Number of nested links to follow When used with greenstone, 33 * controls to which level of the document links will be followed For 34 * example a maximum depth of 1 will mean only the top page of a 35 * document will be examined, while a depth of 2 will include sections 36 * within this document, 3 includes sections within sections, and so 37 * on */ 37 38 protected int maxDepth_ = 3; 38 39 … … 40 41 protected int maxDisplay_ = 25; 41 42 42 /** Maximum number of downloaded images to store <br> 43 * Prevents applet from using excessive amounts of bandwidth by downloading too many images simulataneously*/ 43 /** Maximum number of downloaded images to store <br> Prevents applet 44 * from using excessive amounts of bandwidth by downloading too many 45 * images simulataneously*/ 44 46 protected int maxDownloads_ = Integer.MAX_VALUE; 45 47 46 /** Types of images permitted in the collage, for example gif, jpg, png... */ 48 /** Types of images permitted in the collage, for example gif, jpg, 49 * png... */ 47 50 protected String imageType_ = ".jpg%.png"; 48 51 … … 58 61 /** Stores an image and url pair and provides associated methods */ 59 62 protected DownloadImages download_images_ = null; 60 /** Downloads images from a starting url, recursively follows nested links */ 63 /** Downloads images from a starting url, recursively follows nested 64 * links */ 61 65 protected DownloadUrls download_thread_ = null; 62 66 /** Image processing and placement on applet screen */ … … 78 82 public int refreshDelay() { return refreshDelay_; } 79 83 80 /** Gets parameters from the applet code and stores locally<br> 81 * Forms a starting url for image retrieval to begin from<br> 82 * The starting url is formed either by: <br> 83 * Using the image_url parameter as provided, which is assumed to be a complete url<br> 84 * If this parameter does not exist, the assumption is that the collage is being incorporated 85 * with the Greenstone Digital Library Software. The starting url is formed by concatenating 86 * the gwcgi, collection and classifier parameters as provided.<br> 84 /** Gets parameters from the applet code and stores locally. 85 * Forms a starting url for image retrieval to begin from. 86 * The starting url is formed either by: 87 * * Using the image_url parameter as provided, which is assumed to 88 * be a complete url 89 * * If this parameter does not exist, the assumption is that the 90 * collage is being incorporated with the Greenstone Digital Library 91 * Software. The starting url is formed by concatenating 92 * the gwcgi, collection and classifier parameters as provided. 87 93 * Then starts downloading and displaying images */ 88 94 public void init() … … 265 271 } 266 272 267 /** Repaints the applet using the paint method of the thread that is currently displaying images */ 273 /** Repaints the applet using the paint method of the thread that is 274 * currently displaying images */ 268 275 public void paint(Graphics g) { 269 276 if (display_thread_!=null)
Note:
See TracChangeset
for help on using the changeset viewer.