megamek.common.options
Class AbstractOptions.GroupsEnumeration.GroupProxy

java.lang.Object
  extended by megamek.common.options.AbstractOptions.GroupsEnumeration.GroupProxy
All Implemented Interfaces:
IBasicOptionGroup, IOptionGroup
Enclosing class:
AbstractOptions.GroupsEnumeration

protected class AbstractOptions.GroupsEnumeration.GroupProxy
extends java.lang.Object
implements IOptionGroup


Nested Class Summary
protected  class AbstractOptions.GroupsEnumeration.GroupProxy.OptionsEnumeration
           
 
Constructor Summary
AbstractOptions.GroupsEnumeration.GroupProxy(IBasicOptionGroup group)
           
 
Method Summary
 java.lang.String getDisplayableName()
          Returns the user friendly NLS dependent name suitable for displaying in the options editor dialogs etc.
 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()
           
 java.util.Enumeration<IOption> getOptions()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractOptions.GroupsEnumeration.GroupProxy

AbstractOptions.GroupsEnumeration.GroupProxy(IBasicOptionGroup group)
Method Detail

getKey

public java.lang.String getKey()
Description copied from interface: IBasicOptionGroup
Returns the the String key that can be used by clients to distinguish option groups by their own criterion

Specified by:
getKey in interface IBasicOptionGroup
Returns:
group key which can be an empty String

getName

public java.lang.String getName()
Description copied from interface: IBasicOptionGroup
Returns the 'internal'(NON-NLS) name of the group, which is the only ID that is unique in the parent container

Specified by:
getName in interface IBasicOptionGroup
Returns:
group name
See Also:
IOptionGroup.getDisplayableName()

getDisplayableName

public java.lang.String getDisplayableName()
Description copied from interface: IOptionGroup
Returns the user friendly NLS dependent name suitable for displaying in the options editor dialogs etc.

Specified by:
getDisplayableName in interface IOptionGroup
Returns:
displayable name

getOptionNames

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

getOptions

public java.util.Enumeration<IOption> getOptions()
Specified by:
getOptions in interface IOptionGroup
Returns:
the Enumeration of the IOption
See Also:
IOptions.getGroups()