public class EnvelopeNode extends Object
Each Node
is one of the movable squares on the envelope.
Some of these nodes are stationary, some contain two parameters on the
synth and can be moved vertically and horizontally, and others contain
only one parameter and can therefore be moved in only one direction.
EnvelopeWidget
Modifier and Type | Field and Description |
---|---|
static int |
SAME
When this value is used for
miny , Y axis value remains
at whatever the Y axis value of the previous node was. |
Constructor and Description |
---|
EnvelopeNode(EnvelopeXParam xParam,
EnvelopeYParam yParam) |
Modifier and Type | Method and Description |
---|---|
void |
addXChangeListener(javafx.beans.value.ChangeListener<AbstractEnvelopeParam> l) |
void |
addYChangeListener(javafx.beans.value.ChangeListener<AbstractEnvelopeParam> l) |
int |
getBaseY() |
int |
getFaderNumX() |
int |
getFaderNumY() |
int |
getMaxX() |
int |
getMaxY() |
int |
getMinX() |
int |
getMinY() |
String |
getNameX() |
String |
getNameY() |
int |
getPosX() |
int |
getPosY() |
EnvelopeXParam |
getxParam() |
int |
getXValue() |
EnvelopeYParam |
getyParam() |
int |
getYValue() |
boolean |
isInvertX() |
boolean |
isVariableX() |
boolean |
isVariableY() |
void |
removeXChangeListener(javafx.beans.value.ChangeListener<AbstractEnvelopeParam> l) |
void |
removeYChangeListener(javafx.beans.value.ChangeListener<AbstractEnvelopeParam> l) |
void |
setFaderNumX(int faderNumX) |
void |
setFaderNumY(int faderNumY) |
void |
setPosX(int posX) |
void |
setPosY(int posY) |
void |
setXValue(int value) |
void |
setYValue(int value) |
public static final int SAME
miny
, Y axis value remains
at whatever the Y axis value of the previous node was.public EnvelopeNode(EnvelopeXParam xParam, EnvelopeYParam yParam)
public int getFaderNumX()
public void setFaderNumX(int faderNumX)
public int getFaderNumY()
public void setFaderNumY(int faderNumY)
public int getPosX()
public void setPosX(int posX)
public int getPosY()
public void setPosY(int posY)
public int getMinX()
public int getMinY()
public int getMaxX()
public int getMaxY()
public boolean isInvertX()
public int getBaseY()
public String getNameX()
public String getNameY()
public boolean isVariableX()
public boolean isVariableY()
public void setXValue(int value)
public int getXValue()
public void setYValue(int value)
public int getYValue()
public void addXChangeListener(javafx.beans.value.ChangeListener<AbstractEnvelopeParam> l)
public void removeXChangeListener(javafx.beans.value.ChangeListener<AbstractEnvelopeParam> l)
public void addYChangeListener(javafx.beans.value.ChangeListener<AbstractEnvelopeParam> l)
public void removeYChangeListener(javafx.beans.value.ChangeListener<AbstractEnvelopeParam> l)
public EnvelopeXParam getxParam()
public EnvelopeYParam getyParam()
Copyright © 2014. All Rights Reserved.