AtomLeafAgentManager.AgentSource<java.awt.Color>
, ColorSchemeCollective
public class ColorSchemeNeighbor extends ColorSchemeCollectiveAgent
ColorScheme.Simple
DEFAULT_ATOM_COLOR, defaultColor
agentManager
Constructor | Description |
---|---|
ColorSchemeNeighbor(PotentialMasterList potentialMaster,
Box box) |
Modifier and Type | Method | Description |
---|---|---|
void |
colorAllAtoms() |
Determine color of all atoms.
|
IAtom |
getAtom() |
|
void |
setAtom(IAtom a) |
getDefaultColor, main, setDefaultColor
getAgentClass, getAtomColor, makeAgent, releaseAgent
public ColorSchemeNeighbor(PotentialMasterList potentialMaster, Box box)
public void colorAllAtoms()
ColorSchemeCollective
colorAllAtoms
in interface ColorSchemeCollective
colorAllAtoms
in class ColorSchemeCollectiveAgent
public void setAtom(IAtom a)
public IAtom getAtom()