public abstract class BondChecker extends ComponentChecker<MolBond>
errorType, propertyChangeSupportPROPERTY_KEY_VALID| Constructor and Description |
|---|
BondChecker(StructureCheckerErrorType errorType)
Constructor to create a Structure checker instance with the given errorType.
|
| Modifier and Type | Method and Description |
|---|---|
protected StructureCheckerResult |
createResult(Molecule molecule,
List<MolBond> bonds)
Creates a
StructureCheckerResult from a List containing the components. |
protected MolBond |
getComponent(Molecule molecule,
int i)
Gets the component from the molecule with index i.
|
protected int |
getComponentCount(Molecule molecule)
Gets the number of the components in the molecule
|
check, check1, initializeaddPropertyChangeListener, 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, toStringpublic BondChecker(StructureCheckerErrorType errorType)
errorType - element of StructureCheckerErrorTypeprotected int getComponentCount(Molecule molecule)
ComponentCheckergetComponentCount in class ComponentChecker<MolBond>molecule - the molecule to checkprotected MolBond getComponent(Molecule molecule, int i)
ComponentCheckergetComponent in class ComponentChecker<MolBond>molecule - the molecule to checki - the index of the componentprotected StructureCheckerResult createResult(Molecule molecule, List<MolBond> bonds)
ComponentCheckerStructureCheckerResult from a List containing the components.createResult in class ComponentChecker<MolBond>molecule - is a Molecule instancebonds - is an instance of List containing the problematic componentsStructureCheckerResult containing all problematic component indices