org.crosswire.common.config
Interface MappedChoice<K,V>

Type Parameters:
K - the key's type
V - the value's type
All Superinterfaces:
Choice
All Known Implementing Classes:
IntOptionsChoice, MappedOptionsChoice

public interface MappedChoice<K,V>
extends Choice

MappedChoice is simply a Choice where there are a number of alternative options where each entry is a Map.Entry.

Author:
DM Smith
See Also:
The GNU Lesser General Public License for details.

Method Summary
 Map<K,V> getOptions()
          The available alternative values to be presented as options to the user where the user interface allows presentation of alternatives.
 
Methods inherited from interface org.crosswire.common.config.Choice
getConversionClass, getFullPath, getHelpText, getKey, getString, getType, init, isHidden, isIgnored, isSaveable, requiresRestart, setFullPath, setHelpText, setString
 

Method Detail

getOptions

Map<K,V> getOptions()
The available alternative values to be presented as options to the user where the user interface allows presentation of alternatives.

Returns:
A string array of alternatives.

Copyright ยจ 2003-2015