com.frinika.sequencer.model
Class AudioPart.Envelope

java.lang.Object
  extended by com.frinika.sequencer.model.AudioPart.Envelope
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
AudioPart

public final class AudioPart.Envelope
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
AudioPart.Envelope()
           
 
Method Summary
 java.lang.Object clone()
           
 void draw(java.awt.Graphics2D g, java.awt.Rectangle rect, PartView view)
           
 double getGain()
           
 int getHoverState(java.awt.Point p, java.awt.Rectangle rect)
           
 double getMaxTime()
           
 double getTFall()
           
 double getTOff()
           
 double getTOn()
           
 double getTRise()
           
 void setGain(double gain)
           
 void setMaxTime(double maxTime)
           
 void setTFall(double fall)
           
 void setTOff(double off1)
           
 void setTOffRel(double fact)
           
 void setTOn(double on1)
           
 void setTOnRel(double fact)
           
 void setTRise(double rise)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AudioPart.Envelope

public AudioPart.Envelope()
Method Detail

validate

public void validate()

getGain

public double getGain()

setGain

public void setGain(double gain)

getTOff

public double getTOff()

setTOff

public void setTOff(double off1)

getTOn

public double getTOn()

setTOn

public void setTOn(double on1)

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

getMaxTime

public double getMaxTime()

setMaxTime

public void setMaxTime(double maxTime)

draw

public void draw(java.awt.Graphics2D g,
                 java.awt.Rectangle rect,
                 PartView view)

getHoverState

public int getHoverState(java.awt.Point p,
                         java.awt.Rectangle rect)

setTOffRel

public void setTOffRel(double fact)

setTOnRel

public void setTOnRel(double fact)

getTFall

public double getTFall()

getTRise

public double getTRise()

setTFall

public void setTFall(double fall)

setTRise

public void setTRise(double rise)