Package com.nuix.nx.controls
Class ComboItem
- java.lang.Object
-
- com.nuix.nx.controls.ComboItem
-
public class ComboItem extends java.lang.Object
Data class for representing combo box entries
-
-
Constructor Summary
Constructors Constructor Description ComboItem​(java.lang.String label, java.lang.String value)
Create instance with the provided label and value
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLabel()
Gets the label associate to this instancejava.lang.String
getValue()
Gets the value associated to this instancejava.lang.String
toString()
-
-
-
Method Detail
-
getValue
public java.lang.String getValue()
Gets the value associated to this instance- Returns:
- The associated value
-
getLabel
public java.lang.String getLabel()
Gets the label associate to this instance- Returns:
- The associated label
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-