Interface IPropCnrChoiceOption<CHOICE extends IPropCnrChoiceOption<CHOICE>>

    • Method Detail

      • getInt

        int getInt()
        Returns the choice as an integer value.
      • getDefault

        CHOICE getDefault()
        Gets the default choice.
      • name

        java.lang.String name()
        Gets the short string description of the choice.
      • isDefault

        default boolean isDefault()
        Checks if the choice it the default choice.
      • getPropName

        java.lang.String getPropName()
        Gets the property name.
      • getChoice

        default CHOICE getChoice​(int value)
        Returns a choice from an integer value.
      • get

        default CHOICE get​(PropCnr pc)
        Gets a choice option.
        Parameters:
        pc - The property container.
        Returns:
        The choice set, or the default choice if the option is undefined.
      • set

        default boolean set​(PropCnr pc)
        Sets a choice option.
        Parameters:
        pc - The property container.
        Returns:
        true if the value was changed, false for no change.