Package chemaxon.checkers.result
Class BondLengthCheckerResult
java.lang.Object
chemaxon.checkers.result.DefaultStructureCheckerResult
chemaxon.checkers.result.BondLengthCheckerResult
- All Implemented Interfaces:
StructureCheckerResult
Bond angle checker result. Contains information to identify, visualize, and fix bond angle errors in 2D structures.
- Since:
- Marvin 6.4
-
Constructor Summary
ConstructorDescriptionBondLengthCheckerResult
(StructureChecker source, List<MolAtom> atoms, List<MolBond> bonds, Molecule molecule, chemaxon.calculations.clean.fixers.MoleculeCheckerFixer.WrongLengthBonds wrongLengthBonds, String description, String name, String localMenuName, String helpText, Icon icon) Constructor which initialize all the properties. -
Method Summary
Modifier and TypeMethodDescriptionboolean
chemaxon.calculations.clean.fixers.MoleculeCheckerFixer.WrongLengthBonds
Returns the internal representation of the bond length checker result, which contains all information required to fix bond length errors.int
hashCode()
Methods inherited from class chemaxon.checkers.result.DefaultStructureCheckerResult
convert, getAtoms, getBonds, getDescription, getErrorCount, getErrorDescription, getErrorType, getHelpText, getIcon, getLocalMenuName, getMolecule, getName, getSource, setAtoms, setBonds, setMolecule, toString
-
Constructor Details
-
BondLengthCheckerResult
public BondLengthCheckerResult(StructureChecker source, List<MolAtom> atoms, List<MolBond> bonds, Molecule molecule, chemaxon.calculations.clean.fixers.MoleculeCheckerFixer.WrongLengthBonds wrongLengthBonds, String description, String name, String localMenuName, String helpText, Icon icon) Constructor which initialize all the properties. errorType property isStructureCheckerErrorType.EXPLICIT_H
by default.- Parameters:
source
- is theStructureChecker
instance which identified the problematoms
- aList
ofMolAtom
which contains the affected atoms of the problembonds
- aList
ofMolBond
which contains the affected bonds of the problemmolecule
- is aMolecule
instance which contains the described problemdescription
- is short information about the problemwrongLengthBonds
- the internal representation of bond length checker resultname
- is the name of the checker which found the described problemlocalMenuName
- is aString
which should be shown in the local menu of Marvin SketchhelpText
- is help message for the problemicon
- is an instance ofIcon
which will be shown in Marvin Sketch checker dialogs
-
-
Method Details
-
getWrongLengthBonds
public chemaxon.calculations.clean.fixers.MoleculeCheckerFixer.WrongLengthBonds getWrongLengthBonds()Returns the internal representation of the bond length checker result, which contains all information required to fix bond length errors.For internal use only.
- Returns:
- the internal representation of the bond length checker result
-
equals
- Overrides:
equals
in classDefaultStructureCheckerResult
-
hashCode
public int hashCode()- Overrides:
hashCode
in classDefaultStructureCheckerResult
-