1 package org.columba.mail.search; 19 20 import java.net.URI ; 21 import java.util.Date ; 22 23 import javax.swing.ImageIcon ; 24 25 import org.columba.core.search.SearchResult; 26 import org.columba.ristretto.message.Address; 27 28 public class MailSearchResult extends SearchResult { 29 30 private String stringDate; 31 32 private Address from; 33 34 private ImageIcon statusIcon; 35 36 private boolean flagged; 37 38 private Date date; 39 48 public MailSearchResult(String title, String description, URI location, 49 String stringDate, Date date, Address from, ImageIcon statusIcon, boolean flagged) { 50 super(title, description, location); 51 this.stringDate = stringDate; 52 this.date = date; 53 this.from = from; 54 this.statusIcon = statusIcon; 55 this.flagged = flagged; 56 } 57 58 61 public String getStringDate() { 62 return stringDate; 63 } 64 65 68 public Address getFrom() { 69 return from; 70 } 71 72 75 public ImageIcon getStatusIcon() { 76 return statusIcon; 77 } 78 79 82 public boolean isFlagged() { 83 return flagged; 84 } 85 86 public Date getDate() { 87 return date; 88 } 89 } 90 | Popular Tags |