Package chemaxon.checkers
Class PseudoAtomChecker
java.lang.Object
chemaxon.checkers.AbstractStructureChecker
chemaxon.checkers.ComponentChecker<MolAtom>
chemaxon.checkers.AtomChecker
chemaxon.checkers.PseudoAtomChecker
- All Implemented Interfaces:
StructureChecker,chemaxon.license.Licensable,PropertyChangeListener,Cloneable,EventListener
A descendant of
AtomChecker detecting pseudo atoms.- Since:
- Marvin 5.3
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThis public constantStringrepresents the name of the property which is responsible for the list of excluded pseudo atom labelsstatic final StringFields inherited from class chemaxon.checkers.AbstractStructureChecker
errorType, propertyChangeSupportFields inherited from interface chemaxon.checkers.StructureChecker
PROPERTY_KEY_VALID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanChecks if the component with index i has problemprotected StructureCheckerResultcreateResult(Molecule molecule, List<MolAtom> atoms) Creates aStructureCheckerResultfrom aListcontaining the components.booleanisValid()Returns true if the checker's configuration is valid, false otherwisevoidsetExcluded(AtomLabels excluded) Methods inherited from class chemaxon.checkers.AtomChecker
getComponent, getComponentCountMethods inherited from class chemaxon.checkers.ComponentChecker
check1, initializeMethods inherited from class chemaxon.checkers.AbstractStructureChecker
addPropertyChangeListener, addPropertyChangeListener, check, clone, cloneItem, convertResult, equals, expandMolecule, getDescription, getDescriptor, getEditorClassName, getErrorCode, getErrorDescription, getErrorType, getHelpText, getIcon, getLocalMenuName, getName, hashCode, isAvailable, isLicensed, propertyChange, removePropertyChangeListener, removePropertyChangeListener, setDescription, setHelpText, setIcon, setLicenseEnvironment, setLocalMenuName, setMoreErrorMessage, setName, setNoErrorMessage, setOneErrorMessage, toString
-
Field Details
-
PROPERTY_KEY_EXCLUDED
This public constantStringrepresents the name of the property which is responsible for the list of excluded pseudo atom labels- Since:
- 16.9.26
- See Also:
-
PROPERTY_KEY_SEARCH_EXCLUDED
- See Also:
-
-
Constructor Details
-
PseudoAtomChecker
public PseudoAtomChecker()Default constructor -
PseudoAtomChecker
-
-
Method Details
-
getExcluded
-
setExcluded
-
isValid
public boolean isValid()Description copied from interface:StructureCheckerReturns true if the checker's configuration is valid, false otherwise- Specified by:
isValidin interfaceStructureChecker- Overrides:
isValidin classAbstractStructureChecker- Returns:
- true if the checker's configuration is valid, false otherwise
-
check
Description copied from class:ComponentCheckerChecks if the component with index i has problem- Specified by:
checkin classComponentChecker<MolAtom>- Parameters:
molecule- is aMoleculeinstanceatom- the current component to check- Returns:
- true if the component has problem, false otherwise
-
createResult
Description copied from class:ComponentCheckerCreates aStructureCheckerResultfrom aListcontaining the components.- Overrides:
createResultin classAtomChecker- Parameters:
molecule- is aMoleculeinstanceatoms- is an instance ofListcontaining the problematic components- Returns:
- a
StructureCheckerResultcontaining all problematic component indices
-