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:
for license details.
The copyright to this program is held by it's authors.

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-2011