Package com.softsynth.jmsl.view
Class JSynDeviceSelector
java.lang.Object
com.softsynth.jmsl.view.JSynDeviceSelector
- All Implemented Interfaces:
PVChoice
,PVComponent
public class JSynDeviceSelector extends java.lang.Object implements PVChoice
Deprecated.
use the pure Java JSyn2 package instead
Choice list showing available devices for user to choose
- Author:
- Nick Didkovsky, (c) 2005 Nick Didkovsky, nick@didkovsky.com
-
Field Summary
Fields Modifier and Type Field Description static int
INPUT_MODE
Deprecated.static int
OUTPUT_MODE
Deprecated. -
Constructor Summary
Constructors Constructor Description JSynDeviceSelector(java.lang.String text, int mode)
Deprecated. -
Method Summary
Modifier and Type Method Description void
addChoiceItem(java.lang.String label)
Deprecated.void
addChoiceItem(java.lang.String string, boolean b)
Deprecated.void
addItemListener(java.awt.event.ItemListener l)
Deprecated.void
addKeyListener(java.awt.event.KeyListener l)
Deprecated.boolean
equals(java.lang.Object arg0)
Deprecated.java.awt.Color
getBackground()
Deprecated.java.awt.Rectangle
getBounds()
Deprecated.java.awt.Component
getComponent()
Deprecated.int
getDeviceID()
Deprecated.java.awt.Font
getFont()
Deprecated.int
getItemCount()
Deprecated.java.awt.Point
getLocation()
Deprecated.int
getMaxChannels(int id)
Deprecated.int
getNumChannels(int id)
Deprecated.java.awt.Container
getParent()
Deprecated.java.lang.Object
getSelectedChoiceItem()
Deprecated.int
getSelectedDeviceID()
Deprecated.int
getSelectedIndex()
Deprecated.int
hashCode()
Deprecated.boolean
isEnabled()
Deprecated.static void
main(java.lang.String[] args)
Deprecated.void
removeAllChoiceItems()
Deprecated.void
removeKeyListener(java.awt.event.KeyListener l)
Deprecated.void
selectChoiceItem(int pos)
Deprecated.void
selectChoiceItem(java.lang.String str)
Deprecated.void
setBackground(java.awt.Color color)
Deprecated.void
setEnabled(boolean b)
Deprecated.void
setFont(java.awt.Font font)
Deprecated.void
setLocation(int x, int y)
Deprecated.void
setMaximumRowCount(int count)
Deprecated.void
start()
Deprecated.void
stop()
Deprecated.java.lang.String
toString()
Deprecated.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
INPUT_MODE
public static final int INPUT_MODEDeprecated.- See Also:
- Constant Field Values
-
OUTPUT_MODE
public static final int OUTPUT_MODEDeprecated.- See Also:
- Constant Field Values
-
-
Constructor Details
-
JSynDeviceSelector
public JSynDeviceSelector(java.lang.String text, int mode)Deprecated.
-
-
Method Details
-
start
public void start()Deprecated. -
stop
public void stop()Deprecated. -
getMaxChannels
public int getMaxChannels(int id)Deprecated. -
getNumChannels
public int getNumChannels(int id)Deprecated. -
getSelectedDeviceID
public int getSelectedDeviceID()Deprecated. -
getDeviceID
public int getDeviceID()Deprecated. -
getComponent
public java.awt.Component getComponent()Deprecated.- Specified by:
getComponent
in interfacePVComponent
- Returns:
- implementation Component of the class that implements this interface
-
main
public static void main(java.lang.String[] args)Deprecated. -
addChoiceItem
public void addChoiceItem(java.lang.String label)Deprecated.- Specified by:
addChoiceItem
in interfacePVChoice
- Parameters:
label
-
-
addChoiceItem
public void addChoiceItem(java.lang.String string, boolean b)Deprecated.- Specified by:
addChoiceItem
in interfacePVChoice
- Parameters:
string
-b
-
-
addItemListener
public void addItemListener(java.awt.event.ItemListener l)Deprecated.- Specified by:
addItemListener
in interfacePVChoice
- Parameters:
l
-
-
addKeyListener
public void addKeyListener(java.awt.event.KeyListener l)Deprecated.- Specified by:
addKeyListener
in interfacePVComponent
- Parameters:
l
-
-
equals
public boolean equals(java.lang.Object arg0)Deprecated.- Overrides:
equals
in classjava.lang.Object
-
getBackground
public java.awt.Color getBackground()Deprecated.- Specified by:
getBackground
in interfacePVComponent
- Returns:
-
getBounds
public java.awt.Rectangle getBounds()Deprecated.- Specified by:
getBounds
in interfacePVComponent
- Returns:
-
getFont
public java.awt.Font getFont()Deprecated.- Specified by:
getFont
in interfacePVComponent
- Returns:
-
getItemCount
public int getItemCount()Deprecated.- Specified by:
getItemCount
in interfacePVChoice
- Returns:
-
getParent
public java.awt.Container getParent()Deprecated.- Specified by:
getParent
in interfacePVComponent
- Returns:
-
getSelectedChoiceItem
public java.lang.Object getSelectedChoiceItem()Deprecated.- Specified by:
getSelectedChoiceItem
in interfacePVChoice
- Returns:
-
getSelectedIndex
public int getSelectedIndex()Deprecated.- Specified by:
getSelectedIndex
in interfacePVChoice
- Returns:
-
hashCode
public int hashCode()Deprecated.- Overrides:
hashCode
in classjava.lang.Object
-
isEnabled
public boolean isEnabled()Deprecated.- Specified by:
isEnabled
in interfacePVComponent
- Returns:
-
removeAllChoiceItems
public void removeAllChoiceItems()Deprecated.- Specified by:
removeAllChoiceItems
in interfacePVChoice
-
removeKeyListener
public void removeKeyListener(java.awt.event.KeyListener l)Deprecated.- Specified by:
removeKeyListener
in interfacePVComponent
- Parameters:
l
-
-
selectChoiceItem
public void selectChoiceItem(int pos)Deprecated.- Specified by:
selectChoiceItem
in interfacePVChoice
- Parameters:
pos
-
-
selectChoiceItem
public void selectChoiceItem(java.lang.String str)Deprecated.- Specified by:
selectChoiceItem
in interfacePVChoice
- Parameters:
str
-
-
setBackground
public void setBackground(java.awt.Color color)Deprecated.- Specified by:
setBackground
in interfacePVComponent
- Parameters:
color
-
-
setEnabled
public void setEnabled(boolean b)Deprecated.- Specified by:
setEnabled
in interfacePVComponent
- Parameters:
b
-
-
setFont
public void setFont(java.awt.Font font)Deprecated.- Specified by:
setFont
in interfacePVComponent
- Parameters:
font
-
-
setLocation
public void setLocation(int x, int y)Deprecated.- Specified by:
setLocation
in interfacePVComponent
- Parameters:
x
-y
-
-
getLocation
public java.awt.Point getLocation()Deprecated.- Specified by:
getLocation
in interfacePVComponent
-
toString
public java.lang.String toString()Deprecated.- Overrides:
toString
in classjava.lang.Object
-
setMaximumRowCount
public void setMaximumRowCount(int count)Deprecated.- Specified by:
setMaximumRowCount
in interfacePVChoice
-