jmslexamples.jsyn
Class DimensionNameSpaceEditorExample
java.lang.Object
jmslexamples.jsyn.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: didkovn@mail.rockefeller.edu, (c) 2004 Nick
Didkovsky, all rights reserved.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DimensionNameSpaceEditorExample
public DimensionNameSpaceEditorExample()
setDimensionNameSpace
public void setDimensionNameSpace(DimensionNameSpace d)
- Pass in a dimensionNameSpace and allocate an array for it. Set array
values to default values from dimnamespace
- Specified by:
setDimensionNameSpace
in interface DimensionNameSpaceEditable
getDimensionNameSpace
public DimensionNameSpace getDimensionNameSpace()
- Specified by:
getDimensionNameSpace
in interface DimensionNameSpaceEditable
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 interface DimensionNameSpaceEditable
setDoubleArray
public void setDoubleArray(double[] dar)
- Specified by:
setDoubleArray
in interface DimensionNameSpaceEditable
main
public static void main(java.lang.String[] args)