nl.tudelft.goal.ut2004.visualizer.timeline.map
Class DefaultFadeLine
java.lang.Object
nl.tudelft.goal.ut2004.visualizer.timeline.map.DefaultFadeLine
- All Implemented Interfaces:
- IFadeLine
public class DefaultFadeLine
- extends Object
- implements IFadeLine
FadeLine that is used when there is not fade line.
Fadeline is empty and has duration 0.
Use this instead of null for non-existent fade line.
- Author:
- Honza
Method Summary |
long |
getDuration()
Fade line is not of infinite length. |
cz.cuni.amis.pogamut.base3d.worldview.object.Location |
getPosition(long time)
Get position where was fadeline |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultFadeLine
public DefaultFadeLine()
getPosition
public cz.cuni.amis.pogamut.base3d.worldview.object.Location getPosition(long time)
- Description copied from interface:
IFadeLine
- Get position where was fadeline
- Specified by:
getPosition
in interface IFadeLine
- Parameters:
time
- how long in past do we want to know the position (higher number = longer in past)
- Returns:
- Position of fade line at specified time in past
getDuration
public long getDuration()
- Description copied from interface:
IFadeLine
- Fade line is not of infinite length. How big interval does it represents?
- Specified by:
getDuration
in interface IFadeLine
- Returns:
- What time duration does fade line represents, in ms
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.