package net.sf.cannagrower.data.event;
import net.sf.cannagrower.data.Event;
import net.sf.cannagrower.gui.PanelEvent;
import net.sf.cannagrower.gui.PanelEventComment;
import net.sf.cannagrower.i18n.Messages;
public class Comment extends Event {
static final long serialVersionUID = 1L;
private String title=Messages.getMessage(Messages.messageNoName);
private String comment;
public String toString() {
return toString(title);
}
public PanelEvent getViewer() {
return new PanelEventComment();
}
public String getComment() {return comment;}
public void setComment(String comment) {setModified(true);this.comment = comment;}
public String getTitle() {return title;}
public void setTitle(String title) {setModified(true);this.title = title;}
}