Changeset 10166


Ignore:
Timestamp:
2005-06-23T11:49:01+12:00 (19 years ago)
Author:
davidb
Message:

Comments reformated to fit 80 char column width.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/java/org/nzdl/gsdl/GsdlCollageApplet/GsdlCollageApplet.java

    r9237 r10166  
    3030     *  newer images will simply be pasted on top of existing images <br> */
    3131    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 */
    3738    protected int maxDepth_     = 3;
    3839
     
    4041    protected int maxDisplay_ = 25;
    4142
    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*/
    4446    protected int maxDownloads_ = Integer.MAX_VALUE;
    4547
    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... */
    4750    protected String imageType_ = ".jpg%.png";
    4851
     
    5861    /** Stores an image and url pair and provides associated methods */
    5962    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 */
    6165    protected DownloadUrls download_thread_   = null;
    6266    /** Image processing and placement on applet screen */
     
    7882    public int refreshDelay() { return refreshDelay_; }
    7983
    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.
    8793     * Then starts downloading and displaying images */
    8894    public void init()
     
    265271    }
    266272       
    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 */
    268275    public void paint(Graphics g) {
    269276    if (display_thread_!=null)
Note: See TracChangeset for help on using the changeset viewer.