public class TestMaterial extends java.lang.Object implements CompositeProperty
| Modifier and Type | Field and Description |
|---|---|
static PropertyList |
myProps |
| Constructor and Description |
|---|
TestMaterial() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Returns a clone of this composite property.
|
int |
getActivity() |
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
double |
getDamping() |
PropertyMode |
getDampingMode() |
double |
getDensity() |
PropertyMode |
getDensityMode() |
java.lang.String |
getFile() |
Property |
getProperty(java.lang.String name)
Returns a property associated with a specified path name.
|
HasProperties |
getPropertyHost()
Returns the host for this property
|
PropertyInfo |
getPropertyInfo()
If this object is a property, returns the corresponding information
|
double |
getQuotient() |
TestRenderInfo |
getRenderInfo() |
double |
getStiffness() |
PropertyMode |
getStiffnessMode() |
void |
setActivity(int a) |
void |
setDamping(double d) |
void |
setDampingMode(PropertyMode mode) |
void |
setDensity(double d) |
void |
setDensityMode(PropertyMode mode) |
void |
setFile(java.lang.String file) |
void |
setPropertyHost(HasProperties newParent)
Sets the host for this property.
|
void |
setPropertyInfo(PropertyInfo info)
Sets the property information for this property.
|
void |
setRenderInfo(TestRenderInfo info) |
void |
setStiffness(double k) |
void |
setStiffnessMode(PropertyMode mode) |
public static PropertyList myProps
public PropertyList getAllPropertyInfo()
HasPropertiesgetAllPropertyInfo in interface HasPropertiespublic Property getProperty(java.lang.String name)
HasProperties.' characters. A sub-property
exists if the value of a property is itself an object which exports
properties. It is only possible to obtain a sub-property handle if each of
its ancestor properties exports their values by reference.getProperty in interface HasPropertiesname - name of the desired property or sub-propertypublic PropertyInfo getPropertyInfo()
CompositePropertygetPropertyInfo in interface CompositePropertypublic void setPropertyInfo(PropertyInfo info)
CompositePropertysetPropertyInfo in interface CompositePropertyinfo - property informationpublic HasProperties getPropertyHost()
CompositePropertygetPropertyHost in interface CompositePropertypublic void setPropertyHost(HasProperties newParent)
CompositePropertysetPropertyHost in interface CompositePropertynewParent - host for this propertypublic double getDensity()
public void setDensity(double d)
public PropertyMode getDensityMode()
public void setDensityMode(PropertyMode mode)
public double getStiffness()
public void setStiffness(double k)
public PropertyMode getStiffnessMode()
public void setStiffnessMode(PropertyMode mode)
public double getDamping()
public void setDamping(double d)
public PropertyMode getDampingMode()
public void setDampingMode(PropertyMode mode)
public TestRenderInfo getRenderInfo()
public void setRenderInfo(TestRenderInfo info)
public double getQuotient()
public java.lang.String getFile()
public void setFile(java.lang.String file)
public int getActivity()
public void setActivity(int a)
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
CompositePropertyclone in interface CompositePropertyclone in interface Clonableclone in class java.lang.Objectjava.lang.CloneNotSupportedException