public class PseudoAtomChecker extends AtomChecker
AtomChecker
detecting pseudo atoms.MolAtom.isPseudo()
errorType, propertyChangeSupport
PROPERTY_KEY_VALID
Constructor and Description |
---|
PseudoAtomChecker()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
check(Molecule molecule,
MolAtom atom)
Checks if the component with index i has problem
|
protected StructureCheckerResult |
createResult(Molecule molecule,
List<MolAtom> atoms)
Creates a
StructureCheckerResult from a List containing the components. |
getComponent, getComponentCount
check1, initialize
addPropertyChangeListener, 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
protected boolean check(Molecule molecule, MolAtom atom)
ComponentChecker
check
in class ComponentChecker<MolAtom>
molecule
- is a Molecule
instanceatom
- the current component to checkprotected StructureCheckerResult createResult(Molecule molecule, List<MolAtom> atoms)
ComponentChecker
StructureCheckerResult
from a List
containing the components.createResult
in class AtomChecker
molecule
- is a Molecule
instanceatoms
- is an instance of List
containing the problematic componentsStructureCheckerResult
containing all problematic component indices