|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.umd.cfar.lamp.viper.gui.core.PropagateInterpolateImpl
An implementation of the propagation module.
Nested Class Summary |
Nested classes inherited from class edu.umd.cfar.lamp.viper.gui.core.PropagateInterpolateModule |
PropagateInterpolateModule.PropagateListener |
Field Summary | |
static java.lang.String |
INTERPOLATE
URI for identifying interpolation edit events. |
static java.lang.String |
PROPAGATE
URI for identifying propagation edit events. |
Constructor Summary | |
PropagateInterpolateImpl()
Constructs a new p/i module. |
Method Summary | |
void |
addPropagateListener(PropagateInterpolateModule.PropagateListener pl)
Adds a listener for changes to the list of items to propagate. |
Interpolator |
getInterpolatorForType(java.lang.String type)
Get the interpolation function object for the given data type. |
java.util.Set |
getPropagatingDescriptors()
Gets all propagating descriptors. |
void |
interpolate(Instant start,
Instant end)
Interpolates all items on the propagation list. |
void |
interpolateAttributes(java.util.Iterator ats,
Instant start,
Instant stop)
Interpolates only the given attributes, without reference to or modification of the propagation list. |
void |
interpolateDescriptors(java.util.Iterator descs,
Instant start,
Instant stop)
Interpolates only the given descriptors, without reference to or modification of the propagation list. |
boolean |
isPropagatingThis(Descriptor d)
Tests to see if this descriptor is on the propagation list. |
void |
propagate(Instant start,
Instant end)
Interpolates the value from start to the interval [start, end]. |
void |
propagateAttributes(java.util.Iterator ats,
Instant start,
Instant end)
Propagates only the given attributes, without reference to or modification of the propagation list. |
void |
propagateDescriptors(java.util.Iterator descs,
Instant start,
Instant end)
Propagates only the given descriptors, without reference to or modification of the propagation list. |
void |
removePropagateListener(PropagateInterpolateModule.PropagateListener pl)
Removes the propagation list listener. |
void |
setMediator(ViperViewMediator mediator)
|
void |
startPropagating(Attribute attr)
Stops the attribute from propagating, even if its descriptor is propagating. |
void |
startPropagating(Descriptor desc)
Adds a descriptor to the propagate list. |
void |
stopPropagating()
Stops all items from propagating. |
void |
stopPropagating(Attribute attr)
Starts the attribute propagating, even if its descriptor is not propagating. |
void |
stopPropagating(Descriptor desc)
Removes the given descriptor from the propagation list. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String PROPAGATE
public static final java.lang.String INTERPOLATE
Constructor Detail |
public PropagateInterpolateImpl()
Method Detail |
public void setMediator(ViperViewMediator mediator)
public boolean isPropagatingThis(Descriptor d)
PropagateInterpolateModule
isPropagatingThis
in interface PropagateInterpolateModule
d
- the descriptor instance
public java.util.Set getPropagatingDescriptors()
PropagateInterpolateModule
getPropagatingDescriptors
in interface PropagateInterpolateModule
public void startPropagating(Descriptor desc)
PropagateInterpolateModule
startPropagating
in interface PropagateInterpolateModule
desc
- public void stopPropagating()
PropagateInterpolateModule
stopPropagating
in interface PropagateInterpolateModule
public void stopPropagating(Descriptor desc)
PropagateInterpolateModule
stopPropagating
in interface PropagateInterpolateModule
desc
- the descriptor to removepublic Interpolator getInterpolatorForType(java.lang.String type)
type
- the data type
public void interpolate(Instant start, Instant end)
PropagateInterpolateModule
interpolate
in interface PropagateInterpolateModule
start
- the frame to use as the start of the interpolationend
- the frame or time to use as the end value of the
interpolationpublic void propagate(Instant start, Instant end)
PropagateInterpolateModule
propagate
in interface PropagateInterpolateModule
start
- end
- public void propagateDescriptors(java.util.Iterator descs, Instant start, Instant end)
PropagateInterpolateModule
propagateDescriptors
in interface PropagateInterpolateModule
descs
- the descriptors to propagatestart
- the value of the descriptor to use, and one end
of the propagation rangeend
- the last value to changepublic void propagateAttributes(java.util.Iterator ats, Instant start, Instant end)
PropagateInterpolateModule
propagateAttributes
in interface PropagateInterpolateModule
ats
- the attributes to propagatestart
- the value of the descriptor to use, and one end
of the propagation rangeend
- the last value to changepublic void interpolateDescriptors(java.util.Iterator descs, Instant start, Instant stop)
PropagateInterpolateModule
interpolateDescriptors
in interface PropagateInterpolateModule
descs
- the descriptors to interpolatestart
- the first value of to use, and one end
of the interpolation rangestop
- the last value to use, and the end of the
interpolation rangepublic void interpolateAttributes(java.util.Iterator ats, Instant start, Instant stop)
PropagateInterpolateModule
interpolateAttributes
in interface PropagateInterpolateModule
ats
- the attributes to interpolatestart
- the first value of to use, and one end
of the interpolation rangestop
- the last value to use, and the end of the
interpolation rangepublic void addPropagateListener(PropagateInterpolateModule.PropagateListener pl)
PropagateInterpolateModule
addPropagateListener
in interface PropagateInterpolateModule
pl
- the new listenerpublic void removePropagateListener(PropagateInterpolateModule.PropagateListener pl)
PropagateInterpolateModule
removePropagateListener
in interface PropagateInterpolateModule
pl
- the listener to removepublic void startPropagating(Attribute attr)
startPropagating
in interface PropagateInterpolateModule
attr
- the attribute to modifyPropagateInterpolateModule.startPropagating(viper.api.Attribute)
public void stopPropagating(Attribute attr)
stopPropagating
in interface PropagateInterpolateModule
attr
- the attribute to removePropagateInterpolateModule.stopPropagating(viper.api.Attribute)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |