|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.checkers.result.DefaultStructureCheckerResult
public class DefaultStructureCheckerResult
This class is the default implementation of StructureCheckerResult
| Constructor Summary | |
|---|---|
DefaultStructureCheckerResult(StructureChecker source,
java.util.List<MolAtom> atoms,
java.util.List<MolBond> bonds,
StructureCheckerErrorType errorType,
Molecule molecule,
java.lang.String description,
java.lang.String name,
java.lang.String localMenuName,
java.lang.String helpText,
javax.swing.Icon icon)
Constructor which initialize all the properties. |
|
| Method Summary | |
|---|---|
void |
convert(Molecule molecule,
java.util.Map<java.lang.String,java.util.Map<? extends java.lang.Object,? extends java.lang.Object>> convertData)
This method converts the entities contained in this result according to the convertData. |
boolean |
equals(java.lang.Object obj)
|
java.util.List<MolAtom> |
getAtoms()
|
java.util.List<MolBond> |
getBonds()
|
java.lang.String |
getDescription()
|
StructureCheckerErrorType |
getErrorType()
|
java.lang.String |
getHelpText()
|
javax.swing.Icon |
getIcon()
|
java.lang.String |
getLocalMenuName()
|
Molecule |
getMolecule()
|
java.lang.String |
getName()
|
StructureChecker |
getSource()
|
int |
hashCode()
|
void |
setAtoms(java.util.List<MolAtom> atoms)
This method sets the atoms property |
void |
setBonds(java.util.List<MolBond> bonds)
This method sets the bonds property |
void |
setMolecule(Molecule molecule)
This method sets the molecule |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultStructureCheckerResult(StructureChecker source,
java.util.List<MolAtom> atoms,
java.util.List<MolBond> bonds,
StructureCheckerErrorType errorType,
Molecule molecule,
java.lang.String description,
java.lang.String name,
java.lang.String localMenuName,
java.lang.String helpText,
javax.swing.Icon icon)
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 problemerrorType - is an instance of StructureCheckerErrorType which identifies the problemmolecule - is a Molecule instance which contains the described problemdescription - is short information about 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 dialogs| Method Detail |
|---|
public StructureChecker getSource()
getSource in interface StructureCheckerResultpublic java.lang.String getHelpText()
getHelpText in interface StructureCheckerResultpublic java.lang.String getLocalMenuName()
getLocalMenuName in interface StructureCheckerResultpublic java.util.List<MolAtom> getAtoms()
getAtoms in interface StructureCheckerResultList of MolAtom which contains the affected atoms of the problempublic java.util.List<MolBond> getBonds()
getBonds in interface StructureCheckerResultList of MolBond which contains the affected bonds of the problempublic java.lang.String getDescription()
getDescription in interface StructureCheckerResultpublic Molecule getMolecule()
getMolecule in interface StructureCheckerResultpublic StructureCheckerErrorType getErrorType()
getErrorType in interface StructureCheckerResultStructureCheckerErrorType which is the errorCode of the problempublic java.lang.String getName()
getName in interface StructureCheckerResultStructureChecker found the problempublic javax.swing.Icon getIcon()
getIcon in interface StructureCheckerResultpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic void setAtoms(java.util.List<MolAtom> atoms)
StructureCheckerResult
setAtoms in interface StructureCheckerResultatoms - is a List of MolAtompublic void setBonds(java.util.List<MolBond> bonds)
StructureCheckerResult
setBonds in interface StructureCheckerResultbonds - is a List of MolBondpublic void setMolecule(Molecule molecule)
StructureCheckerResult
setMolecule in interface StructureCheckerResultmolecule - is a Molecule instance
public void convert(Molecule molecule,
java.util.Map<java.lang.String,java.util.Map<? extends java.lang.Object,? extends java.lang.Object>> convertData)
StructureCheckerResult
convert in interface StructureCheckerResultmolecule - the original molecule objectconvertData - is a map with String keys and Map values which contains
the convert related information
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||