|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.openai.ai.nn.gui.properties.Property
Defines a single Property. After a getter is set, the object is able to retrieve and set Values of a clientobject.
Constructor Summary | |
Property()
Creates a new instance of Property |
|
Property(java.lang.String name,
java.lang.String getter)
Creates a new Property and sets the Name (Caption) and the getMethode() of it. |
Method Summary | |
java.lang.String |
getGetter()
Returns the get-method for this property |
java.lang.String |
getInfo()
Returns the info(help) text for this property |
java.lang.String |
getName()
Returns the Propertyname |
java.lang.String |
getSelect()
Getter for property select. |
java.lang.String |
getSetter()
Returns the name of the set-method of this property. |
java.lang.String |
getType()
Getter for property type. |
java.lang.Object |
getValue(java.lang.Object clientObject)
Returns the value for this property. |
void |
setGetter(java.lang.String getter)
Sets the get-method for this property. |
void |
setInfo(java.lang.String info)
Sets the infotext for this property |
void |
setName(java.lang.String name)
Sets the propertyname |
void |
setSelect(java.lang.String select)
Setter for property select. |
void |
setSetter(java.lang.String setter)
Sets the setter-method for this property |
void |
setType(java.lang.String type)
Setter for property type. |
void |
setValue(java.lang.Object clientObject,
java.lang.Object value)
Sets the value in the given clientObject. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Property()
public Property(java.lang.String name, java.lang.String getter)
getter
- Getmethod of the classname
- PropertynameMethod Detail |
public java.lang.String getInfo()
public void setInfo(java.lang.String info)
info
- New value of property info.public java.lang.String getName()
public void setName(java.lang.String name)
name
- Propertynamepublic java.lang.Object getValue(java.lang.Object clientObject)
clientObject
- Object that acts as client for this property.
public void setValue(java.lang.Object clientObject, java.lang.Object value)
clientObject
- value
- New value to be set in clientObjectpublic java.lang.String getSetter()
public void setSetter(java.lang.String setter)
setter
- Set-method.public java.lang.String getGetter()
public void setGetter(java.lang.String getter)
getter
- Get-method for this propertypublic java.lang.String getType()
public void setType(java.lang.String type)
type
- New value of property type.public java.lang.String getSelect()
public void setSelect(java.lang.String select)
select
- New value of property select.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |