Changeset 1680


Ignore:
Timestamp:
2000-11-20T14:30:50+13:00 (23 years ago)
Author:
paynter
Message:

Highlight occurances of the wors in the phrase when we open a document
(i.e. pass the words in as "query term" arguments in the cgi script).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/phind/client/ResultCanvas.java

    r1640 r1680  
    6262    ResultBox parent;
    6363    Scrollbar scrollbar;
    64 
     64   
    6565    // fonts and font spacings to use
    6666    Font areaPlain, areaBold;
    6767    int lineSpacing;
    68  
    69   // The phrases to display on this canvas
     68    
     69    // The phrases to display on this canvas
    7070    int numberOfPhrases;
    7171    int firstPhraseDisplayed;
    7272    int phraseSelected;
    7373    Vector phrases;
    74 
    75   // the background image
     74   
     75    // the background image
    7676    public static Image backgroundImage;
    77 
    78 
     77   
     78   
    7979    // Create a ResultCanvas from the ResultBox which is its parent.
    8080    ResultCanvas(ResultBox p) {
    81 
     81   
    8282    parent = p;
    8383    phind = p.phind;
     
    439439            String address = phind.library_address
    440440                + "a=d&c=" + phind.collection
    441                 + "&d=" + item.rule;
     441                + "&d=" + item.rule
     442                + "&q=" + parent.searchPhrase.replace(' ', '+');
    442443            url = new URL(address);
    443444            System.out.println("URL selected: " + url.toString());
Note: See TracChangeset for help on using the changeset viewer.