Gephi Toolkit Javadoc

org.gephi.timeline
Class TimelineChartImpl

java.lang.Object
  extended by org.gephi.timeline.TimelineChartImpl
All Implemented Interfaces:
TimelineChart

public class TimelineChartImpl
extends java.lang.Object
implements TimelineChart

Author:
Mathieu Bastian

Constructor Summary
TimelineChartImpl(AttributeColumn column, java.lang.Number[] x, java.lang.Number[] y)
           
 
Method Summary
 AttributeColumn getColumn()
          The attribute column used to create this chart.
 java.lang.Number getMaxX()
          Returns the max X value.
 java.lang.Number getMaxY()
          Returns the max Y value.
 java.lang.Number getMinX()
          Returns the min X value .This is the minimum interval in the chart.
 java.lang.Number getMinY()
          Returns the min Y value .This is the minimum value in the chart.
 java.lang.Number[] getX()
          Returns the X values of this chart.
 java.lang.Number[] getY()
          Returns the Y values of this chart.
 java.lang.Number getY(java.lang.Number posX)
          Return the Y value for the given x position.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimelineChartImpl

public TimelineChartImpl(AttributeColumn column,
                         java.lang.Number[] x,
                         java.lang.Number[] y)
Method Detail

getX

public java.lang.Number[] getX()
Description copied from interface: TimelineChart
Returns the X values of this chart.

Specified by:
getX in interface TimelineChart
Returns:
the X values

getY

public java.lang.Number[] getY()
Description copied from interface: TimelineChart
Returns the Y values of this chart.

Specified by:
getY in interface TimelineChart
Returns:
the Y values

getY

public java.lang.Number getY(java.lang.Number posX)
Description copied from interface: TimelineChart
Return the Y value for the given x position. It returns the closest value, as x may not exist.

Specified by:
getY in interface TimelineChart
Parameters:
posX - the point in time
Returns:
the Y value

getMinY

public java.lang.Number getMinY()
Description copied from interface: TimelineChart
Returns the min Y value .This is the minimum value in the chart.

Specified by:
getMinY in interface TimelineChart
Returns:
the min Y value

getMaxY

public java.lang.Number getMaxY()
Description copied from interface: TimelineChart
Returns the max Y value. This is the maximum value in the chart.

Specified by:
getMaxY in interface TimelineChart
Returns:
the max Y value

getMinX

public java.lang.Number getMinX()
Description copied from interface: TimelineChart
Returns the min X value .This is the minimum interval in the chart.

Specified by:
getMinX in interface TimelineChart
Returns:
the min X value

getMaxX

public java.lang.Number getMaxX()
Description copied from interface: TimelineChart
Returns the max X value. This is the maximum interval in the chart.

Specified by:
getMaxX in interface TimelineChart
Returns:
the max X value

getColumn

public AttributeColumn getColumn()
Description copied from interface: TimelineChart
The attribute column used to create this chart.

Specified by:
getColumn in interface TimelineChart
Returns:
the attribute column

Gephi Toolkit Javadoc