talx x1.0.5

talx.util
Class ComboBoxItem

java.lang.Object
  extended bytalx.util.ComboBoxItem

public class ComboBoxItem
extends java.lang.Object

An object with a displayable string and an unrelated value. This allows a comboBox to be populated with list elements that signify different things than the displayed string.


Constructor Summary
ComboBoxItem(java.lang.String display, java.lang.String text, int value)
           
 
Method Summary
 java.lang.String getText()
           
 int getValue()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ComboBoxItem

public ComboBoxItem(java.lang.String display,
                    java.lang.String text,
                    int value)
Method Detail

toString

public java.lang.String toString()

getText

public java.lang.String getText()

getValue

public int getValue()

talx x1.0.5

© 2001-2005 University of Oregon.
Eugene OR 97403, U.S.A. All Rights Reserved.