Interface IOptionList.IOption

All Superinterfaces:
Comparable<IOptionList.IOption>
All Known Implementing Classes:
PortalOptionList.Option
Enclosing interface:
IOptionList

public static interface IOptionList.IOption extends Comparable<IOptionList.IOption>
A key, value couple object.
Since:
1.0, 15/04/2008
Author:
vlygeros
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the key of the option.
    Gets the label of the option.
    void
    Sets the label of option.

    Methods inherited from interface java.lang.Comparable

    compareTo
  • Method Details

    • getKey

      Object getKey()
      Gets the key of the option.
      Returns:
      A Object object.
    • getText

      String getText()
      Gets the label of the option.
      Returns:
      A java.lang.String object.
    • setText

      void setText(String text)
      Sets the label of option.
      Parameters:
      text - The new String label.