megamek.common.options
Interface IBasicOptionGroup

All Known Subinterfaces:
IOptionGroup
All Known Implementing Classes:
AbstractOptions.GroupsEnumeration.GroupProxy, OptionGroup

public interface IBasicOptionGroup

Basic interface for options group. It only represents the group name, the key which can be an empty String and the Enumeration of the option names in this group


Method Summary
 java.lang.String getKey()
          Returns the the String key that can be used by clients to distinguish option groups by their own criterion
 java.lang.String getName()
          Returns the 'internal'(NON-NLS) name of the group, which is the only ID that is unique in the parent container
 java.util.Enumeration<java.lang.String> getOptionNames()
           
 

Method Detail

getName

java.lang.String getName()
Returns the 'internal'(NON-NLS) name of the group, which is the only ID that is unique in the parent container

Returns:
group name
See Also:
IOptionGroup.getDisplayableName()

getKey

java.lang.String getKey()
Returns the the String key that can be used by clients to distinguish option groups by their own criterion

Returns:
group key which can be an empty String

getOptionNames

java.util.Enumeration<java.lang.String> getOptionNames()
Returns:
the Enumeration of the names of the options that in this group