public class EnclosedCompartment extends CellSection
CellSection that is bordered or enclosed by a Membrane.| Constructor and Description |
|---|
EnclosedCompartment(String identifier,
String name)
Creates a new EnclosedCompartment with the given identifier and name.
|
| Modifier and Type | Method and Description |
|---|---|
Membrane |
generateMembrane()
Tries to generate a
Membrane around the contents of this compartment. |
Membrane |
getEnclosingMembrane() |
void |
setEnclosingMembrane(Membrane enclosingMembrane) |
addNode, equals, getContent, getIdentifier, getName, hashCode, setContentpublic Membrane generateMembrane()
Membrane around the contents of this compartment. This methods looks for neighbours
that are not part of this compartment and generates the membrane following this border.public Membrane getEnclosingMembrane()
public void setEnclosingMembrane(Membrane enclosingMembrane)
Copyright © 2017. All rights reserved.