chemaxon.checkers
Class QueryBondChecker

java.lang.Object
  extended by chemaxon.checkers.AbstractStructureChecker
      extended by chemaxon.checkers.ComponentChecker<MolBond>
          extended by chemaxon.checkers.BondChecker
              extended by chemaxon.checkers.QueryBondChecker
All Implemented Interfaces:
StructureChecker, chemaxon.license.Licensable, java.beans.PropertyChangeListener, java.lang.Cloneable, java.util.EventListener

public class QueryBondChecker
extends BondChecker

A descendant of BondChecker detecting query bonds.

Since:
Marvin 5.3
Version:
5.7
Author:
Attila Szabo
See Also:
MolBond.isQuery()

Field Summary
 
Fields inherited from class chemaxon.checkers.AbstractStructureChecker
errorType, propertyChangeSupport
 
Fields inherited from interface chemaxon.checkers.StructureChecker
PROPERTY_KEY_VALID
 
Constructor Summary
QueryBondChecker()
          Default constructor
 
Method Summary
protected  boolean check(Molecule molecule, MolBond bond)
          Checks if the component with index i has problem
 
Methods inherited from class chemaxon.checkers.BondChecker
createResult, getComponent, getComponentCount
 
Methods inherited from class chemaxon.checkers.ComponentChecker
check1, initialize
 
Methods 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, isValid, propertyChange, removePropertyChangeListener, removePropertyChangeListener, setDescription, setHelpText, setIcon, setLicenseEnvironment, setLocalMenuName, setMoreErrorMessage, setName, setNoErrorMessage, setOneErrorMessage, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueryBondChecker

public QueryBondChecker()
Default constructor

Method Detail

check

protected boolean check(Molecule molecule,
                        MolBond bond)
Description copied from class: ComponentChecker
Checks if the component with index i has problem

Specified by:
check in class ComponentChecker<MolBond>
Parameters:
molecule - is a Molecule instance
bond - the current component to check
Returns:
true if the component has problem, false otherwise