com.softsynth.jmsl.view
Class DimensionNameSpaceEditorDialog
java.lang.Object
com.softsynth.jmsl.view.PVDialogAdapter
com.softsynth.jmsl.view.DimensionNameSpaceEditorDialog
- All Implemented Interfaces:
- PVComponent, PVDialog, PVFrame, java.awt.event.ActionListener, java.util.EventListener
public class DimensionNameSpaceEditorDialog
- extends PVDialogAdapter
- implements java.awt.event.ActionListener
Dialog to create and edit a DimensionNameSpace from scratch. Use to create custom
DimensionNameSpace for a JMSL MaxInstrument, for example. Thanks to Langdon Crawford for the
request and design ideas.
- Author:
- Nick Didkovsky, didkovn@mail.rockefeller.edu
Methods inherited from class com.softsynth.jmsl.view.PVDialogAdapter |
add, add, addKeyListener, addWindowListener, dispose, equals, getBackground, getBounds, getComponent, getFont, getFontMetrics, getParent, getPVMenuBar, hashCode, isEnabled, isShowing, pack, removeAll, removeKeyListener, setBackground, setEnabled, setFont, setFrameLayout, setLocation, setPVMenuBar, setResizable, setSize, setSize, setTitle, setVisible, toBack, toFront, toString, validate |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
DimensionNameSpaceEditorDialog
public DimensionNameSpaceEditorDialog(java.awt.Frame f)
- Construct a dialog for a DimensionNameSpace with standard invariants (0 duration, 1 pitch, 2
amplitude, 3 hold)
DimensionNameSpaceEditorDialog
public DimensionNameSpaceEditorDialog(java.awt.Frame f,
DimensionNameSpace dns)
DimensionNameSpaceEditorDialog
public DimensionNameSpaceEditorDialog(java.awt.Frame f,
DimensionNameSpace dns,
boolean useStandardInvariants)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
getDimensionNameSpace
public DimensionNameSpace getDimensionNameSpace()
main
public static void main(java.lang.String[] args)
isOk
public boolean isOk()
- true if user clicked OK, false if clicked CANCEL
- Returns:
- Returns the ok.