| java.lang.Object org.cougaar.mlm.debug.ui.UITimeLine
UITimeLine | public class UITimeLine (Code) | | |
Constructor Summary | |
public | UITimeLine(Date startDate, Date stopDate) Create a timeline with the minimum and maximum times. | public | UITimeLine(Date startDate, Date stopDate, int intervalUnits) Create a timeline with the minimum and maximum times. |
UITimeLine | public UITimeLine(Date startDate, Date stopDate)(Code) | | Create a timeline with the minimum and maximum times.
Optionally determine timeline divisions: years, days or hours.
Parameters: startDate - the date corresponding to the first division on the timeline Parameters: stopDate - the date corresponding to the last division on the timeline |
UITimeLine | public UITimeLine(Date startDate, Date stopDate, int intervalUnits)(Code) | | Create a timeline with the minimum and maximum times.
Optionally determine timeline divisions: years, days or hours.
Parameters: startDate - the date corresponding to the first division on the timeline Parameters: stopDate - the date corresponding to the last division on the timeline Parameters: intervalUnits - years, days, or hours, or unspecified |
getIntervalUnits | public int getIntervalUnits()(Code) | | Get timeline units.
Calendar.HOUR_OF_DAY, Calendar.DAY_OF_YEAR, or Calendar.HOUR_OF_DAY |
getIntervalUnitsName | public String getIntervalUnitsName()(Code) | | Get timeline units name.
"Hours" "Days" or "Year" |
getLabels | public String[] getLabels()(Code) | | Return array of strings for timeline labels.
the numeric labels for the timeline |
getNumberOfIntervals | public int getNumberOfIntervals()(Code) | | Get number of intervals in the timeline.
number of intervals in the timeline |
main | public static void main(String args)(Code) | | For testing, create a time line.
|
|
|