ilog.views.gantt.graphic
Interface IlvTimeConverter

All Known Implementing Classes:
IlvLinearTimeConverter

public interface IlvTimeConverter

IlvTimeConverter implementations are used to convert between Dates and floating-point IlvManager world coordinates. A time converter is used by components that need to display time-related information, such as the IlvGanttSheet or the IlvTimeScale.


Method Summary
 Date getTime(double units)
          Converts the specified double value to a Date.
 double getUnits(Date time)
          Converts the specified Date to a double.
 boolean isLinear()
          Returns whether the time converter is continuous and linear.
 

Method Detail

getUnits

double getUnits(Date time)
Converts the specified Date to a double.

Parameters:
time - The Date to be converted.
Returns:
The converted double value.

getTime

Date getTime(double units)
Converts the specified double value to a Date.

Parameters:
units - The double value to be converted.
Returns:
The converted Date.

isLinear

boolean isLinear()
Returns whether the time converter is continuous and linear.

Since:
JViews 6.5


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.