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

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

Best Java code snippets using org.jfree.data.gantt.Task.getSubtaskCount (Showing top 2 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: jfree/jfreechart

/**
 * Returns the number of sub-intervals for a given item.
 *
 * @param rowKey  the row key.
 * @param columnKey  the column key.
 *
 * @return The sub-interval count.
 */
@Override
public int getSubIntervalCount(Comparable rowKey, Comparable columnKey) {
  int result = 0;
  int row = getRowIndex(rowKey);
  TaskSeries series = (TaskSeries) this.data.get(row);
  Task task = series.get(columnKey.toString());
  if (task != null) {
    result = task.getSubtaskCount();
  }
  return result;
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Returns the number of sub-intervals for a given item.
 *
 * @param rowKey  the row key.
 * @param columnKey  the column key.
 *
 * @return The sub-interval count.
 */
public int getSubIntervalCount(Comparable rowKey, Comparable columnKey) {
  int result = 0;
  int row = getRowIndex(rowKey);
  TaskSeries series = (TaskSeries) this.data.get(row);
  Task task = series.get(columnKey.toString());
  if (task != null) {
    result = task.getSubtaskCount();
  }
  return result;
}
org.jfree.data.ganttTaskgetSubtaskCount

Javadoc

Returns the sub-task count.

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.
  • setDuration
    Sets the task duration (actual or estimated).

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