Package chemaxon.checkers
Class BondChecker
- All Implemented Interfaces:
- StructureChecker,- chemaxon.license.Licensable,- PropertyChangeListener,- Cloneable,- EventListener
- Direct Known Subclasses:
- BondTopologyChecker,- CrossedDoubleBondChecker,- OverlappingBondsChecker,- QueryBondChecker,- ReactingCenterBondMarkChecker,- StraightDoubleBondChecker
Descentants of the abstract BondChecker class detect bond related problems.
- Since:
- Marvin 5.3
- 
Field SummaryFields inherited from class chemaxon.checkers.AbstractStructureCheckererrorType, propertyChangeSupportFields inherited from interface chemaxon.checkers.StructureCheckerPROPERTY_KEY_VALID
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedBondChecker(StructureCheckerErrorType errorType) Constructor to create a Structure checker instance with the given errorType.
- 
Method SummaryModifier and TypeMethodDescriptionprotected StructureCheckerResultcreateResult(Molecule molecule, List<MolBond> bonds) Creates aStructureCheckerResultfrom aListcontaining the components.protected MolBondgetComponent(Molecule molecule, int i) Gets the component from the molecule with index i.protected intgetComponentCount(Molecule molecule) Gets the number of the components in the moleculeMethods inherited from class chemaxon.checkers.ComponentCheckercheck, check1, initializeMethods inherited from class chemaxon.checkers.AbstractStructureCheckeraddPropertyChangeListener, addPropertyChangeListener, check, clone, cloneItem, convertResult, equals, expandMolecule, getDescription, getDescriptor, getEditorClassName, getErrorCode, getErrorDescription, getErrorType, getHelpText, getIcon, getLocalMenuName, getName, hashCode, isAvailable, isLicensed, isValid, propertyChange, removePropertyChangeListener, removePropertyChangeListener, setDescription, setHelpText, setIcon, setLicenseEnvironment, setLocalMenuName, setMoreErrorMessage, setName, setNoErrorMessage, setOneErrorMessage, toString
- 
Constructor Details- 
BondCheckerConstructor to create a Structure checker instance with the given errorType.- Parameters:
- errorType- element of- StructureCheckerErrorType
 
 
- 
- 
Method Details- 
getComponentCountDescription copied from class:ComponentCheckerGets the number of the components in the molecule- Specified by:
- getComponentCountin class- ComponentChecker<MolBond>
- Parameters:
- molecule- the molecule to check
- Returns:
- the number of the components in the molecule
 
- 
getComponentDescription copied from class:ComponentCheckerGets the component from the molecule with index i.- Specified by:
- getComponentin class- ComponentChecker<MolBond>
- Parameters:
- molecule- the molecule to check
- i- the index of the component
- Returns:
- the component
 
- 
createResultDescription copied from class:ComponentCheckerCreates aStructureCheckerResultfrom aListcontaining the components.- Specified by:
- createResultin class- ComponentChecker<MolBond>
- Parameters:
- molecule- is a- Moleculeinstance
- bonds- is an instance of- Listcontaining the problematic components
- Returns:
- a StructureCheckerResultcontaining all problematic component indices
 
 
-