Codota Logo
Task.setDuration
Code IndexAdd Codota to your IDE (free)

How to use
setDuration
method
in
org.jfree.data.gantt.Task

Best Java code snippets using org.jfree.data.gantt.Task.setDuration (Showing top 1 results out of 315)

  • Common ways to obtain Task
private void myMethod () {
Task t =
  • Codota IconTaskSeries taskSeries;taskSeries.get(index)
  • Smart code suggestions by Codota
}
origin: jasperreports/jasperreports

task.setDuration(new SimpleTimePeriod(subtask.getDuration().getStart(), task.getDuration().getEnd()));
task.setDuration(new SimpleTimePeriod(task.getDuration().getStart(), subtask.getDuration().getEnd()));
org.jfree.data.ganttTasksetDuration

Javadoc

Sets the task duration (actual or estimated).

Popular methods of Task

  • <init>
    Creates a new task.
  • setPercentComplete
    Sets the percentage complete for the task.
  • addSubtask
    Adds a sub-task to the task.
  • getDescription
    Returns the task description.
  • getDuration
    Returns the duration (actual or estimated) of the task.
  • getPercentComplete
    Returns the percentage complete for this task.
  • getSubtask
    Returns a sub-task.
  • getSubtaskCount
    Returns the sub-task count.

Popular in Java

  • Making http requests using okhttp
  • scheduleAtFixedRate (Timer)
  • getSharedPreferences (Context)
  • getExternalFilesDir (Context)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • JOptionPane (javax.swing)
  • Runner (org.openjdk.jmh.runner)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now