public class AromaticityCheckerResult extends DefaultStructureCheckerResult
DefaultStructureCheckerResult for identifying aromaticity problems,
thus errorType property is StructureCheckerErrorType.AROMATICITY| Constructor and Description |
|---|
AromaticityCheckerResult(StructureChecker source,
List<MolAtom> atoms,
List<MolBond> bonds,
Molecule molecule,
String description,
int aromataType,
String name,
String localMenuName,
String helpText,
Icon icon)
Constructor which initialize all the properties.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getAromataType()
Returns the type of the aromatization
|
int |
hashCode() |
convert, getAtoms, getBonds, getDescription, getErrorCount, getErrorDescription, getErrorType, getHelpText, getIcon, getLocalMenuName, getMolecule, getName, getSource, setAtoms, setBonds, setMolecule, toStringpublic AromaticityCheckerResult(StructureChecker source, List<MolAtom> atoms, List<MolBond> bonds, Molecule molecule, String description, int aromataType, String name, String localMenuName, String helpText, Icon icon)
StructureCheckerErrorType.AROMATICITY by default.source - is the StructureChecker instance which identified the problematoms - a List of MolAtom which contains the affected atoms of the problembonds - a List of MolBond which contains the affected bonds of the problemmolecule - is a Molecule instance which contains the described problemdescription - is short information about the problemaromataType - is the type of the aromatization method what the checker instance used to identify the problemname - is the name of the checker which found the described problemlocalMenuName - is a String which should be shown in the local menu of Marvin SketchhelpText - is help message for the problemicon - is an instance of Icon which will be shown in Marvin Sketch checker dialogspublic int getAromataType()
public int hashCode()
hashCode in class DefaultStructureCheckerResultpublic boolean equals(Object obj)
equals in class DefaultStructureCheckerResult