ColorSchemeCollective
public class ColorSchemeCluster extends ColorScheme implements ColorSchemeCollective
ColorScheme.Simple
Modifier and Type | Field | Description |
---|---|---|
protected Box |
box |
|
protected AtomNbrClusterer |
clusterer |
|
protected int[][] |
clusterSize |
|
protected int[] |
clusterSizeOrder |
|
protected java.awt.Color[] |
colors |
DEFAULT_ATOM_COLOR, defaultColor
Constructor | Description |
---|---|
ColorSchemeCluster(Box box,
AtomTest atomTest) |
Modifier and Type | Method | Description |
---|---|---|
void |
colorAllAtoms() |
Determine color of all atoms.
|
java.awt.Color |
getAtomColor(IAtom a) |
|
double |
getNbrMax() |
|
void |
setNbrMax(double nbrMax) |
getDefaultColor, main, setDefaultColor
protected final Box box
protected final AtomNbrClusterer clusterer
protected final java.awt.Color[] colors
protected final int[][] clusterSize
protected final int[] clusterSizeOrder
public void setNbrMax(double nbrMax)
public double getNbrMax()
public void colorAllAtoms()
ColorSchemeCollective
colorAllAtoms
in interface ColorSchemeCollective
public java.awt.Color getAtomColor(IAtom a)
getAtomColor
in class ColorScheme