|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmegamek.common.options.OptionGroup
public class OptionGroup
| Constructor Summary | |
|---|---|
OptionGroup(java.lang.String name)
Creates new OptionGroup with empty key |
|
OptionGroup(java.lang.String name,
java.lang.String key)
Creates new OptionGroup |
|
| Method Summary | |
|---|---|
void |
addOptionName(java.lang.String optionName)
Adds new option name to this group. |
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()
|
void |
setKey(java.lang.String key)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OptionGroup(java.lang.String name,
java.lang.String key)
name - group namekey - optional keypublic OptionGroup(java.lang.String name)
name - option name| Method Detail |
|---|
public java.lang.String getName()
IBasicOptionGroup
getName in interface IBasicOptionGroupIOptionGroup.getDisplayableName()public void setKey(java.lang.String key)
public java.lang.String getKey()
IBasicOptionGroupString key that can be used by clients to
distinguish option groups by their own criterion
getKey in interface IBasicOptionGroupStringpublic java.util.Enumeration<java.lang.String> getOptionNames()
getOptionNames in interface IBasicOptionGroupEnumeration of the names of the options that
in this grouppublic void addOptionName(java.lang.String optionName)
optionName this function does
nothing.
optionName - new option name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||