public class FunctionPropertyList extends PropertyList
writePropertyFunctions(java.io.PrintWriter, maspack.properties.HasProperties, maspack.util.NumberFormat, artisynth.core.modelbase.CompositeComponent)
,
scanPropertyFunction(maspack.util.ReaderTokenizer, maspack.properties.HasProperties, java.util.Deque<artisynth.core.util.ScanToken>)
, and postscanPropertyFunction(java.util.Deque<artisynth.core.util.ScanToken>, maspack.properties.HasProperties, artisynth.core.modelbase.CompositeComponent)
.Constructor and Description |
---|
FunctionPropertyList(java.lang.Class<?> hostClass) |
FunctionPropertyList(java.lang.Class<?> hostClass,
java.lang.Class<?> ancestorClass) |
Modifier and Type | Method and Description |
---|---|
FunctionPropertyDesc |
addInheritableWithFunction(java.lang.String nameAndMethods,
java.lang.String description,
java.lang.Object defaultValue) |
FunctionPropertyDesc |
addInheritableWithFunction(java.lang.String nameAndMethods,
java.lang.String description,
java.lang.Object defaultValue,
java.lang.String options) |
FunctionPropertyDesc |
addWithFunction(java.lang.String nameAndMethods,
java.lang.String description,
java.lang.Object defaultValue) |
FunctionPropertyDesc |
addWithFunction(java.lang.String nameAndMethods,
java.lang.String description,
java.lang.Object defaultValue,
java.lang.String options) |
boolean |
postscanPropertyFunction(java.util.Deque<ScanToken> tokens,
HasProperties host,
CompositeComponent ancestor) |
boolean |
scanPropertyFunction(ReaderTokenizer rtok,
HasProperties host,
java.util.Deque<ScanToken> tokens) |
void |
writePropertyFunctions(java.io.PrintWriter pw,
HasProperties host,
NumberFormat fmt,
CompositeComponent ancestor) |
add, add, add, addInheritable, addInheritable, addReadOnly, addReadOnly, findPropertyInfoList, get, get, getProperty, hasNoInheritableProperties, iterator, remove, remove, scanNamedProp, scanProp, setDefaultModes, setDefaultValue, setDefaultValues, setDefaultValuesAndModes, setOptions, size, toArray, writeNonDefaultProps, writeNonDefaultProps, writeProps
public FunctionPropertyList(java.lang.Class<?> hostClass)
public FunctionPropertyList(java.lang.Class<?> hostClass, java.lang.Class<?> ancestorClass)
public FunctionPropertyDesc addInheritableWithFunction(java.lang.String nameAndMethods, java.lang.String description, java.lang.Object defaultValue, java.lang.String options)
public FunctionPropertyDesc addInheritableWithFunction(java.lang.String nameAndMethods, java.lang.String description, java.lang.Object defaultValue)
public FunctionPropertyDesc addWithFunction(java.lang.String nameAndMethods, java.lang.String description, java.lang.Object defaultValue, java.lang.String options)
public FunctionPropertyDesc addWithFunction(java.lang.String nameAndMethods, java.lang.String description, java.lang.Object defaultValue)
public void writePropertyFunctions(java.io.PrintWriter pw, HasProperties host, NumberFormat fmt, CompositeComponent ancestor) throws java.io.IOException
java.io.IOException
public boolean scanPropertyFunction(ReaderTokenizer rtok, HasProperties host, java.util.Deque<ScanToken> tokens) throws java.io.IOException
java.io.IOException
public boolean postscanPropertyFunction(java.util.Deque<ScanToken> tokens, HasProperties host, CompositeComponent ancestor) throws java.io.IOException
java.io.IOException