public abstract class ForceBase extends HasVisibleObject implements ModelComponentGenerator<ModelComponent>
VisibleBase.DisplayPreference
Modifier and Type | Method and Description |
---|---|
ForceBase |
clone() |
abstract ModelComponent |
createComponent(java.io.File geometryPath,
ModelComponentMap componentMap)
Creates and returns a model component, using the provided component map
to look up other dependent objects.
|
boolean |
getAppliesForce() |
boolean |
isDisabled() |
void |
setAppliesForce(boolean set) |
void |
setDisabled(boolean set) |
createRenderProps, getVisibleObject, setVisibleObject
getColor, getDisplayPreference, getOpacity, setColor, setDisplayPreference, setOpacity
public boolean isDisabled()
public void setDisabled(boolean set)
public boolean getAppliesForce()
public void setAppliesForce(boolean set)
public ForceBase clone()
clone
in interface Clonable
clone
in class HasVisibleObject
public abstract ModelComponent createComponent(java.io.File geometryPath, ModelComponentMap componentMap)
ModelComponentGenerator
createComponent
in interface ModelComponentGenerator<ModelComponent>
geometryPath
- path to search for geometry filescomponentMap
- map for looking up other objects