|
JGAP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jgap.data.config.ConfigProperty
public class ConfigProperty
Represents a property to be shown on the configuration screen.
| Constructor Summary | |
|---|---|
ConfigProperty()
Default Constructor for a ConfigProperty. |
|
| Method Summary | |
|---|---|
void |
addValue(java.lang.String a_value)
Add a value into the values ArrayList. |
java.lang.String |
getLabel()
|
java.lang.String |
getName()
|
java.util.Iterator |
getValuesIter()
|
java.lang.String |
getWidget()
|
void |
setLabel(java.lang.String a_label)
Sets the label. |
void |
setName(java.lang.String a_name)
Setter for the name of this property. |
void |
setWidget(java.lang.String a_widget)
Sets the widget. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigProperty()
| Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String a_name)
a_name - the name associated with this property. This name will be
used as the key in the properties file for persisting
configuration informationpublic java.lang.String getWidget()
public void setWidget(java.lang.String a_widget)
a_widget - either "JList" or "JTextField" for nowpublic java.lang.String getLabel()
public void setLabel(java.lang.String a_label)
a_label - the label of this property, by default the same as the
name of the propertypublic void addValue(java.lang.String a_value)
a_value - the value to addpublic java.util.Iterator getValuesIter()
|
JGAP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||