public class ColorSchemeLiquidVapor extends ColorScheme implements ColorSchemeCollective
ColorScheme.Simple
Modifier and Type | Field and Description |
---|---|
protected boolean |
doResetFilter |
protected java.awt.Color |
liquidColor |
protected AtomFilterCollective |
liquidFilter |
protected java.awt.Color |
vaporColor |
DEFAULT_ATOM_COLOR, defaultColor
Constructor and Description |
---|
ColorSchemeLiquidVapor(AtomFilterCollective liquidFilter) |
Modifier and Type | Method and Description |
---|---|
void |
colorAllAtoms()
Determine color of all atoms.
|
java.awt.Color |
getAtomColor(IAtom a) |
java.awt.Color |
getLiquidColor() |
java.awt.Color |
getVaporColor() |
void |
setDoResetFilter(boolean newDoResetFilter) |
void |
setLiquidColor(java.awt.Color newLiquidColor) |
void |
setVaporColor(java.awt.Color newVaporColor) |
getDefaultColor, main, setDefaultColor
protected java.awt.Color vaporColor
protected java.awt.Color liquidColor
protected final AtomFilterCollective liquidFilter
protected boolean doResetFilter
public ColorSchemeLiquidVapor(AtomFilterCollective liquidFilter)
public void setLiquidColor(java.awt.Color newLiquidColor)
public java.awt.Color getLiquidColor()
public void setVaporColor(java.awt.Color newVaporColor)
public java.awt.Color getVaporColor()
public void setDoResetFilter(boolean newDoResetFilter)
public void colorAllAtoms()
etomica.graphics.ColorSchemeCollective
colorAllAtoms
in interface ColorSchemeCollective
public java.awt.Color getAtomColor(IAtom a)
getAtomColor
in class ColorScheme