Class ComboBoxPairItem<T>

java.lang.Object
de.stefanreiser.swing.combobox.ComboBoxPairItem<T>

public class ComboBoxPairItem<T>
extends java.lang.Object
Ein Paar aus einem Text (zur Anzeige in einer Combobox) und einem Wert.
Author:
reiser
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static ComboBoxPairItem EMPTY_ITEM  
  • Constructor Summary

    Constructors 
    Constructor Description
    ComboBoxPairItem​(java.lang.String label, T value)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getLabel()  
    T getValue()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • toString

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

      public java.lang.String getLabel()
    • getValue

      public T getValue()