task.java

来自「这个项目是为Java平台提供一个灵活的日历组件(Ok)」· Java 代码 · 共 68 行

JAVA
68
字号
/* *  NachoCalendar * * Project Info:  http://nachocalendar.sf.net * * This library is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by the * Free Software Foundation; * either version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A * PARTICULAR PURPOSE. * See the GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this library; if not, write to the Free Software Foundation, Inc., * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * * [Java is a trademark or registered trademark of Sun Microsystems, Inc.  * in the United States and other countries.] * * Changes * ------- * * 2004-10-01   Checked with checkstyle * * ------- * * Created on Aug 18, 2004 * */package net.sf.nachocalendar.tasks;import java.util.Date;/** * Interface that must be implemented to show a Task using the * TaskDataModel. * @author Ignacio Merani */public interface Task {    /**     * Returns the Date of this task.     * @return Returns the date.     */    Date getDate();        /**     * Sets the date of this task.     * @param date The date to set.     */    void setDate(Date date);        /**     * Returns the name of this task.     * @return Returns the name.     */    String getName();        /**     * Sets the name of this task.     * @param name The name to set.     */    void setName(String name);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?