Class BondModifier

  extended by org.proteinshader.structure.visitor.modifiers.DrawableModifier
      extended by org.proteinshader.structure.visitor.modifiers.BondModifier

public class BondModifier
extends DrawableModifier

This helper class for the ModifierVisitor knows how to accept a Bond object and modify its attributes.

Currently, the BondModifier uses only the methods of its superclass, DrawableModifier. BondModifier was created partly because it is likely that methods specific to a Bond will be added in the future, but also because adding a BondModifier to the ModifierVisitor will affect the depth of the Visitor's traversal (there is no point in the ModifierVisitor traversing all the way to Bonds unless it has a BondModifier to use when it gets there).

Constructor Summary
          Constructs a BondModifier.
Method Summary
Methods inherited from class org.proteinshader.structure.visitor.modifiers.DrawableModifier
clear, clearColorChangeMemory, modify, scaleRadius, setAlpha, setAlphaToDefault, setColor, setColor, setRadius, setRadiusToDefault, setRGBAToDefault, setRGBToDefault, setSpecularExp, setSpecularExpToDefault, setVisibility
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public BondModifier()
Constructs a BondModifier.

Copyright © 2007-2008