org.hardtokenmgmt.core.ui
Class ComboBoxItem

java.lang.Object
  extended by org.hardtokenmgmt.core.ui.ComboBoxItem

public class ComboBoxItem
extends java.lang.Object

Class used for internationalizing the contents of a JComboBox. Initialize the object with the resource value and it will be looked up in the language resources. Use getValue() to get the selected resource value.

Version:
$Id$
Author:
Philip Vendil 15 dec 2008

Constructor Summary
ComboBoxItem(java.lang.String value)
           
 
Method Summary
 java.lang.String 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 value)
Parameters:
value - resource value that will be internationalized, must be in the language resources
Method Detail

getValue

public java.lang.String getValue()
Returns:
the original resource value.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object