public class TestRenderInfo extends java.lang.Object implements CompositeProperty, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
static PropertyList |
myProps |
Constructor and Description |
---|
TestRenderInfo() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Returns a clone of this composite property.
|
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
java.awt.Color |
getColor() |
PropertyMode |
getColorMode() |
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 |
getShine() |
PropertyMode |
getShineMode() |
java.lang.String |
getTextureFile() |
int |
getWidth() |
PropertyMode |
getWidthMode() |
void |
set(TestRenderInfo info) |
void |
setColor(java.awt.Color color) |
void |
setColorMode(PropertyMode mode) |
void |
setPropertyHost(HasProperties newParent)
Sets the host for this property.
|
void |
setPropertyInfo(PropertyInfo info)
Sets the property information for this property.
|
void |
setShine(double shine) |
void |
setShineMode(PropertyMode mode) |
void |
setTextureFile(java.lang.String textureFile) |
void |
setWidth(int width) |
void |
setWidthMode(PropertyMode mode) |
public static PropertyList myProps
public PropertyList getAllPropertyInfo()
HasProperties
getAllPropertyInfo
in interface HasProperties
public 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 HasProperties
name
- name of the desired property or sub-propertypublic PropertyInfo getPropertyInfo()
CompositeProperty
getPropertyInfo
in interface CompositeProperty
public void setPropertyInfo(PropertyInfo info)
CompositeProperty
setPropertyInfo
in interface CompositeProperty
info
- property informationpublic HasProperties getPropertyHost()
CompositeProperty
getPropertyHost
in interface CompositeProperty
public void setPropertyHost(HasProperties newParent)
CompositeProperty
setPropertyHost
in interface CompositeProperty
newParent
- host for this propertypublic java.awt.Color getColor()
public void setColor(java.awt.Color color)
public PropertyMode getColorMode()
public void setColorMode(PropertyMode mode)
public double getShine()
public void setShine(double shine)
public PropertyMode getShineMode()
public void setShineMode(PropertyMode mode)
public int getWidth()
public void setWidth(int width)
public PropertyMode getWidthMode()
public void setWidthMode(PropertyMode mode)
public java.lang.String getTextureFile()
public void setTextureFile(java.lang.String textureFile)
public void set(TestRenderInfo info)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
CompositeProperty
clone
in interface CompositeProperty
clone
in interface Clonable
clone
in class java.lang.Object
java.lang.CloneNotSupportedException