public class WeightedReferenceComp<C extends ModelComponent> extends ReferenceComp<C>
ModelComponent.FilePathSaveType, ModelComponent.NavpanelVisibility| Modifier and Type | Field and Description |
|---|---|
static double |
DEFAULT_WEIGHT |
static PropertyList |
myProps |
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNames| Constructor and Description |
|---|
WeightedReferenceComp() |
WeightedReferenceComp(C ref) |
WeightedReferenceComp(C ref,
double weight) |
| Modifier and Type | Method and Description |
|---|---|
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
double |
getWeight() |
void |
setWeight(double weight) |
getHardReferences, getReference, scanItem, setReference, writeItemscheckFlag, checkName, checkNameUniqueness, clearFlag, clone, connectToHierarchy, copy, createTempFlag, disconnectFromHierarchy, getChildren, getGrandParent, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, getSoftReferences, hasChildren, hasState, isFixed, isMarked, isScanning, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, postscan, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, scan, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setScanning, setSelected, setWritable, updateReferences, writepublic static double DEFAULT_WEIGHT
public static PropertyList myProps
public WeightedReferenceComp()
public WeightedReferenceComp(C ref)
public WeightedReferenceComp(C ref, double weight)
public PropertyList getAllPropertyInfo()
HasPropertiesgetAllPropertyInfo in interface HasPropertiesgetAllPropertyInfo in class ModelComponentBasepublic double getWeight()
public void setWeight(double weight)