⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 task.html

📁 JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="Task(java.lang.String, org.jfree.data.time.TimePeriod)"><!-- --></A><H3>Task</H3><PRE>public <B>Task</B>(java.lang.String&nbsp;description,            <A HREF="../../../../org/jfree/data/time/TimePeriod.html" title="interface in org.jfree.data.time">TimePeriod</A>&nbsp;duration)</PRE><DL><DD>Creates a new task.<P><DT><B>Parameters:</B><DD><CODE>description</CODE> - the task description.<DD><CODE>duration</CODE> - the task duration.</DL><HR><A NAME="Task(java.lang.String, java.util.Date, java.util.Date)"><!-- --></A><H3>Task</H3><PRE>public <B>Task</B>(java.lang.String&nbsp;description,            java.util.Date&nbsp;start,            java.util.Date&nbsp;end)</PRE><DL><DD>Creates a new task.<P><DT><B>Parameters:</B><DD><CODE>description</CODE> - the task description.<DD><CODE>start</CODE> - the start date.<DD><CODE>end</CODE> - the end date.</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getDescription()"><!-- --></A><H3>getDescription</H3><PRE>public java.lang.String <B>getDescription</B>()</PRE><DL><DD>Returns the task description.<P><DD><DL><DT><B>Returns:</B><DD>The task description.</DL></DD></DL><HR><A NAME="setDescription(java.lang.String)"><!-- --></A><H3>setDescription</H3><PRE>public void <B>setDescription</B>(java.lang.String&nbsp;description)</PRE><DL><DD>Sets the task description.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>description</CODE> - the new description.</DL></DD></DL><HR><A NAME="getDuration()"><!-- --></A><H3>getDuration</H3><PRE>public <A HREF="../../../../org/jfree/data/time/TimePeriod.html" title="interface in org.jfree.data.time">TimePeriod</A> <B>getDuration</B>()</PRE><DL><DD>Returns the duration (actual or estimated) of the task.<P><DD><DL><DT><B>Returns:</B><DD>The task duration.</DL></DD></DL><HR><A NAME="setDuration(org.jfree.data.time.TimePeriod)"><!-- --></A><H3>setDuration</H3><PRE>public void <B>setDuration</B>(<A HREF="../../../../org/jfree/data/time/TimePeriod.html" title="interface in org.jfree.data.time">TimePeriod</A>&nbsp;duration)</PRE><DL><DD>Sets the task duration (actual or estimated).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>duration</CODE> - the duration.</DL></DD></DL><HR><A NAME="getPercentComplete()"><!-- --></A><H3>getPercentComplete</H3><PRE>public java.lang.Double <B>getPercentComplete</B>()</PRE><DL><DD>Returns the percentage complete for this task.<P><DD><DL><DT><B>Returns:</B><DD>The percentage complete (possibly <code>null</code>).</DL></DD></DL><HR><A NAME="setPercentComplete(double)"><!-- --></A><H3>setPercentComplete</H3><PRE>public void <B>setPercentComplete</B>(double&nbsp;percent)</PRE><DL><DD>Sets the percentage complete for the task.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>percent</CODE> - the percentage.</DL></DD></DL><HR><A NAME="setPercentComplete(java.lang.Double)"><!-- --></A><H3>setPercentComplete</H3><PRE>public void <B>setPercentComplete</B>(java.lang.Double&nbsp;percent)</PRE><DL><DD>Sets the percentage complete for the task.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>percent</CODE> - the percentage (<code>null</code> permitted).</DL></DD></DL><HR><A NAME="addSubtask(org.jfree.data.gantt.Task)"><!-- --></A><H3>addSubtask</H3><PRE>public void <B>addSubtask</B>(<A HREF="../../../../org/jfree/data/gantt/Task.html" title="class in org.jfree.data.gantt">Task</A>&nbsp;subtask)</PRE><DL><DD>Adds a sub-task to the task.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>subtask</CODE> - the subtask.</DL></DD></DL><HR><A NAME="removeSubtask(org.jfree.data.gantt.Task)"><!-- --></A><H3>removeSubtask</H3><PRE>public void <B>removeSubtask</B>(<A HREF="../../../../org/jfree/data/gantt/Task.html" title="class in org.jfree.data.gantt">Task</A>&nbsp;subtask)</PRE><DL><DD>Removes a sub-task from the task.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>subtask</CODE> - the subtask.</DL></DD></DL><HR><A NAME="getSubtaskCount()"><!-- --></A><H3>getSubtaskCount</H3><PRE>public int <B>getSubtaskCount</B>()</PRE><DL><DD>Returns the sub-task count.<P><DD><DL><DT><B>Returns:</B><DD>The sub-task count.</DL></DD></DL><HR><A NAME="getSubtask(int)"><!-- --></A><H3>getSubtask</H3><PRE>public <A HREF="../../../../org/jfree/data/gantt/Task.html" title="class in org.jfree.data.gantt">Task</A> <B>getSubtask</B>(int&nbsp;index)</PRE><DL><DD>Returns a sub-task.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index.<DT><B>Returns:</B><DD>The sub-task.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;PREV CLASS&nbsp;&nbsp;<A HREF="../../../../org/jfree/data/gantt/TaskSeries.html" title="class in org.jfree.data.gantt"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Task.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

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