All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JObserve.GUI.LabeledChoice

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----JObserve.GUI.LabeledChoice

public class LabeledChoice
extends Panel
Panel with a label and a choice


Variable Index

 o myChoice
ObserveChoice - a Choice that will tell is the user has changed it

Constructor Index

 o LabeledChoice(String)
Constructor

Method Index

 o addChoice(String)
add a Choice item
 o getSelectChoice()
Get Choice selection
 o selectChoice(String)
Set Choice selection

Variables

 o myChoice
 public ObserveChoice myChoice
ObserveChoice - a Choice that will tell is the user has changed it

Constructors

 o LabeledChoice
 public LabeledChoice(String labelText)
Constructor

Parameters:
String - Label for Choice

Methods

 o addChoice
 public void addChoice(String text)
add a Choice item

Parameters:
String - item to be added
 o selectChoice
 public void selectChoice(String text)
Set Choice selection

Parameters:
String - item to be added
 o getSelectChoice
 public String getSelectChoice()
Get Choice selection

Returns:
String item to be added

All Packages  Class Hierarchy  This Package  Previous  Next  Index