artisynth.core.gui.timeline
Class ProbeInfo
java.lang.Object
artisynth.core.gui.timeline.ProbeInfo
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, Clonable
public class ProbeInfo
- extends java.lang.Object
- implements Clonable, java.awt.event.ActionListener
- Author:
- Paul
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProbeInfo
public ProbeInfo(TimelineController setController,
Track setTrack,
Probe setProbe)
isOverlapping
public boolean isOverlapping(double t0,
double t1)
- Returns true if the time interval specified by [t0, t1] overlaps
with the start and stop times of this probe, within the precision
of TimeBase.
- Returns:
- true if this probe overlaps with the time interval
isOverlapping
public boolean isOverlapping(Probe probe)
- Returns true if the time interval of a specified probe overlaps
with the start and stop times of this probe, within the precision
of TimeBase.
- Returns:
- true if this probe overlaps with a specified provbe
getIndex
public int getIndex()
getIsShadowValid
public boolean getIsShadowValid()
getProbeShadow
public java.awt.Rectangle getProbeShadow()
getTrack
public Track getTrack()
getProbe
public Probe getProbe()
getDisplayArea
public artisynth.core.gui.timeline.ProbeInfo.ProbeDisplayArea getDisplayArea()
getStartTime
public double getStartTime()
getStopTime
public double getStopTime()
getName
public java.lang.String getName()
isActive
public boolean isActive()
getParentTrack
public Track getParentTrack()
setStartTime
public void setStartTime(double t)
getTrackNumber
public java.lang.Integer getTrackNumber()
setStopTime
public void setStopTime(double t)
setName
public void setName(java.lang.String newName)
setScale
public void setScale(double newScale)
setActive
public void setActive(boolean active)
setParentTrack
public void setParentTrack(Track newParentTrack)
clone
public java.lang.Object clone()
- Specified by:
clone
in interface Clonable
- Overrides:
clone
in class java.lang.Object
setProbeWithTime
public void setProbeWithTime(double time)
saveProbe
public void saveProbe()
loadProbe
public void loadProbe()
expandProbe
public void expandProbe()
contractProbe
public void contractProbe()
muteProbe
public void muteProbe()
unmuteProbe
public void unmuteProbe()
setIndex
public void setIndex(int idx)
updateCoordinates
public void updateCoordinates()
updateProbeDisplays
public void updateProbeDisplays()
setNumericProbeDisplay
public void setNumericProbeDisplay()
setAppropSizeAndLocation
public void setAppropSizeAndLocation(boolean isDurationModified)
setAppropriateColor
public void setAppropriateColor()
updateLabelText
public void updateLabelText()
dispose
public void dispose()
finalize
public void finalize()
- Overrides:
finalize
in class java.lang.Object
isProbeSelected
public boolean isProbeSelected()
updateProbeData
public void updateProbeData()
- Updates timeline information about the probe to reflect any changes in the
probe's properties.
restoreOldTimes
public void restoreOldTimes()
setAppropriateShadow
public void setAppropriateShadow(int yCoor,
int pixelWidth)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener