Package net.sf.cannagrower.data.event

Source Code of net.sf.cannagrower.data.event.Comment

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;}
}
TOP

Related Classes of net.sf.cannagrower.data.event.Comment

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.