public class FieldPropertyList extends PropertyList
writePropertyFields(java.io.PrintWriter, maspack.properties.HasProperties, maspack.util.NumberFormat, artisynth.core.modelbase.CompositeComponent)
, scanPropertyField(maspack.util.ReaderTokenizer, maspack.properties.HasProperties, java.util.Deque<artisynth.core.util.ScanToken>)
, and postscanPropertyField(java.util.Deque<artisynth.core.util.ScanToken>, maspack.properties.HasProperties, artisynth.core.modelbase.CompositeComponent)
.Constructor and Description |
---|
FieldPropertyList(java.lang.Class<?> hostClass) |
FieldPropertyList(java.lang.Class<?> hostClass,
java.lang.Class<?> ancestorClass) |
Modifier and Type | Method and Description |
---|---|
FieldPropertyDesc |
addInheritableWithField(java.lang.String nameAndMethods,
java.lang.String description,
java.lang.Object defaultValue) |
FieldPropertyDesc |
addInheritableWithField(java.lang.String nameAndMethods,
java.lang.String description,
java.lang.Object defaultValue,
java.lang.String options) |
FieldPropertyDesc |
addWithField(java.lang.String nameAndMethods,
java.lang.String description,
java.lang.Object defaultValue) |
FieldPropertyDesc |
addWithField(java.lang.String nameAndMethods,
java.lang.String description,
java.lang.Object defaultValue,
java.lang.String options) |
boolean |
postscanPropertyField(java.util.Deque<ScanToken> tokens,
HasProperties host,
CompositeComponent ancestor) |
boolean |
scanPropertyField(ReaderTokenizer rtok,
HasProperties host,
java.util.Deque<ScanToken> tokens) |
void |
writePropertyFields(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 FieldPropertyList(java.lang.Class<?> hostClass)
public FieldPropertyList(java.lang.Class<?> hostClass, java.lang.Class<?> ancestorClass)
public FieldPropertyDesc addInheritableWithField(java.lang.String nameAndMethods, java.lang.String description, java.lang.Object defaultValue, java.lang.String options)
public FieldPropertyDesc addInheritableWithField(java.lang.String nameAndMethods, java.lang.String description, java.lang.Object defaultValue)
public FieldPropertyDesc addWithField(java.lang.String nameAndMethods, java.lang.String description, java.lang.Object defaultValue, java.lang.String options)
public FieldPropertyDesc addWithField(java.lang.String nameAndMethods, java.lang.String description, java.lang.Object defaultValue)
public void writePropertyFields(java.io.PrintWriter pw, HasProperties host, NumberFormat fmt, CompositeComponent ancestor) throws java.io.IOException
java.io.IOException
public boolean scanPropertyField(ReaderTokenizer rtok, HasProperties host, java.util.Deque<ScanToken> tokens) throws java.io.IOException
java.io.IOException
public boolean postscanPropertyField(java.util.Deque<ScanToken> tokens, HasProperties host, CompositeComponent ancestor) throws java.io.IOException
java.io.IOException