|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.parlor.data.Parameter
public abstract class Parameter
Defines a configuration parameter for a game. Various derived classes exist that define particular types of configuration parameters including choices, toggles, ranges, etc.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
|---|
Streamable.Closure |
| Field Summary | |
|---|---|
String |
ident
A string identifier that names this parameter. |
String |
name
A human readable name for this configuration parameter. |
String |
tip
A human readable tooltip to display when the mouse is hovered over this configuration parameter. |
| Constructor Summary | |
|---|---|
Parameter()
|
|
| Method Summary | |
|---|---|
abstract Object |
getDefaultValue()
Returns the default value of this parameter. |
abstract String |
getLabel()
Returns the translation key for this parameter's label. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public String ident
public String name
public String tip
| Constructor Detail |
|---|
public Parameter()
| Method Detail |
|---|
public abstract String getLabel()
public abstract Object getDefaultValue()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||