    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Interface jclass.bwt.JCChoiceInterface

public interface JCChoiceInterface

##

add(String)
  adds an item to the list
addItemListener(JCItemListener)
  Add a listener to catch and selections made by the object that implements a JCChoiceInterface
getSelectedIndex()
  Get the index into the list of the current selected item
setItems(String[])
  Set the text of the list of choices

##

addItemListener

     public abstract void addItemListener(JCItemListener listener)

  Add a listener to catch and selections made by the object that implements a JCChoiceInterface

setItems

     public abstract void setItems(String items[])

  Set the text of the list of choices

add

     public abstract void add(String item)

  adds an item to the list

getSelectedIndex

     public abstract int getSelectedIndex()

  Get the index into the list of the current selected item

    All Packages  Class Hierarchy  This Package  Previous  Next  Index