jmslexamples.jsyn
Class DimensionNameSpaceEditorExample

java.lang.Object
  extended by 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.

Constructor Summary
DimensionNameSpaceEditorExample()
           
 
Method Summary
 DimensionNameSpace getDimensionNameSpace()
           
 double[] getDoubleArray()
          This is called every time a fader is moved in DimensionNameSpaceEditPanel so the new value can be set
static 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 Detail

DimensionNameSpaceEditorExample

public DimensionNameSpaceEditorExample()
Method Detail

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)