Class CDKAtomColors
java.lang.Object
org.openscience.cdk.renderer.color.CDKAtomColors
- All Implemented Interfaces:
IAtomColorer
Deprecated.
Gives a short table of atom colors for 3D display.
- Source code:
- main
- Belongs to CDK module:
- render
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAtomColor
(IAtom atom) Deprecated.Returns the CDK scheme color for the given atom's element.getAtomColor
(IAtom atom, Color defaultColor) Deprecated.Returns the CDK scheme color for the given atom's element, or defaults to the given color if no color is defined.
-
Constructor Details
-
CDKAtomColors
public CDKAtomColors()Deprecated.
-
-
Method Details
-
getAtomColor
Deprecated.Returns the CDK scheme color for the given atom's element.- Specified by:
getAtomColor
in interfaceIAtomColorer
- Parameters:
atom
- IAtom to get a color for- Returns:
- the atom's color according to this coloring scheme.
-
getAtomColor
Deprecated.Returns the CDK scheme color for the given atom's element, or defaults to the given color if no color is defined.- Specified by:
getAtomColor
in interfaceIAtomColorer
- Parameters:
atom
- IAtom to get a color fordefaultColor
- Color returned if this scheme does not define a color for the passed IAtom- Returns:
- the atom's color according to this coloring scheme.
-
JmolColors
provides more comprehensive color pallet for 3D