public class PropertyDescTest extends UnitTest implements HasProperties
Constructor and Description |
---|
PropertyDescTest() |
Modifier and Type | Method and Description |
---|---|
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
boolean |
getBoolean() |
byte |
getByte() |
char |
getChar() |
java.awt.Color |
getColor() |
double |
getDouble() |
double[] |
getDoubleArray() |
float |
getFloat() |
float[] |
getFloatArray() |
maspack.properties.PropertyDescTest.GeomObj |
getGeomObj() |
int |
getInt() |
int[] |
getIntArray() |
long |
getLong() |
long[] |
getLongArray() |
MatrixNd |
getMatrixNd() |
Property |
getProperty(java.lang.String name)
Returns a property associated with a specified path name.
|
short |
getShort() |
short[] |
getShortArray() |
java.lang.String |
getString() |
VectorNd |
getVectorNd() |
static void |
main(java.lang.String[] args) |
void |
scan(ReaderTokenizer rtok) |
void |
setBoolean(boolean val) |
void |
setByte(byte val) |
void |
setChar(char val) |
void |
setColor(java.awt.Color val) |
void |
setDouble(double val) |
void |
setDoubleArray(double[] vals) |
void |
setFloat(float val) |
void |
setFloatArray(float[] vals) |
void |
setGeomObj(maspack.properties.PropertyDescTest.GeomObj val) |
void |
setInt(int val) |
void |
setIntArray(int[] vals) |
void |
setLong(long val) |
void |
setLongArray(long[] vals) |
void |
setMatrixNd(MatrixNd val) |
void |
setShort(short val) |
void |
setShortArray(short[] vals) |
void |
setString(java.lang.String val) |
void |
setVectorNd(VectorNd val) |
void |
test() |
void |
writeAll(IndentingPrintWriter pw,
NumberFormat fmt) |
check, checkEquals, checkEquals, checkEquals, checkEquals, checkEquals, checkEquals, checkEquals, checkEquals, checkNormedEquals, checkNormedEquals, getSilent, printUsageAndExit, runtest, setSilent
public byte getByte()
public void setByte(byte val)
public char getChar()
public void setChar(char val)
public short getShort()
public void setShort(short val)
public int getInt()
public void setInt(int val)
public long getLong()
public void setLong(long val)
public float getFloat()
public void setFloat(float val)
public double getDouble()
public void setDouble(double val)
public boolean getBoolean()
public void setBoolean(boolean val)
public short[] getShortArray()
public void setShortArray(short[] vals)
public int[] getIntArray()
public void setIntArray(int[] vals)
public long[] getLongArray()
public void setLongArray(long[] vals)
public float[] getFloatArray()
public void setFloatArray(float[] vals)
public double[] getDoubleArray()
public void setDoubleArray(double[] vals)
public java.awt.Color getColor()
public void setColor(java.awt.Color val)
public maspack.properties.PropertyDescTest.GeomObj getGeomObj()
public void setGeomObj(maspack.properties.PropertyDescTest.GeomObj val)
public VectorNd getVectorNd()
public void setVectorNd(VectorNd val)
public MatrixNd getMatrixNd()
public void setMatrixNd(MatrixNd val)
public java.lang.String getString()
public void setString(java.lang.String val)
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 PropertyList getAllPropertyInfo()
HasProperties
getAllPropertyInfo
in interface HasProperties
public void writeAll(IndentingPrintWriter pw, NumberFormat fmt) throws java.io.IOException
java.io.IOException
public void scan(ReaderTokenizer rtok) throws java.io.IOException
java.io.IOException
public static void main(java.lang.String[] args)