maspack.properties
Class PropertyDescTest

java.lang.Object
  extended by maspack.properties.PropertyDescTest
All Implemented Interfaces:
HasProperties

public class PropertyDescTest
extends java.lang.Object
implements HasProperties


Constructor Summary
PropertyDescTest()
           
 
Method Summary
 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 writeAll(IndentingPrintWriter pw, NumberFormat fmt)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyDescTest

public PropertyDescTest()
Method Detail

getByte

public byte getByte()

setByte

public void setByte(byte val)

getChar

public char getChar()

setChar

public void setChar(char val)

getShort

public short getShort()

setShort

public void setShort(short val)

getInt

public int getInt()

setInt

public void setInt(int val)

getLong

public long getLong()

setLong

public void setLong(long val)

getFloat

public float getFloat()

setFloat

public void setFloat(float val)

getDouble

public double getDouble()

setDouble

public void setDouble(double val)

getBoolean

public boolean getBoolean()

setBoolean

public void setBoolean(boolean val)

getShortArray

public short[] getShortArray()

setShortArray

public void setShortArray(short[] vals)

getIntArray

public int[] getIntArray()

setIntArray

public void setIntArray(int[] vals)

getLongArray

public long[] getLongArray()

setLongArray

public void setLongArray(long[] vals)

getFloatArray

public float[] getFloatArray()

setFloatArray

public void setFloatArray(float[] vals)

getDoubleArray

public double[] getDoubleArray()

setDoubleArray

public void setDoubleArray(double[] vals)

getColor

public java.awt.Color getColor()

setColor

public void setColor(java.awt.Color val)

getGeomObj

public maspack.properties.PropertyDescTest.GeomObj getGeomObj()

setGeomObj

public void setGeomObj(maspack.properties.PropertyDescTest.GeomObj val)

getVectorNd

public VectorNd getVectorNd()

setVectorNd

public void setVectorNd(VectorNd val)

getMatrixNd

public MatrixNd getMatrixNd()

setMatrixNd

public void setMatrixNd(MatrixNd val)

getString

public java.lang.String getString()

setString

public void setString(java.lang.String val)

getProperty

public Property getProperty(java.lang.String name)
Description copied from interface: HasProperties
Returns a property associated with a specified path name. All properties exported by this object must have a name which is a valid Java identifier. Specifying one of these names causes the corresponding Property to be returned. Handles to sub-properties can also be obtained by delimiting the sub-property name(s) by '.' 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.

Specified by:
getProperty in interface HasProperties
Parameters:
name - name of the desired property or sub-property
Returns:
handle to the property

getAllPropertyInfo

public PropertyList getAllPropertyInfo()
Description copied from interface: HasProperties
Returns a list giving static information about all properties exported by this object.

Specified by:
getAllPropertyInfo in interface HasProperties
Returns:
static information for all exported properties

writeAll

public void writeAll(IndentingPrintWriter pw,
                     NumberFormat fmt)
              throws java.io.IOException
Throws:
java.io.IOException

scan

public void scan(ReaderTokenizer rtok)
          throws java.io.IOException
Throws:
java.io.IOException

main

public static void main(java.lang.String[] args)