public float getBlue(ElementEnum element) { switch (element.classification()) { case alkalineEarthMetal: case inertGas: case lanthanide: case transitionMetal: return 1.0F; case semimetallic: return 0.5F; default: return 0F; } }
public float getRed(ElementEnum element) { switch (element.classification()) { case actinide: case halogen: case lanthanide: case nonmetal: return 1.0F; case otherMetal: return 0.5F; default: return 0; } }
public float getGreen(ElementEnum element) { switch (element.classification()) { case alkaliMetal: case halogen: case inertGas: case otherMetal: case semimetallic: return 1.0F; case transitionMetal: case nonmetal: return 0.5F; default: return 0F; } }