public class BoxDeleteMolecules extends BoxActionAdapter
box
Constructor and Description |
---|
BoxDeleteMolecules(AtomFilter filter) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed()
Performs the action of deleting accept == false molecules, considering
all molecules in the box last given to setBox.
|
getBox, setBox
public BoxDeleteMolecules(AtomFilter filter)
filter
- determines the atoms that will be deleted by the action; those
for which filter.accept returns false are deleted