edu.umd.cfar.lamp.viper.gui.chronology
Class ViperChronicleSelectionModel

java.lang.Object
  extended byAbstractChronicleSelectionModel
      extended byedu.umd.cfar.lamp.viper.gui.chronology.ViperChronicleSelectionModel

public class ViperChronicleSelectionModel
extends AbstractChronicleSelectionModel

Reflects the mediator's selection as a chronicle selection.

See Also:
Serialized Form

Constructor Summary
ViperChronicleSelectionModel()
           
 
Method Summary
 ViperViewMediator getMediator()
           
 Node getNodeWhoseTimeToSelect()
           
 java.util.Iterator getSelectedLines()
           
 TemporalRange getSelectedTime()
           
 boolean isSelected(TimeLine tl)
           
 void setMediator(ViperViewMediator mediator)
           
 void setNodeWhoseTimeToSelect(Node nodeWhoseTimeToSelect)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViperChronicleSelectionModel

public ViperChronicleSelectionModel()
Method Detail

isSelected

public boolean isSelected(TimeLine tl)

getSelectedLines

public java.util.Iterator getSelectedLines()

getSelectedTime

public TemporalRange getSelectedTime()

getMediator

public ViperViewMediator getMediator()
Returns:
Returns the mediator.

setMediator

public void setMediator(ViperViewMediator mediator)
Parameters:
mediator - The mediator to set.

getNodeWhoseTimeToSelect

public Node getNodeWhoseTimeToSelect()
Returns:
Returns the nodeWhoseTimeToSelect.

setNodeWhoseTimeToSelect

public void setNodeWhoseTimeToSelect(Node nodeWhoseTimeToSelect)
Parameters:
nodeWhoseTimeToSelect - The nodeWhoseTimeToSelect to set.