com.softsynth.jmsl.view
Class DimValueEditPanel

java.lang.Object
  extended by com.softsynth.jmsl.view.PVPanelAdapter
      extended by com.softsynth.jmsl.view.DimValueEditPanel
All Implemented Interfaces:
PVComponent, PVPanel, PVScrollbarListener, java.awt.event.ActionListener, java.awt.event.ItemListener, java.util.EventListener

public class DimValueEditPanel
extends PVPanelAdapter
implements java.awt.event.ActionListener, PVScrollbarListener, java.awt.event.ItemListener

Panel containing a label for Dimension name and index, scrollbar, textField for value, and edit checkbox

Author:
Nick Didkovsky May 3, 2002, (c) 2002 Nick Didkovsky all rights reserved

Constructor Summary
DimValueEditPanel(DimensionNameSpaceValuesEditorPanel dimensionNameSpaceEditPanel, DimensionNameSpace dimensionNameSpace, int dimension, double value)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 int getDimension()
           
 double getValue()
           
 void itemStateChanged(java.awt.event.ItemEvent e)
           
static void main(java.lang.String[] args)
           
 void notifyScrollbarValueChanged(PVScrollbar jsb)
           
 void setValue(double d)
           
 void update()
           
 
Methods inherited from class com.softsynth.jmsl.view.PVPanelAdapter
add, add, addKeyListener, equals, getBackground, getBounds, getComponent, getFont, getParent, hashCode, isEnabled, remove, removeAll, removeKeyListener, setBackground, setEnabled, setFont, setLayout, setLocation, setVisible, toString, validate
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DimValueEditPanel

public DimValueEditPanel(DimensionNameSpaceValuesEditorPanel dimensionNameSpaceEditPanel,
                         DimensionNameSpace dimensionNameSpace,
                         int dimension,
                         double value)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

notifyScrollbarValueChanged

public void notifyScrollbarValueChanged(PVScrollbar jsb)
Specified by:
notifyScrollbarValueChanged in interface PVScrollbarListener

setValue

public void setValue(double d)

getValue

public double getValue()

getDimension

public int getDimension()

update

public void update()

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent e)
Specified by:
itemStateChanged in interface java.awt.event.ItemListener

main

public static void main(java.lang.String[] args)