com.didkovsky.portview
Interface PVChoice

All Superinterfaces:
PVComponent
All Known Implementing Classes:
JSynDeviceSelector, PVChoiceAWT, PVChoiceSwing

public interface PVChoice
extends PVComponent

Author:
Nick Didkovsky, (c) 2004 All rights reserved, Email: didkovn@mail.rockefeller.edu

Method Summary
 void addChoiceItem(java.lang.String label)
           
 void addChoiceItem(java.lang.String string, boolean b)
           
 void addItemListener(java.awt.event.ItemListener l)
           
 int getItemCount()
           
 java.lang.Object getSelectedChoiceItem()
           
 int getSelectedIndex()
           
 void removeAllChoiceItems()
           
 void selectChoiceItem(int pos)
           
 void selectChoiceItem(java.lang.String str)
           
 
Methods inherited from interface com.didkovsky.portview.PVComponent
addKeyListener, getBackground, getBounds, getComponent, getFont, getParent, isEnabled, removeKeyListener, setBackground, setEnabled, setFont, setLocation
 

Method Detail

addChoiceItem

void addChoiceItem(java.lang.String label)

addChoiceItem

void addChoiceItem(java.lang.String string,
                   boolean b)

getItemCount

int getItemCount()

removeAllChoiceItems

void removeAllChoiceItems()

getSelectedChoiceItem

java.lang.Object getSelectedChoiceItem()

getSelectedIndex

int getSelectedIndex()

selectChoiceItem

void selectChoiceItem(int pos)

selectChoiceItem

void selectChoiceItem(java.lang.String str)

addItemListener

void addItemListener(java.awt.event.ItemListener l)