|
|||||||||||
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.DisplayWithRespectToManager
Manages changes to and the current dwrt attribute.
Constructor Summary | |
DisplayWithRespectToManager()
|
Method Summary | |
void |
addDisplayWRTListener(DisplayWithRespectToListener listener)
Adds a listener for changes to which attribute/if an attribute is selected for dwrt. |
protected void |
fireDisplayWRTEvent()
|
Attribute |
getAttribute()
Get the current attribute that things should be done with respect to. |
Pnt |
getSmoothedAttrValueAtInstant(Instant i)
Gets the dwrt point, for translation dwrt, even if the attribute doesn't have a value at the given point. |
boolean |
isAttributeNull()
Tests to see if there is no dwrt attribute. |
void |
removeDisplayWRTListener(DisplayWithRespectToListener listener)
Removes the dwrt change listener. |
void |
setAttribute(Attribute a,
Instant inst)
Set the dwrt attribute, and the frame it was set on. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DisplayWithRespectToManager()
Method Detail |
public void addDisplayWRTListener(DisplayWithRespectToListener listener)
listener
- the new listenerpublic void removeDisplayWRTListener(DisplayWithRespectToListener listener)
listener
- the listener to removeprotected void fireDisplayWRTEvent()
public void setAttribute(Attribute a, Instant inst)
a
- the new dwrt attribute. Set it to null
to remove the dwrtinst
- the new instantpublic Attribute getAttribute()
null
if none is
selectedpublic boolean isAttributeNull()
public Pnt getSmoothedAttrValueAtInstant(Instant i)
i
- the instant to get the value at
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |