Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.xmlcml.cml.mvc
Class MoleculeEvent  view MoleculeEvent download MoleculeEvent.java

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.xmlcml.cml.mvc.MoleculeEvent
All Implemented Interfaces:
java.io.Serializable

public class MoleculeEvent
extends java.util.EventObject

base class for Events related to CMLMolecule input


Field Summary
protected  org.xmlcml.cml.CMLAtom atom
           
protected  org.xmlcml.cml.CMLBond bond
           
protected  java.lang.String message
           
protected  org.xmlcml.cml.CMLMolecule molecule
           
static java.lang.String MOLECULE_READ
           
static java.lang.String MOLECULE_SELECTED
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MoleculeEvent(java.lang.Object source)
           
 
Method Summary
 org.xmlcml.cml.CMLAtom getAtom()
           
 org.xmlcml.cml.CMLBond getBond()
           
 java.lang.String getMessage()
           
 org.xmlcml.cml.CMLMolecule getMolecule()
           
 void setAtom(org.xmlcml.cml.CMLAtom atom)
           
 void setBond(org.xmlcml.cml.CMLBond bond)
           
 void setMessage(java.lang.String message)
           
 void setMolecule(org.xmlcml.cml.CMLMolecule molecule)
           
 java.lang.String toString()
          Converts the event to a String.
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MOLECULE_READ

public static final java.lang.String MOLECULE_READ
See Also:
Constant Field Values

MOLECULE_SELECTED

public static final java.lang.String MOLECULE_SELECTED
See Also:
Constant Field Values

message

protected java.lang.String message

molecule

protected org.xmlcml.cml.CMLMolecule molecule

atom

protected org.xmlcml.cml.CMLAtom atom

bond

protected org.xmlcml.cml.CMLBond bond
Constructor Detail

MoleculeEvent

public MoleculeEvent(java.lang.Object source)
Method Detail

getMessage

public java.lang.String getMessage()

setMessage

public void setMessage(java.lang.String message)

getMolecule

public org.xmlcml.cml.CMLMolecule getMolecule()

setMolecule

public void setMolecule(org.xmlcml.cml.CMLMolecule molecule)

getAtom

public org.xmlcml.cml.CMLAtom getAtom()

setAtom

public void setAtom(org.xmlcml.cml.CMLAtom atom)

getBond

public org.xmlcml.cml.CMLBond getBond()

setBond

public void setBond(org.xmlcml.cml.CMLBond bond)

toString

public java.lang.String toString()
Description copied from class: java.util.EventObject
Converts the event to a String. The format is not specified, but by observation, the JDK uses: getClass().getName() + "[source=" + source + "]";.