org.gscg.common.interactionlayer.dataobjects
Class ProgressionData

java.lang.Object
  extended byorg.gscg.common.interactionlayer.dataobjects.ProgressionData
All Implemented Interfaces:
DataInterface, java.io.Serializable

public class ProgressionData
extends java.lang.Object
implements DataInterface, java.io.Serializable

The ProgressionData encapsulates all the data necessary to update the time and progression panel in a user interface.

Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl . The source code and binary code of this software is proprietary information of Delft University of Technology.

Since:
1.0.0
Version:
$Revision: 1.1 $ $Date: 2005/06/16 12:33:58 $
Author:
Stijn-Pieter van Houten
See Also:
Serialized Form

Field Summary
static java.lang.String KEY_LOCAL_DATE
          the local date key
static java.lang.String KEY_LOCAL_PROGRESS
          the local progress key
static java.lang.String KEY_LOCAL_PROGRESS_TIME
          the local progress time key
static java.lang.String KEY_LOCAL_STOP_TIME
          the local stop time key
static java.lang.String KEY_LOCAL_TIME
          the local time key
 
Constructor Summary
ProgressionData(java.lang.String date, java.lang.String time, java.lang.String stopTime, double progress, java.lang.String progressTime)
          constructs a new ProgressionData object.
 
Method Summary
 java.lang.String getData(java.lang.String key)
          Method getData.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_LOCAL_DATE

public static final java.lang.String KEY_LOCAL_DATE
the local date key

See Also:
Constant Field Values

KEY_LOCAL_TIME

public static final java.lang.String KEY_LOCAL_TIME
the local time key

See Also:
Constant Field Values

KEY_LOCAL_STOP_TIME

public static final java.lang.String KEY_LOCAL_STOP_TIME
the local stop time key

See Also:
Constant Field Values

KEY_LOCAL_PROGRESS

public static final java.lang.String KEY_LOCAL_PROGRESS
the local progress key

See Also:
Constant Field Values

KEY_LOCAL_PROGRESS_TIME

public static final java.lang.String KEY_LOCAL_PROGRESS_TIME
the local progress time key

See Also:
Constant Field Values
Constructor Detail

ProgressionData

public ProgressionData(java.lang.String date,
                       java.lang.String time,
                       java.lang.String stopTime,
                       double progress,
                       java.lang.String progressTime)
constructs a new ProgressionData object.

Parameters:
date - the date to show
time - the time to show
stopTime - the stop time
progress - the progress
progressTime - the progress time
Method Detail

getData

public java.lang.String getData(java.lang.String key)
Description copied from interface: DataInterface
Method getData.

Specified by:
getData in interface DataInterface
Parameters:
key - the key for the data
Returns:
returns a String based on the key, or null if the key is unknown
See Also:
DataInterface.getData(java.lang.String)


Copyright © 2002-2005 Delft University of Technology, the Netherlands. All Rights Reserved.