Package jmslexamples.jsyn2
Class DimensionNameSpaceEditorExample
java.lang.Object
jmslexamples.jsyn2.DimensionNameSpaceEditorExample
- All Implemented Interfaces:
DimensionNameSpaceEditable
public class DimensionNameSpaceEditorExample extends java.lang.Object implements DimensionNameSpaceEditable
This class has a double[] that can be edited by a DimensionNameSpaceEditPanel
- Author:
- Nick Didkovsky, email: nick@didkovsky.com, (c) 2004 Nick Didkovsky, all rights reserved. Upgraded to JSyn2 Dec 2016
-
Constructor Summary
Constructors Constructor Description DimensionNameSpaceEditorExample()
-
Method Summary
Modifier and Type Method Description DimensionNameSpace
getDimensionNameSpace()
double[]
getDoubleArray()
This is called every time a fader is moved in DimensionNameSpaceEditPanel so the new value can be setstatic void
main(java.lang.String[] args)
void
setDimensionNameSpace(DimensionNameSpace d)
Pass in a dimensionNameSpace and allocate an array for it.void
setDoubleArray(double[] dar)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DimensionNameSpaceEditorExample
public DimensionNameSpaceEditorExample()
-
-
Method Details
-
setDimensionNameSpace
Pass in a dimensionNameSpace and allocate an array for it. Set array values to default values from dimnamespace- Specified by:
setDimensionNameSpace
in interfaceDimensionNameSpaceEditable
-
getDimensionNameSpace
- Specified by:
getDimensionNameSpace
in interfaceDimensionNameSpaceEditable
-
getDoubleArray
public double[] getDoubleArray()This is called every time a fader is moved in DimensionNameSpaceEditPanel so the new value can be set- Specified by:
getDoubleArray
in interfaceDimensionNameSpaceEditable
-
setDoubleArray
public void setDoubleArray(double[] dar)- Specified by:
setDoubleArray
in interfaceDimensionNameSpaceEditable
-
main
public static void main(java.lang.String[] args)
-